Devin Lin
5207c06a12
startupfeedback: Fix multi-screen behaviour
...
Fix the model screen filtering not working properly, and account for case when opened window is already active.
2024-07-15 20:53:42 +00: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
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
Nicolas Fella
0f99a3c8c1
Adapt to plasma-framework targets being renamed
2023-11-23 23:42:47 +01:00
Yari Polla
4f45654af6
Port mobileshell plugins to ecm_add_qml_module
2023-11-02 11:08:17 +00:00
Devin Lin
fe8537c618
kwin/convergentwindows: Update to latest KWin changes, and remove KWin maximize mode
...
Disabled per-screen window decorations for now, since it seems KWin removed the screen property: 83c38b0907
2023-03-26 11:48:37 -07:00
Devin Lin
e16bdea17e
mobileshellstate: Make sure DBus calls are async
2023-03-26 10:18:06 -07:00
Devin Lin
cadc5db962
mobileshellstate: Make lockscreen state DBus calls async
2023-03-26 10:03:11 -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
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
2d1610aaa2
mobileshell: Add constants singleton to reduce dependency on mobileshellstate
2023-03-18 22:06:48 -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
eb03fe8c94
taskswitcher: Port to kwin effect
2023-03-13 22:07:32 -07:00
Devin Lin
1dbb1c78f6
Port to Qt6/KF6
2023-03-03 06:01:23 +00: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
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
c6802da477
mobileshellstate: Ensure default value for notificationsWidget
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