Bug 314720 - Sometimes the password textbox for unlocking the screen looses focus when used with screen saver.
Summary: Sometimes the password textbox for unlocking the screen looses focus when use...
Status: RESOLVED INTENTIONAL
Alias: None
Product: kscreensaver
Classification: Unmaintained
Component: locker-qml (show other bugs)
Version: 4.10.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-08 21:51 UTC by firewalker
Modified: 2015-01-23 13:03 UTC (History)
10 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 firewalker 2013-02-08 21:51:18 UTC
Sometimes when prompted to enter the password to unlock a locked screen the text box has lost the focus. The user must move the mouse pointer and click the textbox in order to enter the password. When this happens the blinking cursor is also absent (even clicking the textbox  doesn't show the blinking cursor). I have reproduced it when the screen locker is used with a screen saver.

Reproducible: Sometimes

Steps to Reproduce:
1.  Enable the Screen saver option for the screen locker.
2. Try to lock/unlock the screen couple of times.
Actual Results:  
The screen locks and the unlock dialog is presented as normal. The user must click on the textbox in order for it to take focus and the user be able to enter the password.

Expected Results:  
The text box should not loose focus.
Comment 1 Patrick Scharrenberg 2013-02-24 08:48:38 UTC
I can confirm this on an Ubuntu system.
This is a really annoying bug, when you have to lock your screen several times per day.
Comment 2 Ralf Jung 2013-03-11 13:17:07 UTC
I am having the same issue with my self-compiled KDE 4.10.1.
The problem is not reproducible: Sometimes when the screen is locked due to inactivity or the system going to suspend, the password field does not have focus. So far, I did not see this happen when using the shortcut to manually lock the screen.
Comment 3 Leon Maurer 2013-03-26 17:46:00 UTC
I can also confirm this under Kubuntu. It's quite annoying; sometimes you can just enter your password, and sometimes you can't without clicking first.

I haven't found a pattern either, but the password textbox never seems to be in focus for me when waking up from sleep.
Comment 4 Leon Maurer 2013-03-26 17:46:28 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 clemens.brunner 2013-10-02 09:49:17 UTC
Bug 324821 might be related, in a multi-monitor setup, each monitor shows an unlock dialog box, but sometimes no dialog has the keyboard focus.
Comment 6 Teemu Rytilahti 2013-11-06 22:59:38 UTC
This can be triggered by pressing the alt key. Looks like the focus is never returned back to the input line after that.
Comment 7 Teemu Rytilahti 2013-11-06 23:42:30 UTC
Here's a patch to fix the alt key behaviour: https://git.reviewboard.kde.org/r/113697/ if someone wants to try it out.
Comment 8 kdebugs 2014-04-29 03:47:46 UTC
(In reply to comment #6)
> This can be triggered by pressing the alt key. Looks like the focus is never
> returned back to the input line after that.

Or the Tab key, which is silly because none of the buttons are on the tab order, so there's really no reason for the cursor to ever leave the box.
Comment 9 Martin Flöser 2015-01-23 13:03:56 UTC
The screen locker architecture changed with Plasma 5. The classic screen savers are no longer supported. The 4.x series won't see any further feature development, so this bug report won't be implemented as it doesn't apply to our current version any more.

I want to thank you for your bug report and for helping improving the quality of our software and I'm sorry that we were not able to provide a fix before we retired the affected component.