! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
multiple monitors going to sleep wake as mirrored
Display Settings


Description jorp 2020-02-07 17:11:39 CET

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.
Comment 1 jorp 2020-02-07 19:05:10 CET
more information:

I found the following after searching around:

Maybe this is an xorg issue?

Also, here's a related forum post:
Comment 2 jorp 2020-02-07 19:33:29 CET
Add more (maybe) relevant information:
Comment 3 jorp 2020-02-07 19:37:05 CET
and another related forum post:
Comment 4 jorp 2020-02-07 19:52:09 CET

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.
Comment 5 xaxazak 2020-02-27 09:50:28 CET
Also see:
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
Comment 6 xaxazak 2020-02-27 09:56:40 CET
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.
Comment 7 jorp 2020-05-13 16:27:31 CEST
(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.
Comment 8 Simon Steinbeiss editbugs 2020-05-14 01:29:14 CEST
Have you tried saving a display profile? This feature should restore the configuration.
Comment 9 Git Bot editbugs 2020-05-28 23:16:59 CEST
-- 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

Bug #16430

Reported by:
Reported on: 2020-02-07
Last modified on: 2020-05-28


Ali Abdallah
CC List:
5 users




Additional information