Skip to content

fix(wallpaper): redraw wallpaper layers when fill mode changes#2542

Merged
bbedward merged 1 commit into
AvengeMedia:masterfrom
jbwfu:fix/wallpaper-fill-mode-redraw
Jun 1, 2026
Merged

fix(wallpaper): redraw wallpaper layers when fill mode changes#2542
bbedward merged 1 commit into
AvengeMedia:masterfrom
jbwfu:fix/wallpaper-fill-mode-redraw

Conversation

@jbwfu

@jbwfu jbwfu commented May 31, 2026

Copy link
Copy Markdown
Contributor

Fix wallpaper not updating when fill mode changes.

Comment on lines +129 to +136
Connections {
target: SettingsData
function onWallpaperFillModeChanged() {
root._renderSettling = true;
renderSettleTimer.restart();
}
}

@jbwfu jbwfu May 31, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While testing this, I noticed an interesting side effect if the fill-mode redraw is only applied to WallpaperBackground and not BlurredWallpaperBackground. With Blur Wallpaper Layer enabled, the blurred duplicate can retain the previous composition while the main wallpaper switches to the new fill mode, which creates a surprisingly nice layered effect. I don't think it should block this fix, but it might be worth considering as an optional feature in the future.

  • desktop
Image
  • overview
image

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While testing this, I noticed an interesting side effect if the fill-mode redraw is only applied to WallpaperBackground and not BlurredWallpaperBackground. With Blur Wallpaper Layer enabled, the blurred duplicate can retain the previous composition while the main wallpaper switches to the new fill mode, which creates a surprisingly nice layered effect. I don't think it should block this fix, but it might be worth considering as an optional feature in the future.

  • desktop
Image * overview image

I meant this one, this fix addresses both blurred and non-blurred layer for me.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think this could be offered as an optional feature (like Blur wallpaper using a separate wallpaper mode), but it's reasonable to keep it consistent with the main wallpaper until it's determined whether that feature will be supported, so I fixed it in this PR.

What are your thoughts on this feature?

@bbedward bbedward merged commit a9845bf into AvengeMedia:master Jun 1, 2026
1 check passed
@bbedward

bbedward commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

I cant reproduce the blurred mode problem honestly, it might just be a matter of bumping the timer duration since it takes longer to draw with the blur

@jbwfu

jbwfu commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

I cant reproduce the blurred mode problem honestly, it might just be a matter of bumping the timer duration since it takes longer to draw with the blur

The reproduction steps are somewhat specific:

  1. Comment out the modifications I made in BlurredWallpaperBackground.qml.
  2. Set a relatively small image as the wallpaper (using "Tile" mode; other modes such as "Stretch" may also reproduce the issue).
  3. Toggle the "Blur wallpaper" feature once, ensuring it remains enabled.
  4. Set the wallpaper mode to "Pad".

Sorry, I'm having some trouble with my clipboard synchronization.

@jbwfu jbwfu deleted the fix/wallpaper-fill-mode-redraw branch June 1, 2026 14:50
@jbwfu

jbwfu commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

@bbedward Please follow the steps above; the problem should be reproducible.

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