Commit graph

106 commits

Author SHA1 Message Date
Devin Lin
b79fe898d6 homescreens/halcyon: Fix regression causing flickable to not be interactive
Fixed regression from https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/542
2024-07-14 20:23:00 -04:00
Devin Lin
2d2b7407a6 startupfeedback: Change to be window based and controlled by a model
This makes the startup feedback more robust, by having instances be controlled by a model which can listen to window changes. Being window based also allows for the close button and gestures to work properly with it, since it will show up in the task switcher as well.

Fixes:
* https://invent.kde.org/plasma/plasma-mobile/-/issues/357
* https://invent.kde.org/plasma/plasma-mobile/-/issues/338
* https://invent.kde.org/plasma/plasma-mobile/-/issues/335 (dark themes now tint the background color)
* https://invent.kde.org/plasma/plasma-mobile/-/issues/330
* https://invent.kde.org/plasma/plasma-mobile/-/issues/30
2024-07-13 16:30:07 +00:00
Devin Lin
56ca0db5c6 homescreen: Add button to wallpaper selector to go to advanced settings
Currently you need to go from Settings -> "Switch between homescreens and more wallpaper options" to access the advanced wallpaper settings. Add a button directly into the wallpaper selector for this.
2024-07-05 02:53:26 +00:00
Devin Lin
5c53f9b6d2 windowplugin: Add per-screen support for WindowMaximizedTracker
Contributes to #317

This refactor changes WindowMaximizedTracker from being a Singleton, and allows for it to be created in a way such that screens can be filtered out.

This fixes external screens from having their homescreen "zoom out" when an app is maximized on another screen.
2024-06-26 00:44:31 +00:00
Devin Lin
e2e6590222 startupfeedback: Add support for multiple screens
Addresses https://invent.kde.org/plasma/plasma-mobile/-/issues/175
2024-06-23 16:48:32 +00:00
Devin Lin
1dbd1505dc shell: Move wallpaper selector to homescreens directly 2024-01-02 03:32:15 +00:00
Luis Büchi
cb2f857a4c increase size of grid items in halcyon homescreen 2024-01-01 23:17:08 +00:00
ivan tkachenko
22f7d490ba
Revert "Port away from PlasmaCore and PlasmaExtras to Kirigami"
This (partially) reverts commit 127bbdf653.

Only incorrect changes from Kirigami.Units.largeSpacing to
Kirigami.Units.gridUnit are reverted. Only Plasma.Units were buggy.
2023-11-08 21:16:19 +03:00
Yari Polla
4f45654af6 Port mobileshell plugins to ecm_add_qml_module 2023-11-02 11:08:17 +00:00
Devin Lin
580afdfc9c folio: Rewrite
fix landscape favourites bar drag and drop, and cleanup folder

fix drawer scrolling

add settings
2023-10-22 04:08:28 +00:00
Devin Lin
cf333bb784 homescreen: Fix opening configuration dialog 2023-09-27 22:38:54 -07:00
Devin Lin
f84715ec4c homescreens/halcyon: Fix favourite delegate sizing 2023-09-26 21:20:29 -07:00
Devin Lin
b0aa4db836 widgets/notifications: Fix notificationmanager import 2023-09-26 21:08:49 -07:00
Marco Martin
69dc189941 Make PlasmoidItem accessible from HomeScreen
it needs availableScreenRect which can be provided only from
PlasmoidITem
2023-09-20 14:41:40 +02:00
Marco Martin
42cccf8e7f port to Kirigami.Icon
Part of https://invent.kde.org/plasma/plasma-workspace/-/issues/82

PlasmaCore.IconItem will be removed; now only the kirigami icon
should be used.
2023-08-18 09:08:07 +00:00
Devin Lin
c3faca672d homescreens/halcyon: Update to latest unit sizing 2023-07-24 22:46:21 -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
Devin Lin
25a513d829 panels: Port to plasma-framework changes 2023-06-12 20:49:54 -04:00
Devin Lin
8a577f9a57 homescreens: Update API usage to match changes for Plasmoid & Containment 2023-06-12 19:58:17 -04:00
Devin Lin
380060b8ec homescreens/halcyon: Port from QtGraphicalEffects to MultiEffect 2023-05-12 19:43:49 -04:00
Devin Lin
75bf58bfb2 homescreens/halcyon: Fix favorite delegate height
It was changed originally to address PlasmaCore.Units.gridUnit having a different value in KF6 master, but it seems it was a bug and was fixed.
2023-05-12 18:59:36 -04:00
Devin Lin
d7bc385013 Port Kirigami.Action iconName to icon.name 2023-05-09 23:33:33 -04:00
Daniel Hofmann
54e9ced5b4 Increase interval to clock update from 1 second to 60 seconds.
This reduces energy consumption.
2023-04-24 15:30:31 +00:00
Devin Lin
5db71d3af0 homescreens/halcyon: Fix folder header padding 2023-04-11 22:25:04 -07:00
Devin Lin
6fbe8e7e64 homescreens/halcyon: Fix FolderGrid loading 2023-04-11 20:50:04 -07:00
Devin Lin
2af706d197 homescreens/halcyon: Fix some layouting issues and simplify 2023-04-10 22:16:43 -07:00
Devin Lin
88d9c066af kwin/mobiletaskswitcher: Restore touchscreen functionality to app activation 2023-03-30 23:05:27 -07:00
Yari Polla
16c66c161d Revert "halcyon: use the new menu popup"
This reverts commit a353e87e47.

This causes the homescreen delegates to no longer be draggable, and breaks the ability to reorder them
2023-03-30 22:25:22 -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
da6e17f3f4 windowplugin: Use standardized way to know whether a window is showing and maximized 2023-03-18 18:48:49 -07:00
Devin Lin
79e99a9cfe shellsettingsplugin: Extract out from mobileshell component 2023-03-18 12:28:28 -07:00
Yari Polla
ce89c2a000 homescreens/halcyon: fix dragging glitch while in folder view 2023-03-17 17:06:01 +01:00
Yari Polla
f647e12f25 homescreens/halcyon: avoid double direction dragging 2023-03-17 16:33:10 +01:00
Devin Lin
bd8de03230 homescreens/halcyon: Fix focus child connection 2023-03-16 23:41:19 -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
8d311ed97b windowplugin: Fix remaining references to old plugin 2023-03-15 08:20:15 -07: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
c3882691bc homescreens/Halcyon: trigger children using signals instead of focus property 2023-03-14 00:18:18 +00:00
Yari Polla
4fc8582da5 homescreen/halcyon: visual adjustments 2023-03-14 00:18:18 +00:00
Yari Polla
a414563c02 homescreens/halcyon: implement keyboard arrow navigation 2023-03-14 00:18:18 +00:00
Yari Polla
a353e87e47 halcyon: use the new menu popup 2023-03-13 12:20:25 +00:00
Yari Polla
4b5c6ca3f5 homescreens/halcyon: fix plasmoid activation 2023-03-12 21:36:40 +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
Devin Lin
9ff119282b homescreens/halcyon: Fix app icon during launch from favourites page 2023-03-06 23:03:46 -08: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
Devin Lin
716867475c homescreens/halcyon: Fix crash on favourite reorder 2023-03-05 23:06:35 -08:00