Bug 315093 - application loses focus after unlocking the screensaver
Summary: application loses focus after unlocking the screensaver
Status: RESOLVED FIXED
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-13 21:39 UTC by Olivier van der Toorn
Modified: 2015-12-15 16:54 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier van der Toorn 2013-02-13 21:39:59 UTC
The screensaver seems unable to restore the focus to the application who had focus before the screensaver kicked in.

Reproducible: Always

Steps to Reproduce:
1. Open an application, for example Konsole.
2. Wait for the screensaver to kick in.
3. Unlock the screensaver.
Actual Results:  
There is no application in focus anymore.

Expected Results:  
Focus to be restored to the application who had focus before the screen saver kicked in.

This behavior is observed on Kubuntu 13.04, fully updated at the time of writing.
Comment 1 Thomas Lübking 2013-02-13 21:44:05 UTC
screensaver is override redirect and gets the focus bypassing them - it has to store and restore it.
Comment 2 xejakig884 2013-02-13 22:23:00 UTC
I can confirm this bug.

I see it on a laptop and desktop, both running Kubuntu 13.04 and KDE 4.10.0.
Comment 3 Olivier van der Toorn 2013-02-14 06:25:04 UTC
Also happens when screensaver is activated manually.
Comment 4 Jan-Matthias Braun 2013-05-06 12:49:46 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Janet 2013-05-21 04:06:38 UTC
There is a lot of "focus losing" in KDE SC 4.10 (on desktop switch, notifications, screensaver, without visible cause) -  maybe something in common?
Comment 6 Martin Flöser 2015-12-15 16:54:26 UTC
We have a fix for that in Plasma 5.5. If you are still able to reproduce (I'm not), please reopen.