Skip to content

wip: Added touch scroll gestures support#421

Closed
Thesola10 wants to merge 1 commit intopaperwm:developfrom
Thesola10:touch-scroll
Closed

wip: Added touch scroll gestures support#421
Thesola10 wants to merge 1 commit intopaperwm:developfrom
Thesola10:touch-scroll

Conversation

@Thesola10
Copy link
Copy Markdown
Collaborator

This allows the user to scroll between windows by swiping on the topbar (or panel). This can be useful for convertibles, or desktops with touch screens.

@Thesola10
Copy link
Copy Markdown
Collaborator Author

Thesola10 commented Sep 28, 2022

This current implementation only catches the touch event on the topbar itself. If the gesture leaves the topbar area, it isn't cancelled for some reason, which leaves the workspace in a weird space until the next scroll or touchScroll event.

I guess I'd have to catch the gesture on the global desktop and check if it started on the topbar area, so the scroll gesture continues after leaving the area.

This likely also does not behave properly with "topbar follows monitor focus", it would probably just scroll the primary display even if the topbar is on the secondary display.

@paradajz
Copy link
Copy Markdown
Contributor

Is this configurable? I use this extension:
https://extensions.gnome.org/extension/1616/panel-scroll/

I'd hate to see PaperWM overriding that behaviour.

@Thesola10
Copy link
Copy Markdown
Collaborator Author

Thesola10 commented Sep 28, 2022

@paradajz

I'd hate to see PaperWM overriding that behaviour.

I don't think it will, this only changes response to touchscreen events, nothing else.

@Thesola10 Thesola10 changed the title Added touch scroll gestures support wip: Added touch scroll gestures support Nov 18, 2022
@walkiry
Copy link
Copy Markdown

walkiry commented Apr 27, 2023

Is this configurable? I use this extension: https://extensions.gnome.org/extension/1616/panel-scroll/

I'd hate to see PaperWM overriding that behaviour.

That's a nice extension, however, does not keep track of the order in which they are display, rather when they were displayed.

@smichel17
Copy link
Copy Markdown
Member

smichel17 commented May 5, 2023

I don't understand the purpose of this. What does it provide over 3 finger swipe (on wayland)?

@Thesola10
Copy link
Copy Markdown
Collaborator Author

Thesola10 commented May 6, 2023

It's for touch screens, not touchpads.

The three finger swipe doesn't exist on touchscreens.

@Thesola10 Thesola10 changed the base branch from gnome-42 to develop October 24, 2023 15:24
@Thesola10 Thesola10 closed this Oct 24, 2023
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.

4 participants