Skip to content

Snap horizontal viewport to columns, including gaps, during swipes #307

@winteriscariot

Description

@winteriscariot

Steps to reproduce:

  • open 1 window in an empty workspace, i use firefox. set it to fullscreen (super+f)
  • open 2nd window in same workspace, I used Gnome Extension app. this should create a separate column to the right of firefox, pushing the firefox window to the left a bit
  • swipe left-to-right to go back to firefox: you'll see the viewport snap to the window edge, NOT the gap edge, leaving the left edge of the window in the right column visible

It seems that the current behavior of horizontal viewport (that is, going right and left between columns) while using 3 finger gestures, is to snap to the edge of the window after swiping left or right. Since the default config is to use window gaps (I prefer them myself) this means that the edge of the window it snaps to has no gap, meaning there's more space on the opposite side, and you can see the edge of the window in the column just to the right:

image

This becomes especially noticeable when you have multiple columns with split-width layouts (ie, no fullscreen). there doesn't seem to be any way to get the viewport to "snap" to the columns, meainng you can arbitrarily sit with portions of windows (ie columns) hanging off-screen

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesirable behaviorcan't reproduceIssue doesn't happen on our endno longer valid?Issues that are suspected to be no longer valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions