Skip to content

feat(input): add four-finger workspace overview gesture - #2824

Open
abhighansala wants to merge 1 commit into
pop-os:masterfrom
abhighansala:feature/four-finger-workspace-overview
Open

feat(input): add four-finger workspace overview gesture#2824
abhighansala wants to merge 1 commit into
pop-os:masterfrom
abhighansala:feature/four-finger-workspace-overview

Conversation

@abhighansala

Copy link
Copy Markdown

Add four-finger swipe up to open the workspace overview and swipe down to close it, using the existing WorkspaceOverview system action.

What does this change do?

Adds four-finger vertical swipe gestures for the existing workspace overview:

  • Four-finger swipe up opens the workspace overview.
  • Four-finger swipe down closes the workspace overview.
  • Existing four-finger horizontal workspace navigation is unchanged.

Why?

COSMIC already provides a workspace overview and supports four-finger touchpad gestures for workspace navigation. This adds the corresponding vertical gesture for opening and closing the existing overview.

Implementation

The gesture is handled in cosmic-comp and uses the existing System::WorkspaceOverview action, so the compositor does not duplicate any workspace overview UI logic.

Testing

Tested locally with:

  • cargo fmt --check

  • cargo check

  • cargo build --release

  • git diff --check

  • Four-finger swipe up/down on the running COSMIC desktop

  • Existing four-finger horizontal workspace gestures

  • I have disclosed use of any AI generated code in my commit messages.

    • If you are using an LLM, and do not fully understand the changes it is making to the code base, do not create a PR.
    • In our experience, AI generated code often results in overly complex code that lacks enough context for a proper fix or feature inclusion. This results in considerably longer code reviews. Due to this, AI authored or partially authored PRs may be closed without comment.
  • I understand these changes in full and will be able to respond to review comments.

  • My change is accurately described in the commit message.

  • My contribution is tested and working as described.

  • I have read the Developer Certificate of Origin and certify my contribution under its conditions.

Add four-finger swipe up to open the workspace overview and swipe down to close it, using the existing WorkspaceOverview system action.

Checklist:
- [x] I have disclosed use of any AI generated code in my commit messages.
- [x] I understand these changes in full and will be able to respond to review comments.
- [x] My change is accurately described in the commit message.
- [x] My contribution is tested and working as described.
- [x] I have read the Developer Certificate of Origin and certify my contribution under its conditions.
@git-f0x

git-f0x commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Duplicate of #1799. Adding more gestures is held up by #396.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants