Commit graph

267 commits

Author SHA1 Message Date
Devin Lin
f0c756214a Port QtGraphicalEffects 2023-03-03 06:01:23 +00:00
Devin Lin
1dbb1c78f6 Port to Qt6/KF6 2023-03-03 06:01:23 +00:00
Yari Polla
c07aa84f63 quicksettings: fix PaginateModel 2023-03-01 01:38:09 +01:00
Devin Lin
d2b5416513 kded: Add startup settings manager
This adds a new component that manages Plasma Mobile specific configuration on every session startup. It also restores configuration when logged into a desktop session. 

This allows us to remove https://invent.kde.org/plasma-mobile/plasma-phone-settings, as well as configuration that was set in the look and feel. This also gives us an easy way to control configuration upgrade paths, and in the future, add ways for the configuration to easily be reset for debugging purposes.
2023-02-23 16:43:38 +00:00
Devin Lin
f913039b63 components: Remove splash screen close button support, due to crashing problems 2023-02-14 23:07:38 -08:00
David Redondo
750d5581ef Revert "Show all headers in qtc6"
There was no consensus for this in Plasma.
This reverts commit c79ca828f3.
2023-01-24 08:51:18 +01:00
Laurent Montel
c79ca828f3 Show all headers in qtc6 2023-01-22 18:30:45 +00:00
Devin Lin
6b843da34b Ensure all packages have translations enabled 2022-12-19 12:39:51 -05:00
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
c6802da477 mobileshellstate: Ensure default value for notificationsWidget 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
ca671e1992 mmplugin: Cleanup signals 2022-10-23 15:33:47 -04:00
Devin Lin
a219c59a1f dataproviders: Fix mobile provider label 2022-10-23 15:16:46 -04:00
Devin Lin
bca3fb3626 mmplugin: Ensure variables are reset properly 2022-10-23 13:45:29 -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
31cb248a8a mmplugin: Add support for checking if a SIM is missing 2022-09-12 16:36:19 -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
a2170b4b3c mmplugin: Fix apn added request being true when no sim is inserted 2022-09-11 17:43:54 -04:00
Devin Lin
e9dad0651c quicksettings/donotdisturb: Fix incorrect package format 2022-09-10 13:56:01 -04:00