Since about two weeks the secondary display is not activated properly, it remains black. I can move windows that do appear there with Alt+space+<Move>, the mouse and movement cursor is visible.
If I tweak any knob in the settings that does affect the secondary display, it is instantly drawn.
Is there any log to report success/failure of all the actions required to enable both displays as required?
This could also be a bug in xfwm4 - at least running "xfwm4 --replace" fixed this problem for me when I saw this issue for the first time.
Did you recently upgrade xfwm4?
I run git.xfce.org#master since a few weeks, and update every other day to the current snapshot.
You are right, Alt+F2 and 'xfcm4 --replace' also fixes it. Looks like I can reproduce it 100%.
Is that at startup with the monitor already attached, or when hot-plugging a secondary monitor, or just by enabling/disabling the output using the xfce display settings?
And I am not convinced this is a bug in xfwm4, I suspect this could be a race between the settings manager adding/configuring the output at startup via xrandr, and xfwm4.
If adding/removing/reconfiguring outputs once the session has started works (as it seems it does), then xfwm4 is working as expected.
Could that be some recent changes in the session manager and the way it starts the different core components?
Essentially only xfwm4, xfce4-panel, and xfdesktop got updated. Not sure if GTK3 bug#550 also is related "Set a transparent
background for windows on X11#".
At least it worked now for three boots.
I spoke too soon. It may have worked once or twice, but I was on the road for a while.
Current workaround:
==> .config/autostart/xfwm4.desktop <==
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=xfwm4
Comment=xfwm4
Exec=xfwm4 --replace
OnlyShowIn=XFCE;
RunHook=0
StartupNotify=false
Can you try swapping the priorities between xfwm4 and xfsettingsd in the session.xml file so that xfsettingsd is started before xfwm4?
(currently xfwm4 has prio 15 and xfsettingsd has prio 20 in the session.xml, I'd rather try the opposite to see if that makes a difference, keeping the --no-deamon for xfsettingsd as well)
I think it makes a lot of sense to start xfsettingsd with the highest priority, because all other components depend on the settings applied by xfsettingsd and applying those after the other components have started is very expensive, clients have to reconfigure themselves, reload fonts, themes, relod xrandr configration, etc.
If we load the settings first, the apps do not need all that reconfiguration and therefore that speeds up the startup time.