changing resoluton does not update wallpaper. "at startup" changes wallpaper unprompted. Backdrop playback only tracks in-focus window.
Hello, recently a very nice QOL feature was added to xfce: video-backdrop for wallpaper.
Merge request for the same: 90a6ae3e
I have been daily driving this exact commit of xfdesktop and have noticed some anomalies. I would like to report the same.
Issue Description
I have encountered a total of three problems in the build. two of these are non-serious bugs, the third is annoying.
- Wallpaper does not resize to the screen on changing resolutions
- On previous versions of xfdesktop, the stable version package by debian, the desktop wallpaper used to resize to the current resolution after resolution had been changed.
- Wallpaper changes once after roughly 2 seconds on using change background mode "at startup"
- Video backdrop only tracks current active window's fullscreen state.
- The support for pausing playback was added in the commit, problem is it tracks the current active window.
- If I have a fullscreen window open, and a floating window over it in focus, the background playback for video-backdrop resumes.
- Playback stops only when i either: A) switch focus to the fullscreen window or B) maximize the floating window that is in focus.
Steps to Reproduce Issue
-
Wallpaper does not resize to the window on changing resolutions
- Use any video/image as wallpaper
- Set style of wallpaper as any (centered, tiled, stretched, zoomed or scaled]
- Bug appears in all cases
- Change resolution after setting wallpaper.
- The wallpaper will be anchored to the top left and will be cropped / fill with black.
- What I mean is, if upscaled to a higher pixel count, the "newer" pixel will be filled with black.
- If downscaled to a lower pixel count, the wallpaper will maintain the original size and crop to file. Still anchored to the top left.
- Images of bug:
- Orignal 1280x720: https://files.catbox.moe/pio24o.jpg https://files.catbox.moe/5eoutr.jpg
- (Blackening) Changed to 1920x1080: https://files.catbox.moe/dwz2xb.jpg
- (Cropping) Changed to 640x480: https://files.catbox.moe/nqddam.jpg
- IF multiple images in wallpaper folder, do right click > Next Background
- On doing next background, the next image appears in correct place and size.
- On computer restart / logout and login, the wallpaper starts at correct size.
-
Wallpaper changes once after roughly 2 seconds on using change background mode "at startup"
- Use any resolution.
- Set wallpaper folder to something with multiple images.
- Turn on change wallpaper.
- Select change mode to "at startup"
- Wait 1 second.
- Wallpaper should automatically be changed without doing right click > next background. This happens only ONCE after selecting "at startup".
- Select any other change mode.
- Select "at startup"
- Wait 1 second, wallpaper changes automatically again. Once only, not more than once.
-
Video backdrop only tracks current active window's fullscreen state.
- Set a video-backdrop.
- Open any application and maximize it to fill screen.
- Open another application, and make it a floating window.
- Monitor playback in task manager, playback should start, xfdesktop starts CPU usage.
- Switch focus to fullscreen window.
- Playback stops.
- Without changing state of fullscreen window (no minimizing or moving window around), switch focus to floating window.
- Playback resumes.
- It seems xfdesktop is only tracking the current window's state.
Expected Behavior
- Resizing bug:
- The wallpaper should resize to the current resolution.
- One time wallpaper change with "at startup" mode:
- No change in wallpaper should occur on switching to this mode alone.
- Video backdrop working according to current window:
- Backdrop should be paused even if a single window is maximised in current workspace, rather than only tracking in-focus window.
Additional Information
Workarounds I am employing right now:
- I don't use the "at startup" mode.
- If I switch resolutions, I do "Next Background: " once.
- I am not using a video as my backdrop. Currently I am using a static image.
Environment & Versions
- OS distribution and version: Debian 13 Trixie amd64
- Overall Xfce version: xfce4/stable,stable,now 4.20.1 all [Packged by debian]
- xfdesktop version (git hash if not a release):xfdesktop version 4.20.1-dev- 90a6ae3e, running on Xfce 4.20
- thunar version (if issue related to file/launcher icons): No issues but 4.20.2
- Windowing system (X11/Wayland): X11
- Compositor and version (if Wayland): X11, xfwm4
- GTK Theme: McOS-XFCE-Edition-II-1 [changes gtk3, gtk2, xfwm4, xfce4-notifyd]
- Icon Theme: GNOME [Default Provided icon set in debian xfce]
- UI Scale Factor: 1
- DPI: unchanged default 95
Extra notes:
To compile and use xfdesktop from scratch, I had to also compile the following packages:
libxfce4ui
libxfce4windowing
xfdektop itself
Current items in /usr/local/bin:
aashu@debian:/usr/local/bin$ ls iriunwebcam xfce4-about xfce-open xfdesktop-settings ryzenadj xfce-desktop-item-edit xfdesktop Xrain