Devin Lin
a4989d4313
shell: Sync panel code with desktop
...
This allows us to use desktop panels in the future for convergence.
2023-11-13 22:11:50 -08:00
Devin Lin
ae0dc228a8
navigationpanel: Delete panel when in gesture-only mode
2023-10-20 22:46:31 -07:00
Devin Lin
a79290d010
taskpanel: Fix rotation position
2023-10-16 22:12:44 -07:00
Nate Graham
cc50aee72d
Remove versioning from PlasmaCore module imports
...
It's unneeded in Qt6 and can cause subtle issues.
2023-09-05 09:34:49 -06:00
Alexey Andreyev
127bbdf653
Port away from PlasmaCore and PlasmaExtras to Kirigami
...
See also:
https://pointieststick.com/2023/06/14/call-to-action-easy-porting-opportunity-in-plasma/
2023-07-25 01:13:52 +00:00
Devin Lin
25a513d829
panels: Port to plasma-framework changes
2023-06-12 20:49:54 -04:00
Devin Lin
14f3f07316
Convert more uses of QtGraphicalEffects to MultiEffect
2023-05-13 11:15:57 -04:00
Devin Lin
33771b4afd
homescreen: Fix zoom animation behaviour with windows
2023-03-26 11:22:14 -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
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