-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MATE does not update wallpaper during monitor events when show-desktop-icons is set to false #335
Comments
I'm still experiencing this on 1.26.0 on Debian 12. (I had also experienced on Arch for quite some time and never reported.) I wrote a simple C program to verify that the GTK |
This implies some code for updating the wallpaper in Caja never made it into mate-settings-daemon, from
which the background is managed when Caja is not showing icons
|
Apologies for non-clarification, it in fact happens without Caja running in desktop mode (ie. as a bottom layer window). This setup assumes that we're running a desktop which doesn't have a "desktop" window. Just a pure X11 root window background. I assumed it was a supported use case since the daemon does indeed update the X11 root window, just not when any monitor events happen. PS: Or at least that's what I remember, because I haven't used this setup for at least 3 years now, sorry ;) |
Let me preface this by saying I am not familiar with GTK so I don't know if I'm testing this right. Nonetheless, I wrote this test program which prints the resolution and listens for monitor changes in the same way as MSD. The correct resolution is sometimes printed after changing monitor settings in Displays or after (dis)connecting a monitor. However, the background is only reliably updated when the monitor settings are changed. Example output with just connecting and disconnecting monitors:
I noticed that Caja's monitor change callback does not obtain screen size using the |
Note that the GdkScreen is (I believe since GTK 3.10) a superset of all monitors and is basically the smallest rectangle that can be drawn around all of the monitors in a multimonitor setiup. |
Expected behaviour
With the icons disabled (dconf), I expect that the wallpaper updates upon change in display configuration. Basically just redrawing the background of the root window (in case of X11) when an RRScreenChangeNotify event is recieved.
Actual behaviour
The wallpaper does not update when plugging in a video output or when I change the monitor settings through the Control Center.
Steps to reproduce the behaviour
MATE general version
1.24.0
Package version
1.24.0-1 (Arch default repository)
Linux Distribution
ArchLinux
Link to downstream report of your Distribution
None
Notes
I've already created an issue, just on a different component of MATE (that I thought was the culprit) and got redirected here.
Link to said issue: mate-desktop/mate-panel#1136
Also as I've mentioned in the previous post, this is not a default setup and involves using different desktop components (such as i3wm, a different compositor and so on)
The text was updated successfully, but these errors were encountered: