Bug 324821 - Unlock screen focus problem with focus follows mouse with 2 monitors
Summary: Unlock screen focus problem with focus follows mouse with 2 monitors
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: screensaver overlay (show other bugs)
Version: 4.11.1
Platform: Kubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-12 06:30 UTC by JR
Modified: 2014-10-09 19:33 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JR 2013-09-12 06:30:04 UTC
I have kubuntu 12.04 LTS with kdebackports on my laptop with a docking station and 2 external monitors activated (the laptop monitor isnt).

Until KDE SC 4.10.x it works when i locked the screen, all i need to do to unlock, was to start typing my password. My focus config is "focus follows mouse". In KDE SC 4.11.x focus is always on the right unlock dialog, but if the mouse is on the left (my main) monitor it does not enter my password when i type.

Reproducible: Always

Steps to Reproduce:
1. use 2 (external?!) monitors and "focus follows mouse".
2. lock screen.
3. move the cursor to the monitor without the focus and start typing
Actual Results:  
i do not get unlocked.

Expected Results:  
focus on the unlock dialog from the monitor where the mouse resides.
Comment 1 Marco Vimercati 2013-09-25 12:09:33 UTC
This happens to me too, but I don't use "focus follows mouse". I have 2 monitors and when I lock the screen (CTRL-ALT-L) the focus is not on the password textbox.
The curious thing is that the input cursor is blinking on the password textbox, but actually it hasn't the focus.
Comment 2 clemens.brunner 2013-10-02 09:45:09 UTC
Same here on my Arch Linux with KDE 4.11 and dual monitor setup.

The expected behavior should be only one dialog box on the main monitor, just like for the login manager KDM. Furthermore, the text field in this single dialog box should always have keyboard focus.
Comment 3 Marco Vimercati 2013-10-02 10:00:53 UTC
I notice this thing:  the focus is on the second monitor text field , but the mouse pointer is on the first monitor. Just moving the mouse on the second screen I can write the password and unlock the screen.
Comment 4 clemens.brunner 2013-10-02 10:03:34 UTC
That's true, this is also what happens in my setup. It seems like the focus is always on the text field on the second screen though, and I can only type if the mouse cursor is also in the second monitor.

The best solution would be to only show one unlock dialog on the primary screen, which is consistent with the behavior of KDM.
Comment 5 Marco Vimercati 2013-10-02 10:10:18 UTC
I agree with you Clements
Comment 6 JR 2013-10-02 10:43:41 UTC
same behaviour as described from Clemens and Marco.

agree too, since this was the way before 4.11.x
Comment 7 Teemu Rytilahti 2013-11-25 19:33:54 UTC
Dupe of https://bugs.kde.org/show_bug.cgi?id=311188 ?
Comment 8 Teemu Rytilahti 2013-11-25 19:34:39 UTC
Or not a dupe, but perhaps fixed by the same commit. So please test if possible.
Comment 9 Marco Vimercati 2013-11-25 19:49:19 UTC
Seems dupe to me.  I'll test asap when 4.11.4 will be released
Comment 10 JR 2013-12-23 11:30:45 UTC
I also think it's a dupe but it still doesn't work in 4.12.0.
Comment 11 Tobias Langner 2014-02-11 11:35:24 UTC
Since the last update to KDE 4.11.5 (Kubuntu 13.04), the lockscreen on my dual monitor setup does not have a textbox to enter the password anymore. The only way that I found so far to unlock the screen is to login on a tty and kill the kscreenlocker process... I have to say that this is much worse than the original focus problem ;)
Comment 12 JR 2014-10-09 19:33:39 UTC
I just want to thank you for fixing this bug!!