Skip to content

fix: increased hard-coded wallpapers limit from 100 to 500#1785

Draft
thegabriele97 wants to merge 1 commit into
pop-os:masterfrom
thegabriele97:patch-1
Draft

fix: increased hard-coded wallpapers limit from 100 to 500#1785
thegabriele97 wants to merge 1 commit into
pop-os:masterfrom
thegabriele97:patch-1

Conversation

@thegabriele97
Copy link
Copy Markdown

@thegabriele97 thegabriele97 commented Jan 24, 2026

Increase wallpaper directory load limit

This PR raises the hard-coded limit for loading wallpapers from a directory from 100 to 500.

fixes: #1356

The current limit of 100 is unnecessarily restrictive for users who use folders as wallpaper sources (e.g. slideshow-style setups) and is not configurable or user-visible, making the behavior appear unintended.

This change does not increase peak resource usage:

  • loading is already throttled via buffered(4)
  • images are processed incrementally

The increase improves usability while keeping the existing design and safeguards intact.

@mmstick
Copy link
Copy Markdown
Member

mmstick commented Feb 2, 2026

We should hold off on this until libcosmic has been rebased on iced 0.14, and cosmic-settings has also been rebased on that rebase of libcosmic. 500 images uses a lot of VRAM and CPU in the current version of iced used.

@mmstick mmstick marked this pull request as draft February 2, 2026 13:51
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.

Feature Request: Allow the Wallpapers section to use all of the available images inside a folder

2 participants