show password dialog automatically after resume

Bug #144440 reported by Andy Goossens
4
Affects Status Importance Assigned to Milestone
KDE Base
Fix Released
Wishlist
KDE PIM
Invalid
Undecided
Unassigned
kdebase-workspace (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

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)

Changed in kdepim:
status: Unknown → Confirmed
Revision history for this message
Marco Maini (maini10) wrote :

Thanks for your detailed report. I confirm this since an upstream report exists in KDE bug tracker.

Changed in kdebase:
status: New → Confirmed
Revision history for this message
Jonas (jon-stekas) wrote :

How I got rid of password dialog and blank screen:
Changed permissions for files to not executable:
/usr/bin/kdesktop_lock and /usr/bin/kblankscrn.kss

Revision history for this message
Andy Goossens (andygoossens) wrote :

Jonas, you misunderstood my report.

I do not want to get rid of it, I want to see the password dialog after the laptop has resumed. With your solution it will not show up at all.

Changed in kdebase:
importance: Undecided → Wishlist
Changed in kdebase:
status: Confirmed → Triaged
Changed in kdepim:
importance: Unknown → Undecided
status: Confirmed → New
status: New → Invalid
Changed in kdebase:
status: Unknown → Confirmed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Hi there,
We are in the process of closing wishlist items that have already been reported at KDE. Don't worry, your issue still is being tracked at KDE's bug tracker at: http://bugs.kde.org/show_bug.cgi?id=44510 . It's just that Kubuntu currently does not have the manpower necessary to take this feature on ourselves. We will receive this functionality once KDE implements it in one of their releases.

Thanks for understanding, and have a nice day.

Changed in kdebase-workspace (Ubuntu):
status: Triaged → Won't Fix
Changed in kdebase:
status: Confirmed → Fix Released
Changed in kdebase:
importance: Unknown → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.