Commit graph

30 commits

Author SHA1 Message Date
5dfae0c45c Add task strip and Overview to navigation panel
In convergence mode, show a running-app icon strip in the navigation
panel using the existing TaskManager.TasksModel. Each icon activates
its window on click, with an indicator dot for the active window.

Replace the mobile task switcher button with a KWin Overview trigger:
add triggerOverview() to TaskPanel (D-Bus call to kglobalaccel), swap
the button icon to view-grid-symbolic, and enable the Overview effect
in the envmanager KWin config when convergence mode is active.

Wire convergenceMode and taskModel properties from
NavigationPanelComponent through to NavigationPanel so the task strip
populates from the existing TasksModel instance.
2026-04-08 19:07:37 +02:00
Micah Stanley
9bd4f0b747 GestureNavigation: Screen Rotation Popup Button
Implementation of a popup button to rotate the screen while using gesture navigation.

The button is set to appear when the device rotates while auto rotation is off. Then the button will be visible for a short period of time before disappearing.
2025-04-21 22:09:14 +00:00
Devin Lin
3d9ddbde15 navigationpanel: Add manual screen rotation button
When the device is rotated and autorotate is off, a button will appear
on the navigation panel to manually rotate.

This is specific to the navigation panel, perhaps we can have a floating
button in gesture-only mode similar to Android?

TODO: PoC, I haven't yet actually tested this on device. I also need to
make sure that I check for whether autorotation is enabled on the
output.
2024-11-09 17:24:23 +00:00
Devin Lin
2e6b9bfb7e taskpanel: Remove unused code 2023-11-13 22:37:08 -08:00
Devin Lin
eb03fe8c94 taskswitcher: Port to kwin effect 2023-03-13 22:07:32 -07:00
Laurent Montel
401620e365 Fix some qt6 compile errors 2022-04-24 13:44:41 +02:00
Devin Lin
635f86e02f taskpanel: Try to ensure dimension bindings are always set 2022-04-07 22:08:36 -04:00
Devin Lin
f861e2df3f mobileshell: Move KWayland related window functions to utility class 2022-04-06 17:18:20 -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
2d87bb3e65 taskpanel: Extract navbar and task switcher to components/mobileshell 2021-12-24 19:18:38 -05:00
Aleix Pol
4aa1bc3a8c Make it possible to move windows between screens if there's more than one 2021-09-10 00:29:28 +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
Vlad Zahorodnii
ab9f489b36 Remove unused forward declaration of PlasmaWindowModel 2021-03-25 10:09:48 +02:00
Alexander Lohnau
854742efcc
Run clang-format
If you want git blame to ignore formatting revisions run:
git config blame.ignoreRevsFile .git-blame-ignore-revs
2021-03-19 08:52:24 +01:00
Nicolas Fella
21a3bcafe4 Convert license headers to SPDX 2021-03-02 22:45:25 +01:00
Marco Martin
dd315d81e0 fixes to task switcher experience 2020-07-23 13:47:40 +02:00
Jonah Brüchert
47bcdee043 Modernize using clang-tidy 2018-12-31 04:13:55 +01:00
Marco Martin
834812e5d9 set plasma surface every time 2017-09-14 13:01:07 +02:00
Marco Martin
220f4f79e8 fix the close button
use the c++ part aain for hasCloseableActiveWindow
2016-09-03 10:27:12 +02:00
Marco Martin
a408c6f41d reintroduce c++ plugin
* no more randomly minimizing windows
* use showdesktop effect
* use directly kwayland for show desktop
2016-08-24 16:57:15 +02:00
Marco Martin
f79d82fe13 get rid of c++ plugin 2016-06-28 14:43:25 +02:00
Marco Martin
18b4af0def port to new libtaskmanager
almost entirely port the task switcher to the new
libtaskmanager. still needs porting
for the single close current window button
2016-06-27 18:34:20 +02:00
Marco Martin
1c8a653b1d slightly better bottom toolbar behavior 2016-01-12 17:16:26 +01:00
Marco Martin
1bd4990984 fix close button
enabled when it should, also use a qpointer to
remove some crashes
2016-01-05 17:29:43 +01:00
Marco Martin
8a45f67c4c ui experiment: keep all windows minimized
keep all windows minimized except the active one and minimize everything
when the task manager is open
2015-11-05 13:55:49 +01:00
Eike Hein
d5b6503797 Port to PlasmaWindowModel. 2015-06-24 22:54:20 +02:00
Martin Gräßlin
8f7f23321f Use KWayland protocol to close the active window
As a nice side-effect this allows us to enable/disable the close button
depending on whether we have a window to close.
2015-06-19 02:04:42 +02:00
Marco Martin
fdb34e9a74 async dbus call 2015-06-15 20:45:18 -07:00
Martin Gräßlin
5f2ffad357 Use PlasmaWindowManagement wayland interface to trigger showing desktop mode
Introduces new dependency on KWayland and uses it to try to resolve the
PlasmaWindowManagement interface. If available that's used to trigger
showing desktop state.
2015-06-13 18:26:20 +02:00
Marco Martin
0860194325 new bottom panel containment with close button 2015-06-11 15:35:46 -07:00