After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 593616 - Second screen unlocked when moving from 1 monitor setup to 2 monitor setup
Second screen unlocked when moving from 1 monitor setup to 2 monitor setup
Product: gnome-screensaver
Classification: Deprecated
Component: general
Other Linux
: Normal major
: ---
Assigned To: gnome-screensaver maintainers
gnome-screensaver maintainers
Depends on:
Reported: 2009-08-31 07:04 UTC by freggy1
Modified: 2010-01-29 02:37 UTC
See Also:
GNOME target: ---
GNOME version: ---

debug log (16.38 KB, text/plain)
2009-09-02 20:57 UTC, William Jon McCann

Description freggy1 2009-08-31 07:04:27 UTC
Since , GNOME has improved a lot when suspending my laptop and moving it from a two-monitor setup to a one-monitor setup and the other way round.

However, I now encountered this problem:

1. I start my laptop with a second monitor connected. I put some applications on the second monitor and suspend the system
2. I resume my laptop without external monitor. GNOME automatically disables the second screen and moves all windows to the first screen. Then I suspend the machine.
3. I resume the machine after I have put it in a docking station with an external monitor connected.

On my laptop monitor, I'm greeted with the unlock password dialog. However, the external screen just shows the second half of my GNOME desktop completely unlocked. An application which was running on this second monitor in step 1, is completely usable without entering a password
Comment 1 William Jon McCann 2009-09-02 19:27:55 UTC
Yup.  I see this too.
Comment 2 William Jon McCann 2009-09-02 20:57:37 UTC
Created attachment 142354 [details]
debug log

Here is the debug output from when I do the following:

 * Have laptop running with no external monitor attached
 * Suspend
 * Dock
 * Resume
 * Unlock screensaver

The screensaver is never told that there are non overlapping monitors.
Comment 3 Federico Mena Quintero 2009-09-07 19:03:27 UTC
Can you see if gdkscreen-x11.c:process_monitors_change() gets run at all?
Comment 4 Federico Mena Quintero 2010-01-13 19:04:23 UTC
Commit 2f597ea9 by Matthias looks promising :)  Does that fix this bug?
Comment 5 William Jon McCann 2010-01-29 02:37:22 UTC
Yup that commit should fix it.  Please reopen if not.  Thanks.