Commit graph

165 commits

Author SHA1 Message Date
Devin Lin
33771b4afd homescreen: Fix zoom animation behaviour with windows 2023-03-26 11:22:14 -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
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
Devin Lin
9e8838834b taskpanel: Cleanup remnants of old task switcher 2023-03-18 00:02:01 -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
Devin Lin
ad8f7cf99c Fix accidental commenting 2023-03-02 22:11:51 -08:00
Devin Lin
f0c756214a Port QtGraphicalEffects 2023-03-03 06:01:23 +00:00
Devin Lin
f913039b63 components: Remove splash screen close button support, due to crashing problems 2023-02-14 23:07:38 -08:00
Devin Lin
c02d6418a4 taskpanel: Don't overlay over top panel 2022-12-11 15:06:24 -05:00
Devin Lin
0d9b8e5207 taskpanel: Ensure thickness is enforced 2022-12-10 22:18:35 -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
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
7385ca9dca components/mobileshell: Add mechanism to keep track of and stop launched apps 2022-10-12 17:00:21 -04:00
Devin Lin
5a33b3b4d3 taskpanel: Fix property bindings such that we ensure we have the last say 2022-10-01 22:44:24 +02:00
Devin Lin
c6feac9ce0 taskpanel: Remove keyboard button setting, only show when unsupported 2022-09-12 08:12:24 -04:00
Devin Lin
2aaf5fca98 navigationpanel: Add force keyboard toggle, and add setting 2022-09-11 21:45:12 +00: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
a607fc2600 panel & taskpanel: Only opaque if windows are maximized 2022-06-27 14:52:16 -04:00
Devin Lin
635f86e02f taskpanel: Try to ensure dimension bindings are always set 2022-04-07 22:08:36 -04:00
Devin Lin
0235868fa1 taskpanel: Fix top panel offset in landscape 2022-04-06 23:30:11 -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
f861e2df3f mobileshell: Move KWayland related window functions to utility class 2022-04-06 17:18:20 -04:00
Devin Lin
72f36f1bf6 libmobileshell: Move non-API components to declarative and use PW API for keyboard
t
2022-03-18 22:59:42 -04:00
Devin Lin
df2eb79559 navigationpanel: Make opaque when keyboard is open
Addresses https://invent.kde.org/plasma/plasma-mobile/-/issues/163
2022-02-21 00:53:28 -05:00
Devin Lin
2fa24cd0e2 taskpanel: Ensure window color group is used, not header
It seems we had this set to the header color group for the longest time, which didn't actually work (it defaulted to the window color group). It appears to have been fixed, and so the issue surfaced.
2022-02-16 21:21:00 -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
3453760dd3 taskpanel: Fix close action 2022-02-12 09:36:34 -05:00
Devin Lin
906c169f26 startupnotifier: Import and integrate into homescreen for performance 2021-12-29 00:08:32 -05:00
Devin Lin
1c81cd34b4 taskswitcher: Rewrite without listview and extract state to TaskSwitcherState 2021-12-27 01:35:24 -05:00
Devin Lin
57175abcf4 taskpanel: Refactor and cleanup 2021-12-25 00:11:28 -05:00
Devin Lin
4057122fb0 taskswitcher: Move component to homescreen and remove popup window 2021-12-24 22:31:33 -05:00
Devin Lin
2d87bb3e65 taskpanel: Extract navbar and task switcher to components/mobileshell 2021-12-24 19:18:38 -05:00
Devin Lin
2db6d393dc Fix task jump 2021-10-31 15:40:39 -04:00
Devin Lin
daa40c0759 Fix scale calculation 2021-10-31 15:21:02 -04:00
Devin Lin
89c0477b8d Fix current index calculation, and refactor 2021-10-31 12:40:36 -04:00
Devin Lin
bb3b6959ac Fix activate 2021-10-31 00:14:50 -04:00
Devin Lin
fc818bcf7f Major refactor and smoothen alignment 2021-10-31 00:11:10 -04:00
Devin Lin
16615e37cb Ensure that homescreen is not showing when task switcher opens 2021-10-28 22:08:36 -04:00
Devin Lin
dcbdf8f101 Add overswipe gesture 2021-10-28 22:08:36 -04:00
Devin Lin
43c327655d Improve smooth offset behaviour 2021-10-28 22:08:36 -04:00
Devin Lin
90138d5442 Revamp task switcher 2021-10-28 22:08:36 -04:00
Aleix Pol
0cd4f91ec4 Port away from PlasmaComponents 2.0 on most places 2021-10-22 16:34:03 +00:00
Devin Lin
7df05e09be panel: Rework panel layout, and refactoring 2021-10-12 13:50:36 +00:00
Devin Lin
f599a6897d taskpanel: Make the vertical form factor offset a bit smaller. 2021-09-29 15:48:58 +00:00
Aleix Pol
1554008648 taskpanel: Use the form factor to define the position we are on
Instead of the panel state itself. That would arrive at different points
in the event and sometimes plasma would set the offset to the horizontal
panel. This should remove this case by only setting the offset when the
panel is in the state that needs it.
2021-09-29 15:48:58 +00:00
Aleix Pol
4bba6ac402 units -> PlasmaCore.Units 2021-09-13 18:59:35 +02:00
Aleix Pol
4aa1bc3a8c Make it possible to move windows between screens if there's more than one 2021-09-10 00:29:28 +00:00