Commit graph

24 commits

Author SHA1 Message Date
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
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
02bc67af81 taskswitcher: add delay for tasks reordering 2022-04-29 00:00:17 +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
Yari Polla
de1b92e0c2 taskswitcher: add support for task reordering based on opening history 2022-04-13 15:04:55 +02: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
84440498e0 taskswitcher: Fix double KWin & containment animation with windows
Fixes #136
2022-04-11 16:19:16 -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
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
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
76b923f48d taskswitcher: Close if window has popped up in front 2021-12-28 21:56:40 -05:00
Devin Lin
6e658fee1a taskswitcher: Cleanup 2021-12-27 19:58:21 -05:00
Devin Lin
a75349f93e taskswitcher: Add icon behind thumbnail preview in case it doesn't load 2021-12-27 13:07:34 -05:00
Devin Lin
2f27eb848d taskswitcher: Fix tapping outside of delegate to close 2021-12-27 10:05:05 -05:00
Devin Lin
1c81cd34b4 taskswitcher: Rewrite without listview and extract state to TaskSwitcherState 2021-12-27 01:35:24 -05:00
Devin Lin
54f10f9f13 mobileshell/taskswitcher: Remove unneeded gesture area 2021-12-25 13:33:40 -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
Renamed from containments/taskpanel/package/contents/ui/TaskSwitcher.qml (Browse further)