! 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 !
Disconnecting a display results in a broken or missing unlock dialog and reve...
Status:
RESOLVED: FIXED
Product:
Xfce4-screensaver
Component:
General

Comments

Description Simon Steinbeiss editbugs 2018-10-24 22:27:45 CEST
I have two external monitors connected to my laptop through a docking station.

If I disconnect my secondary displays (by undocking my laptop) I notice that the unlock dialog, which is only shown on one of the two external displays, doesn't automatically move to the only remaining - the internal laptop - display.
Instead, my session is revealed. I cannot interact with it, because there seems to be a transparent toplevel window or in any case my keyboard and mouse are grabbed. However, I have no way of unlocking my session.
When reconnecting my previous external setup, the unlock dialog shows up as before on one of the external displays and I can unlock normally.
Comment 1 Sean Davis editbugs 2018-10-25 12:00:30 CEST
It looks like we should be able to plug into the GdkScreen "monitors-changed" signal to detect connects/disconnects and redraw everything. I'll look into this sometime this week.
Comment 2 Git Bot editbugs 2018-10-26 01:28:11 CEST
Sean Davis referenced this bugreport in commit 52b2f4a25e8e35223d47c84c276a5e27d447e38d

Handle monitor change events more reliably (bug #14796)

https://git.xfce.org/apps/xfce4-screensaver/commit?id=52b2f4a25e8e35223d47c84c276a5e27d447e38d
Comment 3 Sean Davis editbugs 2018-10-26 01:28:59 CEST
@Simon, can you please test the above commit? I was able to reproduce your bug, and with the above patch, it seems to be resolved.
Comment 4 Sean Davis editbugs 2018-11-01 01:09:33 CET
Marking this bug resolved.

Bug #14796

Reported by:
Simon Steinbeiss
Reported on: 2018-10-24
Last modified on: 2018-11-01

People

Assignee:
Sean Davis
CC List:
0 users

Version

Attachments

Additional information