Repository navigation
wallpaper: scroll the dash grid freely and add a paged grid layout - #4130
Merged
Merged
Conversation
The dash wallpaper grid paged with a snapping list. A mouse wheel notch only moved it a few pixels and it sprang back unless the wheel passed half a page, so browsing meant scrolling a full page at a time. The Grid layout is now one scrolling grid over all wallpapers, using the same scrolling as the plugin browser. It keeps the saved "grid" value, so existing configs need no migration. Opening the tab scrolls to the selected wallpaper, and PageUp/PageDown move by one screen. The old pager stays as the new Paged grid layout, where one wheel notch now flips one page and a shorter last page keeps a valid selection. Both grids share one thumbnail delegate.
Member
|
/claude review |
Contributor
Claude reviewNo issues found. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR changes the wallpaper dash so it can be scrolled freely. Before, it was only possible to change the pages (in grid mode) and it was required to scroll at least half the page for it to jump to the next page, if not it jumps back the the current one. I found this navigation a bit annoying to use so I implemented a free scrolling here.
The old page based grid stays available as a new "Paged grid" layout option next to grid and carousel, including the fix that one wheel notch now flips one page, so the jumping back is gone there as well. The footer keeps sort, folder and search in every layout. The page buttons (incl. go to page x) and the wallpaper count now only show in Paged grid and Carousel.
Type of change
Related issues
Screenshots / video
Checklist
I18n.tr()with translator context, reusing existing terms where possiblemake fmt, added/updated tests,make testpasses, andgo mod tidyis cleanmake lint-qmlwith no new warnings