Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Plasma Mobile Plasma Mobile
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Plasma
  • Plasma MobilePlasma Mobile
  • Merge requests
  • !220

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Devin Lin requested to merge work/no-nav-bar into master Jan 09, 2022
  • Overview 8
  • Commits 7
  • Pipelines 18
  • Changes 27

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 Feb 11, 2022 by Devin Lin
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: work/no-nav-bar