Skip to content

Fixed slow linux wayland mouse wheel scrolling in grid view - #589

Merged
luisangelsm merged 1 commit into
YACReader:developfrom
Luke-239:wayland-scroll-fix
Aug 19, 2026
Merged

luisangelsm merged 1 commit into
YACReader:developfrom
Luke-239:wayland-scroll-fix

Conversation

@Luke-239

@Luke-239 Luke-239 commented Aug 16, 2026

Copy link
Copy Markdown

Fixed extremely slow mouse wheel scrolling in grid view on Linux Wayland. Click and drag and scrollbar were unaffected.

Confirmed the WheelHandler attached to GridView never received wheel events. It was still possible to scroll but whatever it fell back on did not work well, it required scrolling many more times (>10x) to move the same distance compared to the windows version.

Flow View already used MouseArea with an onWheel handler instead of WheelHandler and that worked so I changed grid view to use the same qml element for the main grid scroll and the info panel scroll. I was able to keep the actual scroll calculation exactly the same. I used the parent object size and filtered the other mouse buttons.

@Luke-239 Luke-239 changed the title Update GridComicsView.qml Fixed slow linux wayland mouse wheel scrolling in grid view Aug 16, 2026
Fix extremely slow mouse wheel scrolling in grid view on Linux Wayland
@luisangelsm

Copy link
Copy Markdown
Member

A really weird one. Thanks for investigating this. What version of Qt where you using?

@luisangelsm
luisangelsm merged commit 034c8e9 into YACReader:develop Aug 19, 2026
@luisangelsm

Copy link
Copy Markdown
Member

@Luke-239 This breaks scrolling in subviews like the continue reading list and the current comic banners.

@luisangelsm

Copy link
Copy Markdown
Member

Fixed here: 02cab88

@Luke-239

Copy link
Copy Markdown
Author

@luisangelsm Sorry I should have included this info upfront. And I apologize for breaking the scrolling subviews. Thanks for merging it and fixing.

KDE Plasma Version: 6.7.4
Qt Verison: 6.11.2
Kernel Version: 7.1.8-1-cachyos

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