Yari Polla
b866f6b70e
use new PointerDevice names
2023-03-06 22:32:37 +01:00
Yari Polla
8b5ec57d0b
explicitly declare signal handlers params
2023-03-06 14:09:54 +01:00
Yari Polla
2cf0d35f0c
Update file ActionDrawerOpenSurface.qml
2023-03-06 11:49:25 +00:00
Devin Lin
f7d51d851a
mobileshell: Remove nonexistent function call
2023-03-05 22:08:14 -08:00
Devin Lin
f65a7a1025
Disable QtFeedback
2023-03-05 12:53:09 -08:00
Devin Lin
97d549c34c
homescreens/folio: Port to plugin architecture
2023-03-05 09:39:44 -08:00
Devin Lin
60b8dc0eea
quicksettings: Fix not loading (Add KPackageStructure tag to meta)
2023-03-05 09:39:44 -08:00
Devin Lin
3bd81a68dd
widgets/krunner: Disable for now
2023-03-05 09:39:44 -08:00
Devin Lin
ebb49d89a3
osd/audio: Port to ItemDelegate
2023-03-05 09:39:44 -08:00
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
Devin Lin
1830b9dd2a
quicksettings/donotdisturb: Move do not disturb button to quick setting
2022-09-10 12:41:08 -04:00
Devin Lin
83790daccd
quicksettings/mobiledata: Add warning if APN is not configured
2022-09-09 23:37:15 -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
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
Devin Lin
74285d9261
mmplugin: Check for nullptr
2022-06-23 19:45:47 -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
Devin Lin
6ed9a7d65a
quicksettings: Move related files into folder
2022-06-18 17:14:21 -04:00
Devin Lin
b41e1f2b8a
homescreen: Start refactoring and cleaning
...
fix
2022-06-18 15:42:39 -04:00
Yari Polla
131c3bd911
taskswitcher/lockscreen: trim flick containers and optimise
2022-06-09 19:17:47 +02:00
Devin Lin
a173cf9b9d
homescreens/halcyon: Add new homescreen
2022-06-08 18:09:35 -04:00
Devin Lin
ee13948d37
tests: Add new folder for test snippets, and add QuickSettingsTest
2022-06-06 21:26:37 -04:00
Devin Lin
d6cc2918e0
widgets/notifications: Specify InvokeBehavior when invoking action
2022-06-06 20:39:16 -04:00
Devin Lin
f8049783af
quicksettings: Add simple and performant shadow to delegates
2022-06-03 19:36:44 -04:00
Devin Lin
221799828d
kcm: Add ability to customise mode of action drawer swipe down
2022-05-30 23:37:00 -04:00
Aleix Pol
55eadf0377
QuickSettings: Provide a small test app to run QuickSettings
...
It's useful to limit what you are testing.
2022-05-30 00:07:52 +00:00
Aleix Pol
ecd1515217
Add a Record QuickSetting
...
Allows to record the current output conveniently from the drop-down.
2022-05-30 00:07:52 +00:00
Aleix Pol
b0e2065a63
PipeWireThumbnail: Port to KPipeWire
...
It's the same components just in a different place. No need to do much
porting.
2022-05-30 00:07:52 +00:00
Devin Lin
7ecb92d3dd
actiondrawer: Improve openToPinnedMode to have drawer already maximized when dragging
2022-05-26 18:11:01 -04:00
Yari Polla
aa4ddf8afd
change property name
2022-05-25 18:13:29 +02:00