Commit graph

18 commits

Author SHA1 Message Date
Devin Lin
eb03fe8c94 taskswitcher: Port to kwin effect 2023-03-13 22:07:32 -07: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
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
fc300d1a28 taskswitcher: implement left/right swipe gesture 2022-05-03 01:38:42 +02:00
Devin Lin
62e7dce24a kcm: Add reduced animation mode
Implement #190 reduced animations mode
2022-04-29 20:02:37 -04: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
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
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
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
264de1b6df taskswitcher: Apply scale on entire task list, rather than single task 2021-12-27 18:29:14 -05:00
Devin Lin
1c81cd34b4 taskswitcher: Rewrite without listview and extract state to TaskSwitcherState 2021-12-27 01:35:24 -05:00