Commit graph

197 commits

Author SHA1 Message Date
Laurent Montel
ea2ccc4e4d Remove duplicate headers between cpp/h files 2022-12-19 13:29:20 +01:00
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
389ba43b16 quicksettings: Fix count property not being updated
Causes the ActionDrawer to have incorrect information when layouting.
2022-12-10 21:20:22 -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
Nicolas Fella
a0fe7284ee Add missing KPackage link 2022-11-28 13:10:21 +01:00
Devin Lin
146bccc57f actiondrawer: Fix call to non-existent property 2022-11-24 12:04:11 -05:00
Devin Lin
08e8435603 quicksettings: Remove location quicksettings
It doesn't have any functionality, and we don't have a path forward right now for determining how to toggle GPS hardware
2022-11-23 19:48:53 -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
7aaa6f4cd2 mobileshell: Use pointer for haptics 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
Willyanto Willyanto
37fc15f3ad Perform initialization in initialization list
Fix Minor - Variable is assigned in constructor body. Consider performing
initialization in initialization list. (CWE-398)
2022-10-14 17:39:08 +00:00
Volker Krause
b5e5debad3 Port away from deprecated KIO::JobUiDelegate API 2022-10-14 13:30:00 +00:00
Devin Lin
10dcf8b17a components/mobileshell: Ensure app pids are cleared 2022-10-12 19:30:18 -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
8c885bc699 quicksettings/record: Move record functions out of shellutil 2022-10-12 12:00:12 -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
c6feac9ce0 taskpanel: Remove keyboard button setting, only show when unsupported 2022-09-12 08:12:24 -04:00
Devin Lin
5899830917 actiondrawer: Swap default keyboard toggle and do not disturb locations 2022-09-11 20:26:16 -04:00
Devin Lin
2aaf5fca98 navigationpanel: Add force keyboard toggle, and add setting 2022-09-11 21:45:12 +00:00
Devin Lin
e9dad0651c quicksettings/donotdisturb: Fix incorrect package format 2022-09-10 13:56:01 -04: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
Aleix Pol
169cfc6354 QuickSettings: Make it possible for them not to be available
Makes it possible to QuickSettings components to only get listed if it
makes sense on the specific system.
2022-07-07 14:09:24 +00: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