Commit graph

162 commits

Author SHA1 Message Date
Devin Lin
c873dffce8 homescreen: Fix bottom margin in gesture mode 2022-12-10 22:05:25 -05:00
Devin Lin
1c82b58c11 actiondrawer: Load async 2022-12-10 21:40:33 -05:00
Devin Lin
ee4ba6815a homescreen: Fix binding loops caused by plasmoid changing dimensions 2022-12-10 21:40:21 -05:00
Devin Lin
bdcbe4d6f7 mobileshellstate: Heavily refactor to remove global shell margins to fix window binding loops
Having a global set margins and orientation (that were calculated from the panel containment) caused a lot of issues with the way bindings were evaluated across panels, and with high coupling.

Now use properties from within containments to determine shell margins instead, which removes the dependency on other containments for measurements. This allows us to get rid of TaskPanelControls as well!

Fixes: https://invent.kde.org/teams/plasma-mobile/issues/-/issues/198
2022-12-10 21:05:13 -05:00
Devin Lin
c4472ca39a Revert "taskswitcher: Improve performance of task preview loading"
This reverts commit 1ae83644c8.
2022-12-08 21:35:29 -05:00
Devin Lin
1ae83644c8 taskswitcher: Improve performance of task preview loading 2022-12-08 21:24:33 -05:00
Devin Lin
6314aaf4ae actiondrawer: Use simpler and more performant widescreen panel logic without clipping 2022-12-06 19:01:42 -05:00
Devin Lin
79798d57e7 actiondrawer: Introduce fix for black text even when opacity is 0 2022-12-05 11:12:45 -05:00
Devin Lin
79fe77eaea actiondrawer: Use Expo animations for pane movement 2022-12-04 12:09:00 -05:00
Devin Lin
146bccc57f actiondrawer: Fix call to non-existent property 2022-11-24 12:04:11 -05:00
Devin Lin
f4877406e3 shell: Update to new usage of FormComboBoxDelegate 2022-11-18 17:37:07 -05:00
Devin Lin
1d86723398 mobileshell: Fix haptics path 2022-11-12 11:15:36 -05:00
Devin Lin
df65a0e0f2 mobileshell: Remove compile time QtFeedback dependency, and make it optional 2022-11-12 11:15:36 -05:00
Devin Lin
7d3bf39750 mobileshell: Refactor and extract state to mobileshellstate plugin
This avoids mixing plasmashell state with our MobileShell component library (which really shouldn't have state at all).
2022-11-12 11:15:36 -05:00
Devin Lin
f85df674f1 quicksettings: Limit to 5 rows maximum on one page
Any more than that, and it gets disorienting for long phones.
2022-11-11 21:29:05 -05:00
Devin Lin
f4b15f922f components: Fix MarqueeLabel behaviour with new line characters 2022-10-27 20:09:46 -04:00
Devin Lin
06de6e416e statusbar: Don't use fractional font sizes 2022-10-27 20:01:16 -04:00
Devin Lin
a219c59a1f dataproviders: Fix mobile provider label 2022-10-23 15:16:46 -04:00
Devin Lin
867dc32df2 mmplugin: Flesh out update signals and behaviour 2022-10-23 12:12:40 -04:00
Devin Lin
f3a4913147 widgets/mediacontrols: Add ability to activate source app on tap 2022-10-12 18:10:08 -04:00
Devin Lin
7385ca9dca components/mobileshell: Add mechanism to keep track of and stop launched apps 2022-10-12 17:00:21 -04:00
Devin Lin
0c6f1a6649 navigationpanel: Fix incorrect property name reference 2022-10-01 22:43:32 +02:00
Yari Polla
838826b4fd homescreens: also close the search widget with Meta key 2022-09-27 16:01:09 +00:00
Devin Lin
ff51677daa quicksettings: Fix scrollview indicators 2022-09-24 17:34:57 -04:00
Devin Lin
2aaf5fca98 navigationpanel: Add force keyboard toggle, and add setting 2022-09-11 21:45:12 +00:00
Devin Lin
1830b9dd2a quicksettings/donotdisturb: Move do not disturb button to quick setting 2022-09-10 12:41:08 -04:00
Devin Lin
58afb6be1b statusbar: Don't show SignalStrengthIndicator if mobile data is being used
Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/142
2022-08-14 11:42:11 -04:00
Devin Lin
0bc1607893 statusbar: Rename WifiIndicator to InternetIndicator, and consolidate 2022-08-14 11:34:46 -04:00
Devin Lin
30312c4e7a taskswitcher: Bold clear button text 2022-07-22 20:17:02 -04:00
Yari Polla
7f78cc4ff6 taskswitcher: implement close all button
Hi, this implements a close all button for the task switcher.

Regarding the double check (`Clear All` -> `Are you sure?`), as far as I know, no system has such a feature for this kind of operation, at the moment, so take it as a proposal.
2022-07-21 15:13:42 +00:00
Yari Polla
b8bdcdd825 widgets/krunner: add ability to close the widget with a tap on an empty area 2022-07-13 21:17:44 +00:00
Devin Lin
620fd8a433 quicksettings: Fix row count calculation 2022-07-10 23:18:34 -04:00
Devin Lin
fbc644fced mobileshell: Implement base flickable with higher maximum swipe speed 2022-07-08 21:59:55 -04:00
Devin Lin
b7f1a5b379 homescreens/halcyon: Add drag and drop reordering of favourites 2022-06-29 00:22:42 -04:00
Devin Lin
4f3b9a1fae homescreens/halcyon: Fix gridview alignment, rename file to be more descriptive 2022-06-28 13:43:55 -04:00
Devin Lin
02bcf78742 homescreens/halcyon: Use ExtendedAbstractButton 2022-06-28 13:26:36 -04:00
Devin Lin
ba597e1de2 homescreens/halcyon: Turn off layer, and use handlers for grid delegates 2022-06-28 12:31:18 -04:00
Devin Lin
3a0a744051 quicksettings: Fix brightness slider alignment, and forced row count 2022-06-27 23:47:51 -04:00
Devin Lin
c4806c6fb5 navigationpanel: Cap width of buttons at 80% of panel 2022-06-27 21:47:15 -04:00
Devin Lin
e18d5f73ed osd/volume: Don't use padding in SwipeListItem to fix warnings 2022-06-27 17:29:34 -04:00
Devin Lin
5519abd82c navigationpanel: Properly cap width for wide screens 2022-06-27 17:28:41 -04:00
Devin Lin
eff9d3df9a homescreen: Don't play zoom animation when going between maximized window states 2022-06-27 16:53:40 -04:00
Devin Lin
d9fd104e08 lockscreen: Fix margins of notifications and centering 2022-06-25 14:38:47 -04:00
Devin Lin
0a76701af5 widgets/notifications: Use smaller button text, and adjust sizing
Fixes an issue where the ListView was sometimes not tall enough to hold the content despite the list not overflowing.

Also adjusts button text to be smaller.
2022-06-25 14:37:56 -04:00
Yari Polla
d8399e88be toppanel/notifications: add clean all and do not disturb
Hi, this MR adds "clear all" and "do not disturb" buttons to `NotificationsWidget`.

Few other corrections have been made:
 - Transitions should now work correctly, plus they can be disabled via `MobileShell.MobileShellSettings.animationsEnabled`;
 - Loaders are now asynchronous;
 - List items have now their own margins, in order to not clip their shadows.\

It only remains to implement a context menu to set do not disturb mode for a given period of time. I think it's a secondary feature on which we can work later, but in case tell me what to do.

Unfortunately I can't test the lockscreen on a phone at the moment, and I cannot take a performance test as well. It would be great if someone tested all these things, otherwise I'll provide as soon as possible.

Closes: https://invent.kde.org/plasma/plasma-mobile/-/issues/134
2022-06-25 12:35:15 -04:00
Aleix Pol
7b163661d5 PipeWireThumbnail, Record: Wayland handling doesn't belong in KPipeWire 2022-06-23 11:25:08 +02:00
Devin Lin
0deef11ba7 components: Attempt to fix some cyclic dependencies 2022-06-22 11:48:46 -04:00
Devin Lin
c3835b9a3b components: Use consistent documentation 2022-06-22 11:14:30 -04:00
Devin Lin
304ba155b6 components: Fix ExtendedAbstractButton pressAndHold 2022-06-22 10:48:59 -04:00
Devin Lin
9922c8d5d2 components: Introduce ExtendedAbstractButton, port homescreen to it 2022-06-21 18:38:21 -04:00