Skip to content

wallpaper: scroll the dash grid freely and add a paged grid layout - #4130

Merged
purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:wallpaper-scrolling-grid
Nov 5, 2026
Merged

purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:wallpaper-scrolling-grid

Conversation

@Conava

@Conava Conava commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

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

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Screenshots / video

screenshot_2026-11-04_23-29-24 screenshot_2026-11-04_23-29-39

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dux-docs to document any new behaviors: https://github.com/duxlabs-dev/dux-docs

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.
@github-actions github-actions Bot added breaking feature fix ui Quickshell UI under quickshell/ labels Nov 4, 2026
@purian23 purian23 removed the breaking label Nov 5, 2026
@purian23

purian23 commented Nov 5, 2026

Copy link
Copy Markdown
Member

/claude review

@claude

claude Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: the scrolling DGridView and its revealIndex/currentIndex wiring, the itemsPerPage sentinel against pageItemCount/totalPages/flatIndex and layout switches, PageUp/PageDown and arrow keys in each layout, the paged wheel MouseArea (touchpad and click pass-through), the shared highlight and cell components, the hidden page controls in focusTargets and the footer Row, the new I18n string, deprecated shims, and idle cost (no new timers or processes). Model: claude-opus-5-5.

@purian23
purian23 merged commit d7c3b3b into duxlabs-dev:master Nov 5, 2026
4 checks passed
dux-ci Bot pushed a commit that referenced this pull request Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature fix ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants