I'm not exactly sure if this is the proper classification for this bug, but it seems to fit best. [xfce4-power-manager 1.6.5]
Currently I'm running the Xfce spin of Fedora 31.
I have three identical monitors (ASUS VS239) and it seems that whenever they either are put to sleep or switched off (manually, or via the setting in xfce4-power-manager) when they wake, all displays are mirrored. This is noticeable from the lock screen (lightdm-gtk-greeter? using xfce4-screensaver 0.1.8-2 and other screensavers) and persists after logging in. Right now I have a keyboard shortcut set to run an xrandr script as my temporary workaround. After executing this script, windows are unfortunately appearing on whichever display they feel like, along with sometimes being out of ranger (I've been using right-click on the window button for a window and clicking 'move' to bring them back). I also have a profile set in xfce4-settings [4.14.1-2] display that seems to be ignored after unlock.
Locking/unlocking my workstation immediately or in short intervals does not cause a problem. This only happens after enough time passes when the screens actually go to sleep.
Please let me know if I can provide any additional information.
I found the following after searching around:
Maybe this is an xorg issue?
Also, here's a related forum post:
Add more (maybe) relevant information:
and another related forum post:
It doesn't seem to matter if the display is locked first before powering off the monitors in order to encounter this issue.
I just set these setting to on (both previously off) while having my current configuration saved to a profile:
xfce4-settings > Display > Advanced > Configure new displays > on
xfce4-settings > Display > Advanced > Automatically enable profiles when new display is connected > on
After powering the monitors back on, it looks like all the displays were in fact in the expected/correct position. However, most open windows seem to converge to one of three displays. When windows shift, they also seem to not respect the actual boundary of their newly assigned display, sometimes resulting in them being 'off-screen'.
I tried playing around with the order that monitors were powered on/off and along with which display was set as the primary, and was unable to figure out why windows were 'choosing' to converge to a particular display. I'm also not sure why some windows seem to stand their ground and remain on the original display assigned before powering off.
https://bugs.launchpad.net/ubuntu/+source/xfce4-settings/+bug/1716172 (it has a patch, easily 1-line-able, that provides an option to disable automatic changes that could be adapted for the current XFCE version)
My rant, with a few more links: https://forum.xfce.org/viewtopic.php?id=13784
Maybe change product to xfsettingsd as the relevant code is in xfsettingsd/displays.c (can I do this?)
Also maybe raise priority and/or severity as this affects many people, has been around for ages, is very annoying and time-wasting, and has a very simple fix.
(In reply to xaxazak from comment #6)
> Maybe change product to xfsettingsd as the relevant code is in
> xfsettingsd/displays.c (can I do this?)
> Also maybe raise priority and/or severity as this affects many people, has
> been around for ages, is very annoying and time-wasting, and has a very
> simple fix.
Thanks for that, I've moved it to xfce4-settings.
Have you tried saving a display profile? This feature should restore the configuration.
-- GitLab Migration Automatic Message --
This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/158.
Please create an account or use an existing account on one of our supported OAuth providers.
If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests
Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev