[Bug 144440] show password dialog automatically after resume

Andy Goossens andygoossens at telenet.be
Mon Sep 24 13:59:49 UTC 2007


Public bug reported:

I filed this bug against kdesktop because this is the package to which
kdesktop_lock belongs. This could also be considered to be an acpi
"bug". This bug is filed against Kubuntu 7.04 "Feisty Fawn" with KDE
3.5.6 packages.

When I resume my laptop it would be nice to automatically show the
password dialog so I can immediately start typing my password.

The way it is now:
- resume laptop
- nothing happens, screen stays black
- after some time you realize that screensaver might be running, you press any key or move the mouse to wake up the screensaver
- password dialog is displayed

Actually, all this is already implemented, but it does not work for KDE.
Just take a look at /etc/acpi/resume.d/90-xscreensaver.sh This however
depends on the presence of (a running) xscreensaver. No such process is
running in KDE (but you'll see "/usr/bin/kdesktop_lock --forcelock" and
"/usr/bin/kblankscrn.kss -root").

Steps to fix this bug:
1) find a way to poke kdesktop_lock so that it shows the password dialog. I found no such way using DCOP. And I don't consider "dcop kdesktop KScreensaverIface quit" to be an option as it does not ask the password at all :-(
2) adapt /etc/acpi/resume.d/90-xscreensaver.sh to use the solution found in step 1)

** Affects: kdepim
     Importance: Unknown
         Status: Unknown

** Affects: kdebase (Ubuntu)
     Importance: Undecided
         Status: New

** Bug watch added: KDE Bug Tracking System #44510
   http://bugs.kde.org/show_bug.cgi?id=44510

** Also affects: kdepim via
   http://bugs.kde.org/show_bug.cgi?id=44510
   Importance: Unknown
       Status: Unknown

-- 
show password dialog automatically after resume
https://bugs.launchpad.net/bugs/144440
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.




More information about the kubuntu-bugs mailing list