Bug 244912 - Desktop Visible While Locked
Summary: Desktop Visible While Locked
Status: RESOLVED DUPLICATE of bug 179924
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-17 00:11 UTC by archtaku
Modified: 2010-08-28 15:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description archtaku 2010-07-17 00:11:11 UTC
Version:           unspecified (using Devel) 
OS:                Linux

KDE version: 4.4.5

This seems to be related to https://bugs.launchpad.net/ubuntu/+bug/474654, but the workaround in this bug report is to turn off compositing. However I have found that the problem still (sort of) exists on my netbook, which does not use compositing.

When the screen is locked, the screen does not turn blank or launch the screensaver. Only when the mouse is moved or a key is pressed on the keyboard does the screen change, and then it turns grey or black.

In what might or might not be a related issue, my netbook (also running the same version of KDE), which does not use compositing, has a similar issue. While the screensaver does start when the screen is locked, notifications that pop up in the system tray are visible above the screensaver, and when they disappear you can see the desktop (including any running applications) below where the notification popup just was.

Reproducible: Always

Steps to Reproduce:
1) Lock workstation.

Actual Results:  
Described in "Details" section.

Expected Results:  
Screensaver should load normally, and desktop notifications (or other popups) should not be able to be displayed on top of the screensaver.
Comment 1 Thomas Lübking 2010-07-17 00:46:49 UTC
first off please try to not "collect" bugs

> When the screen is locked, the screen does not turn blank or launch the
screensaver. Only when the mouse is moved or a key is pressed on the keyboard
does the screen change, and then it turns grey or black.

- How was the screen locked? By an idle timer or from some plasmoid etc.?
  Did you attempt to suspend/hibernate?
- When you move the pointer you should either get a password dialog or screenlocking ends. Yesno?
- does
     `kde4-config --path lib | cut -d ":" -f2`kde4/libexec/kscreenlocker --forcelock
work? (notice that the accents are important)

> While the screensaver does start when the screen is locked, notifications that
pop up in the system tray are visible above the screensaver

this is a dupe of bug #179924, bug in kscreenlocker and meanwhile hopefully fixed... (see last comment)

> and when they disappear you can see the desktop (including any running applications) below where the notification popup just was.

This is a bug in your GPU/driver resp. Xorg
Since you don't use compositing, add this to your /etc/X11/xorg.conf

   Section "Extensions"
     Option "Composite" "Disable"
   EndSection

what should fix this (you need to restart X, ie. usually logout/login, maybe "ZAP" at KDM to be entirely sure)

You could also try to add
   Option      "BackingStore" "true"

to the "Device" section in the very same file.
Comment 2 Martin Flöser 2010-08-28 15:42:13 UTC
as this bug is about several different issues it's difficult to track it correctly. But none of the issues are kwin related (kwin is not responsible for rendering non-composited environments).

So I set to duplicate of the best matching bug report: popups showing through. Feel free to open seperate reports for each issue, but I'm pretty sure that the issue is known and reported.

*** This bug has been marked as a duplicate of bug 179924 ***