Commit graph

87 commits

Author SHA1 Message Date
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
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
5a33b3b4d3 taskpanel: Fix property bindings such that we ensure we have the last say 2022-10-01 22:44:24 +02: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
f861e2df3f mobileshell: Move KWayland related window functions to utility class 2022-04-06 17:18:20 -04: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
fc818bcf7f Major refactor and smoothen alignment 2021-10-31 00:11:10 -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
a06bd89ec4 taskpanel: Put the controls at the right when on landscape mode
This way we don't lose otherwise precious screen real state on the
smaller
dimension.
2021-08-26 14:53:25 +02:00
Aleix Pol
441936186a Port to use the new org.kde.kwin.VirtualKeyboard.visible property
Makes it possible to properly display the keyboard state when the
keyboard is hidden but still active.
2021-07-21 22:16:04 +00:00
Marco Martin
8483bcbe0f fix controlling from the bottom panel 2021-05-04 12:46:27 +02:00
Devin Lin
9854558a1b Fix panel icon sizing
Ensure integer pixel margins
2021-03-05 18:50:48 -05:00
Devin Lin
b81d29d2c2 Change task panel down icon to symbolic 2021-03-04 18:44:07 -05:00
Aleix Pol
13f21bf23b Port to use IconItem again 2021-03-04 15:54:56 +00:00
Aleix Pol
31fceb18f8 Prioritise hiding the virtual keyboard
Now that the virtual keyboard appears right over the panel, change the
close window button to a hide button. When the virtual keyboard is
hidden, now you get the big X to close.
2021-03-04 15:54:56 +00:00
Nicolas Fella
21a3bcafe4 Convert license headers to SPDX 2021-03-02 22:45:25 +01:00
Noah Davis
ed4d713ffb Use Header colors for top panel
Apps use this colorset now. Not using this color set causes the top panel to look weird.
2021-02-28 00:23:21 -05:00
Devin Lin
d6dd1c1356 Task panel visual improvements 2020-10-24 16:46:45 +00:00
Marco Martin
775870852c remove dummy windowtask 2020-07-31 14:21:22 +02:00
Marco Martin
ef7a78cfe1 single mousearea on bottom 2020-07-31 14:20:55 +02:00
Marco Martin
0c3b152f99 color panel when startupfeedback is used 2020-07-30 12:39:13 +02:00
Marco Martin
5881d6be92 minimize animations 2020-07-28 12:30:13 +02:00
Marco Martin
ece092bf98 croll up homescreen when there are no tasks 2020-07-23 17:09:37 +02:00
Marco Martin
dd315d81e0 fixes to task switcher experience 2020-07-23 13:47:40 +02:00
Marco Martin
3f32a18b62 make use of HomeScreenControls 2020-07-22 17:17:10 +02:00
Marco Martin
76050a60bd minimize instead of showdesktop
keep all windows minimized except the active one
2020-07-22 14:22:39 +02:00
Marco Martin
ead97b2399 fix bottom gesture 2020-07-17 18:12:07 +02:00
Marco Martin
d4e443104a rework tasks switcher 2020-07-17 14:13:35 +02:00
Marco Martin
69ae5a1ba4 ensure taskswitcher is fullscreen 2020-07-17 11:17:18 +02:00