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
c4472ca39a
Revert "taskswitcher: Improve performance of task preview loading"
...
This reverts commit 1ae83644c8 .
2022-12-08 21:35:29 -05:00
Devin Lin
1ae83644c8
taskswitcher: Improve performance of task preview loading
2022-12-08 21:24:33 -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
Aleix Pol
7b163661d5
PipeWireThumbnail, Record: Wayland handling doesn't belong in KPipeWire
2022-06-23 11:25:08 +02:00
Yari Polla
131c3bd911
taskswitcher/lockscreen: trim flick containers and optimise
2022-06-09 19:17:47 +02:00
Aleix Pol
b0e2065a63
PipeWireThumbnail: Port to KPipeWire
...
It's the same components just in a different place. No need to do much
porting.
2022-05-30 00:07:52 +00:00
Devin Lin
2c61bb1723
kcm & taskswitcher: Add option to toggle application previews
2022-05-21 10:54:51 -04:00
Yari Polla
6fabcea605
taskswitcher: binding fixes
2022-05-14 02:15:37 +00:00
Yari Polla
d22df8f6fa
taskswitcher: avoid double binding in thumbnail
2022-05-14 02:15:37 +00:00
Yari Polla
a462ad4263
taskswitcher: fixes for opening phase
2022-05-14 02:15:37 +00:00
Yari Polla
fc300d1a28
taskswitcher: implement left/right swipe gesture
2022-05-03 01:38:42 +02:00
Yari Polla
26aaa808b0
taskswitcher: disable input handlers while in gesture
2022-05-03 01:38:32 +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
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
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
84440498e0
taskswitcher: Fix double KWin & containment animation with windows
...
Fixes #136
2022-04-11 16:19:16 -04:00
Devin Lin
b905bafcb5
taskswitcher: Improve zoom animation and add cursor shape on tasks
2022-04-06 22:08:47 -04:00
Devin Lin
6830370b55
quicksettings: Scale animation on delegate tap
2022-04-06 21:55:06 -04:00
Devin Lin
3d9b344f52
taskswitcher: Add task zoom animation
2022-04-06 20:33:23 -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
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
7c710d46f3
taskswitcher: Bring back task preview if it doesn't close within 3 secs
2021-12-31 00:18:35 -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
fd88eb36e9
taskswitcher: Add darken effect for not centered tasks
2021-12-27 19:01:01 -05: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
cccde09f3d
taskswitcher: Remove QQC2.Control from Task to avoid touch conflicts
2021-12-27 18:02:41 -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