Skip to content

Add ability to have no navigation bar, only using swipe gestures to navigate

Devin Lin requested to merge work/no-nav-bar into master

Addresses: https://invent.kde.org/plasma/plasma-phone-components/-/issues/140

Currently a proof of concept that allows us to have the navigation bar not shown to users, allowing us to have more screen real estate, and not have the (ugly) panel colour change when switching between apps.

I currently am using a feature of panels where you can set the visibilityMode to VisibilityMode::WindowsGoBelow of https://invent.kde.org/plasma/plasma-workspace/-/blob/master/shell/panelview.h from the initializing shell script.

I then have the invisible panel set to a very small height, just large enough to be able to detect gestures.

Main blocker is that I have no idea how to set this visibilityMode property from a kcm or from the taskpanel containment...

TODO:

  • Add ability for kcm to toggle the navigation bar (navigation bar shown by default)
  • Make gesture from the bottom on landscape
  • Ensure that navbar actions are gone when in no-nav-bar mode
Edited by Devin Lin

Merge request reports

Loading