Devin Lin
2801ad2d8e
actiondrawer: Use proper units and adjust sizing
2023-07-24 22:46:50 -04:00
Devin Lin
1963340d4f
Switch some uses of IconItem to Kirigami.Icon, and fix some theme porting
2023-07-24 22:24:23 -04:00
Alexey Andreyev
127bbdf653
Port away from PlasmaCore and PlasmaExtras to Kirigami
...
See also:
https://pointieststick.com/2023/06/14/call-to-action-easy-porting-opportunity-in-plasma/
2023-07-25 01:13:52 +00:00
Alexey Andreyev
2275e2d7dd
port QML to KSvg
...
Search and replace all the occurrences of Svg/FrameSvgItem/SvgItem
to their new implementation from KSvg.
Changes only namespace, API is the same
See also:
https://invent.kde.org/frameworks/ksvg/-/issues/1
2023-07-10 02:04:42 +03:00
Devin Lin
8a577f9a57
homescreens: Update API usage to match changes for Plasmoid & Containment
2023-06-12 19:58:17 -04:00
Devin Lin
14f3f07316
Convert more uses of QtGraphicalEffects to MultiEffect
2023-05-13 11:15:57 -04:00
Devin Lin
dffa0a9581
components: Port to MultiEffect
2023-05-12 22:07:48 -04:00
Devin Lin
12b9f1df9f
components: Add TextDropShadow
...
Introduce shadow component that uses MultiEffect from Qt 6.5
2023-05-12 19:43:24 -04:00
Devin Lin
3f74522241
statusbar: Fix loading
...
Seems Qt 6.5 has some behaviour changes regarding required properties, which prevented the status bar from loading.
Fixes https://invent.kde.org/teams/plasma-mobile/issues/-/issues/231
2023-05-12 19:05:00 -04:00
Alexander Lohnau
194b26c8a2
Port to new org.kde.coreaddons QML module
...
org.kde.kcoreaddons is part of KDeclarative and will be removed in the future
2023-05-07 14:47:22 +02:00
Devin Lin
2603f461e6
homescreens/halcyon: Fix list highlight within folder
2023-04-19 22:18:05 -07:00
Devin Lin
f2777c016f
startupfeedback: Remove debug message
2023-04-06 19:37:06 -07:00
Devin Lin
372626b786
taskswitcher: Restore status bar and navigation panel
2023-03-31 22:10:02 -07:00
Devin Lin
33771b4afd
homescreen: Fix zoom animation behaviour with windows
2023-03-26 11:22:14 -07:00
Devin Lin
cadc5db962
mobileshellstate: Make lockscreen state DBus calls async
2023-03-26 10:03:11 -07:00
Devin Lin
32af510193
actiondrawer: Revert flickable change
...
Reverts the flickable change from 238d8a78cf , it seems to cause the animation to reset when dragging from pinned -> full size.
2023-03-25 23:45:48 -07:00
Devin Lin
083481d971
taskswitcher: Expose visible state to DBus and hookup to homescreen anim
2023-03-24 23:29:40 -07:00
Devin Lin
5f93d0198e
homescreen: Activate animation after screen unlock
2023-03-24 21:27:52 -07:00
Yari Polla
238d8a78cf
components/mobileshell: resize flickables
2023-03-21 12:03:05 +01:00
Yari Polla
afd8f59b89
milou: make possible to use keyboard and fix scrolling
2023-03-20 17:12:19 +01:00
Yari Polla
2da1bb150f
components/gridview: simplify component
2023-03-20 15:12:55 +01:00
Yari Polla
31eeaee2cd
widgets/krunner: make scrollable
2023-03-20 14:26:55 +01:00
Devin Lin
4bdacff13c
taskswitcher: Account for shell panels in app preview
...
change
2023-03-19 22:17:44 -07:00
Devin Lin
0e4b1da9a1
volumeosd: Extract out singleton so that it's only loaded once in plasmashell
2023-03-19 21:10:49 -07:00
Devin Lin
f25840bfc2
mobileshellstate: Move to DBus API instead of trying to use shared QML context
...
This also allows us to trigger behaviour from other processes that import mobileshell
2023-03-19 18:32:52 -07:00
Devin Lin
3f309067ef
widgets/krunner: Restore milou
2023-03-19 17:06:16 +00:00
Devin Lin
6160280b0c
mobileshell: Dynamically load in heavy dependencies for singletons
2023-03-18 22:43:59 -07:00
Devin Lin
2d1610aaa2
mobileshell: Add constants singleton to reduce dependency on mobileshellstate
2023-03-18 22:06:48 -07:00
Devin Lin
95d1ec87b1
actiondrawer: Smoothen the brightness slider so that it doesn't jump when sending events
2023-03-18 20:05:44 -07:00
Devin Lin
b0d45d8409
statusbar: Cleanup and fix audio indicator not showing
2023-03-18 19:52:35 -07:00
Devin Lin
1449ea7b4e
homescreen: Port to use shared WindowPlugin for zoom anim
2023-03-18 19:34:35 -07:00
Devin Lin
76b3c4ec4d
mobileshell: Remove unused displaysmodel
2023-03-18 19:34:35 -07:00
Devin Lin
0c2f215a3f
startupfeedback: Restore trigger from Plasma
2023-03-18 19:01:48 -07:00
Devin Lin
da6e17f3f4
windowplugin: Use standardized way to know whether a window is showing and maximized
2023-03-18 18:48:49 -07:00
Devin Lin
2653e2d816
actiondrawer: Fix typo
2023-03-18 17:32:19 -07:00
Devin Lin
9560d784a8
startupfeedback: Refactor so that fade in effect can be used for startupnotifier
2023-03-18 17:31:13 -07:00
Devin Lin
79e99a9cfe
shellsettingsplugin: Extract out from mobileshell component
2023-03-18 12:28:28 -07:00
Devin Lin
9e8838834b
taskpanel: Cleanup remnants of old task switcher
2023-03-18 00:02:01 -07:00
Devin Lin
462d99b83f
quicksettings: Extract out from mobileshell into separate plugin
2023-03-16 19:44:36 -07:00
Devin Lin
158af43fd4
audio: Refactor applet and extract singleton to MobileShellState
...
The eventual goal is to have as few singletons with state as possible in the mobileshell component when it is imported into components such as the lockscreen.
This doesn't fully accomplish it, but moves the audio provider singleton to MobileShellState, which will eventually need to be prevented from importing into non plasmashell processes.
This also disables the sound feedback when changing volume, since it can be a source of lag when showing the applet.
2023-03-16 07:21:01 +00:00
Devin Lin
0775c56153
windowplugin: Extract out windowutil from mobileshell to separate plugin
...
This allows us in the future to use mobileshell without having the WindowUtil singleton loaded (which does a bunch of wayland calls that aren't necessary for most applications).
2023-03-15 15:12:23 +00:00
Devin Lin
eb03fe8c94
taskswitcher: Port to kwin effect
2023-03-13 22:07:32 -07:00
Yari Polla
f87c7c5526
homescreens/halcyon: switch page when trying to move out of the grids
2023-03-14 05:02:46 +00:00
Yari Polla
e21354bf63
quicksettings: add ability to enable/disable qs
2023-03-14 04:56:38 +00:00
Yari Polla
99d01f2d2a
components/GridView: reset highlight when dragging
2023-03-14 00:18:18 +00:00
Yari Polla
8c31f51ee6
components/GridView: implement highlight component
2023-03-14 00:18:18 +00:00
Yari Polla
b7ae754def
popupmenu: add license
2023-03-13 12:20:25 +00:00
Yari Polla
0640adc271
components/popupmenu: avoid showing maximised
2023-03-13 12:20:25 +00:00
Yari Polla
a2f6c51665
mobileshell/components: implement popup menu
2023-03-13 12:20:25 +00:00
Yari Polla
91bec04d9d
use IntervalAlignment from P5Support
2023-03-09 16:45:30 +01:00
Yari Polla
44f6d5e6d8
port one remaining datamodel to P5Support
2023-03-09 16:09:24 +01:00
Marco Martin
acd8605a4f
Port dataengine usage to plasma5support
...
DataEngines are deprecated and are being splitted in a (temporary lived)
compat library called plasma5support
2023-03-08 14:26:36 +01:00
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
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
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
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
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
Yari Polla
fb8494fec4
actiondrawer: add ability to open and expand quicksettings with one stroke
2022-05-25 03:03:21 +02:00
Devin Lin
2c61bb1723
kcm & taskswitcher: Add option to toggle application previews
2022-05-21 10:54:51 -04:00
Devin Lin
427c177a44
quicksettings: Remove debug message
2022-05-20 23:44:02 -04:00
Devin Lin
3e22b962f2
quicksettings: Fix enabled text always displaying "On"
2022-05-20 09:59:58 -04:00
Yari Polla
0368834d2c
components/marqueelabel: avoid useless double binding
2022-05-18 00:54:01 +00:00
Yari Polla
a2a9384bea
quicksettings: few other corrections
2022-05-17 00:55:31 +00:00
Yari Polla
47845000a7
quicksettings: bring back notification glow and well-positioned clock
2022-05-17 00:55:31 +00:00
Yari Polla
fa759eb79e
remove useless parameter
2022-05-17 00:55:31 +00:00
Yari Polla
b429b9c34e
quicksettings: few corrections for landscape view
2022-05-17 00:55:31 +00:00
Yari Polla
ab91a42e9e
quicksettings: fix media widget in landscape view
2022-05-17 00:55:31 +00:00
Yari Polla
ed0030eea3
quicksettings: fix landscape view
2022-05-17 00:55:31 +00:00
Yari Polla
ee951627b3
quicksettings: discern between portrait and landscape view
2022-05-17 00:55:31 +00:00
Yari Polla
166460f4c2
quicksettings: almost graphics fixes
2022-05-17 00:55:31 +00:00
Yari Polla
0f7dc0cf05
quicksettings: implement swipe view
2022-05-17 00:55:31 +00:00
Yari Polla
1ebd1ecefc
mediacontrolwidget: make playerItem loadable
2022-05-16 20:17:03 +02:00
Yari Polla
443662d2fd
mediacontrolwidget: use MarqueeLabel for title and artist
2022-05-16 20:15:48 +02:00
Yari Polla
6fabcea605
taskswitcher: binding fixes
2022-05-14 02:15:37 +00:00
Yari Polla
d22df8f6fa
taskswitcher: avoid double binding in thumbnail
2022-05-14 02:15:37 +00:00
Yari Polla
a462ad4263
taskswitcher: fixes for opening phase
2022-05-14 02:15:37 +00:00
Volker Krause
4b1c8dcc59
Use version-less macro for Qt6
2022-05-13 17:30:45 +02:00
Laurent Montel
bd95cd47a4
We depend against qt5.15
2022-05-13 08:36:53 +02:00
Laurent Montel
322e23614c
Fix compile against qt5
2022-05-13 08:35:29 +02:00
Laurent Montel
0636309578
databaseChanged is deprecated => in code we export "apps" by default
...
=> we can port it.
now all compile fine in qt6
2022-05-13 08:32:52 +02:00
Laurent Montel
2da23eae0a
Adapt build system for building against qt6
2022-05-13 08:27:13 +02:00
Devin Lin
5f127460c7
kcm: Fix vibration intensity property setting
2022-05-05 21:25:36 -04:00
Devin Lin
9a575ad42e
kcm: Add vibration intensity and duration
2022-05-05 21:02:18 -04:00
Yari Polla
fc300d1a28
taskswitcher: implement left/right swipe gesture
2022-05-03 01:38:42 +02:00
Yari Polla
26aaa808b0
taskswitcher: disable input handlers while in gesture
2022-05-03 01:38:32 +02:00
Yari Polla
863485075c
quicksettings: remove unused rightPadding property in MarqueeLabel
2022-04-30 15:16:02 +00:00
Yari Polla
e0ce7f3cec
components: fix MarqueeLabel
2022-04-30 15:16:02 +00:00
Devin Lin
ce06af0e8a
Fix some animations not following setting
2022-04-30 11:07:07 -04:00
Devin Lin
62e7dce24a
kcm: Add reduced animation mode
...
Implement #190 reduced animations mode
2022-04-29 20:02:37 -04:00
Devin Lin
2201ebd1d7
Remove QtFeedback dependency
2022-04-29 18:59:14 -04:00
Devin Lin
3353cfc498
kcm: Add vibration setting for shell, and add vibrations
...
We can control shell vibrations from here, which can be replaced once there is a mechanism to control system-wide vibrations for QtFeedback.
2022-04-29 16:15:59 -04:00
Devin Lin
151bb9dbfc
quicksettings: Fix delegate text size regression
2022-04-28 20:15:13 -04:00
Yari Polla
02bc67af81
taskswitcher: add delay for tasks reordering
2022-04-29 00:00:17 +00:00
Yari Polla
8f1289139f
quicksettings: use MarqueeLabel for quicksettings status label
2022-04-28 21:04:19 +00:00
Yari Polla
6ebbf71ca1
components: implement marquee label component
2022-04-28 21:04:19 +00:00
Yari Polla
d75e8b6f78
taskswitcher: invert tasks ordering
2022-04-28 21:37:47 +02:00
Devin Lin
174843767f
taskswitcher: Remove requestLastActivatedReorderDelay calls
...
This was removed upstream https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1661
2022-04-26 14:13:52 -04:00
Laurent Montel
401620e365
Fix some qt6 compile errors
2022-04-24 13:44:41 +02:00
Yari Polla
de1b92e0c2
taskswitcher: add support for task reordering based on opening history
2022-04-13 15:04:55 +02:00
Devin Lin
f99e8ff037
homescreen: Don't animate if task switcher is visible
2022-04-11 17:43:38 -04:00
Devin Lin
4e95a4abc3
taskswitcher: Fix animations when opening from homescreen
2022-04-11 17:14:35 -04:00
Devin Lin
7871212461
mobileshell: Split out minimized geometry unset from window minimize
2022-04-11 16:47:20 -04:00
Devin Lin
8d43419803
taskswitcher: Use OutQuint animation curve for app activate animation
...
This feels less jumpy than InOutQuad
2022-04-11 16:34:25 -04:00
Devin Lin
84440498e0
taskswitcher: Fix double KWin & containment animation with windows
...
Fixes #136
2022-04-11 16:19:16 -04:00
Devin Lin
e120f19601
mobileshell: Remove active window timer length to be immediate
...
We don't need a long delay, the shortest possible one works as well.
2022-04-11 11:55:56 -04:00
Devin Lin
2deea1b4d0
components: Port Direction enum to c++ to improve load times
...
According to flame graph testing with qmlprofiler, this caused quite some overhead in QML.
2022-04-10 13:28:32 -04:00
Devin Lin
bbe9bbf94c
widgets/mediaplayer: Add support for controlling multiple media sources
...
Implement #135
2022-04-08 21:48:42 -04:00
Devin Lin
55efc9165e
widgets/notifications: Fix background clicking being on top of notifications
2022-04-08 17:02:25 -04:00
Devin Lin
b3884be926
actiondrawer: Dismiss on click on empty background area
2022-04-07 20:23:36 -04:00
Devin Lin
57192b772b
actiondrawer: Add restricted permission mode, and implement on lockscreen
2022-04-07 14:11:08 -04:00
Devin Lin
3969973e51
mobileshell: Refactor and collapse stackBefore and stackAfter into ShellUtil
2022-04-07 10:52:12 -04:00
Devin Lin
629b10486a
kcm: Use MobileShellSettings rather than custom implementation
2022-04-06 22:54:35 -04:00
Devin Lin
b905bafcb5
taskswitcher: Improve zoom animation and add cursor shape on tasks
2022-04-06 22:08:47 -04:00
Devin Lin
6830370b55
quicksettings: Scale animation on delegate tap
2022-04-06 21:55:06 -04:00
Devin Lin
3488d2b0f3
panel & taskpanel: Fix panel colour on homescreen when shell windows are open
...
Fixes #161
2022-04-06 21:18:47 -04:00
Devin Lin
3d9b344f52
taskswitcher: Add task zoom animation
2022-04-06 20:33:23 -04:00
Devin Lin
06b02473d6
homescreen: Fix zoom animation when going from homescreen to switcher
2022-04-06 20:33:06 -04:00
Devin Lin
192d36da46
quicksettings: Improve text contrast
2022-04-06 20:32:38 -04:00
Devin Lin
dd7bd6a18f
volumeosd: Fix settings launch
2022-04-06 20:32:23 -04:00
Devin Lin
c8a366cbbd
homescreen: Add scale animation when going to homescreen
2022-04-06 17:59:36 -04:00
Devin Lin
f861e2df3f
mobileshell: Move KWayland related window functions to utility class
2022-04-06 17:18:20 -04:00
Devin Lin
cec4f412d7
actiondrawer: Use higher quicksettings text contrast
2022-04-06 13:48:17 -04:00
Devin Lin
5e48cb1cc1
homescreen: Fix stackBefore call
2022-04-06 13:40:28 -04:00
Devin Lin
2e6c1f837e
homescreen: Collapse library into mobileshell and containment
2022-04-05 22:06:05 -04:00
Devin Lin
2f84b07bbc
quicksettings: Add save and update timers so kcm ordering is always correct
2022-03-21 10:25:45 -04:00
Devin Lin
210042a6bf
libmobileshell: Move back to QML plugin
...
Move from a C++ library + QML plugin to a QML plugin only for simplicity, since the homescreen switching architecture will be done from Plasma, and so use of the shell library only needs to be from QML.
2022-03-21 10:00:09 -04:00
Devin Lin
cf7e48e65c
components/mobileshell: Move to libmobileshell library
2022-03-16 23:20:51 -04:00
Devin Lin
4b53b4da5c
Revert "Add support for task reordering based on ordering history"
...
This reverts commit 3a09014754
2022-03-12 22:17:12 +00:00
Yari Polla
3a09014754
Add support for task reordering based on ordering history
2022-03-12 21:56:13 +01:00
Devin Lin
b92ba78e00
mobileshell: Move quicksettings to folder
2022-03-10 23:52:53 -05:00
Devin Lin
5e04c65550
Add option to toggle qt quick compiler
2022-03-10 22:40:21 -05:00
Devin Lin
e1d1f8ee1a
components/mobileshell: Use qrc and qtquickcompiler to improve load times
...
Also enables us to check for QML syntax errors and compile time.
2022-03-05 13:52:26 -05:00
Devin Lin
5cb056dd3e
actiondrawer: Darken landscape drawer background to be easier to read
2022-02-19 22:08:58 -05:00
Devin Lin
8f9f722ca7
navigationpanel: Add ability to toggle between gesture only and shown navigation panel modes
...
Addresses: https://invent.kde.org/plasma/plasma-phone-components/-/issues/140
2022-02-13 04:23:57 +00:00
Devin Lin
6d6b38ac46
quicksettings: Add status for mobile data not being available
2022-02-12 23:08:28 -05:00
Devin Lin
0131710c23
mmplugin: Use NM autoconnect instead of wwanEnabled for mobile data
...
Add supported function
fix
fix
fix
fix
fix
fix
fix
fix
cleanup
fix
fix
fix
fix
2022-02-12 23:08:23 -05:00
Devin Lin
d9719b8845
lockscreen: Refactor swipe and use mobileshell notification component
2022-02-12 00:19:44 -05:00
Devin Lin
dca8064ca2
actiondrawer: Use passed in notifications model and settings
2022-02-11 17:50:17 -05:00
Devin Lin
27015d1749
taskswitcher: Ensure window is in maximized state when activating
2022-02-11 13:12:56 -05:00
Devin Lin
0dae893cd2
taskswitcher: Remove global variable calls
2022-02-11 13:09:19 -05:00
Devin Lin
b323a83add
quicksettings: Make mobile data quick setting use NM API directly
2022-02-10 22:50:09 -05:00
Devin Lin
4b61f55b4a
homescreen: Only close app drawer after startup feedback is fullscreen
2022-01-14 23:48:34 -05:00
Devin Lin
e555a444aa
widgets/krunner: Fix keyboard focus being invoked on shell startup
2022-01-13 19:57:27 -05:00
Devin Lin
db29d4b236
widgets/krunner: No predictive text
2022-01-09 18:53:39 +00:00
Devin Lin
f7554adf8f
widgets/krunner: Ensure plasma style is being followed
2022-01-08 15:00:16 -05:00
Devin Lin
db8ab82778
widgets/krunner: Fix keyboard focus
2022-01-03 11:49:18 -05:00
Devin Lin
e46381fdb5
widgets/krunner: Fix icon name
2022-01-03 01:03:19 -05:00
Devin Lin
8f732c330f
actiondrawer: Fix widget references
2022-01-03 00:36:58 -05:00
Devin Lin
f22a1e0b8c
homescreen: Add search widget
2022-01-03 00:25:44 -05:00
Devin Lin
24b03d0e49
startupfeedback: Fix property call
2021-12-31 10:31:29 -05:00
Devin Lin
7c710d46f3
taskswitcher: Bring back task preview if it doesn't close within 3 secs
2021-12-31 00:18:35 -05:00
Devin Lin
3e8fa8f8e8
Fix licensing header
2021-12-30 19:51:51 -05:00
Devin Lin
57a4a28fe3
homescreen: Extract out state management to HomeScreenState and use single flickable
2021-12-30 19:49:08 -05:00
Devin Lin
46c1aa8fc8
startupfeedback: Ensure touch events don't go behind
2021-12-29 21:01:33 -05:00
Devin Lin
1d3ffa707d
startupfeedback: Optimize animation playback on slower devices with delay
2021-12-29 10:47:19 -05:00
Devin Lin
906c169f26
startupnotifier: Import and integrate into homescreen for performance
2021-12-29 00:08:32 -05:00
Devin Lin
76b923f48d
taskswitcher: Close if window has popped up in front
2021-12-28 21:56:40 -05:00
Devin Lin
516c690038
actiondrawer: Fix non-existent function call
2021-12-27 19:59:25 -05:00
Devin Lin
6e658fee1a
taskswitcher: Cleanup
2021-12-27 19:58:21 -05:00
Devin Lin
484e088508
actiondrawer: Reduce background opacity if no notifications are shown
2021-12-27 19:13:35 -05:00
Devin Lin
7adea6fd3d
actiondrawer: Ensure that new swipes always re-open the overlay
2021-12-27 19:03:00 -05:00
Devin Lin
fd88eb36e9
taskswitcher: Add darken effect for not centered tasks
2021-12-27 19:01:01 -05:00
Devin Lin
264de1b6df
taskswitcher: Apply scale on entire task list, rather than single task
2021-12-27 18:29:14 -05:00