Bug 525395

Summary: Suspend button in logout dialog doesn't lock the screen
Product: [Fedora] Fedora Reporter: Aleš Mareček <amarecek>
Component: xfce4-sessionAssignee: Kevin Fenzi <kevin>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 11CC: christoph.wickert, cschwangler, kevin
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-04 09:28:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 632978    

Description Aleš Mareček 2009-09-24 08:22:51 UTC
Description of problem:
Suspend button in Action Buttons on xfce-panel just suspends computer but it doesn't lock the screen. So everybody is able to use your laptop without password needs after this suspend via "Action Buttons" - screen wasn't locked.
If i close the cap of my laptop it will suspend and lock correctly (power manager is set for suspend after closing the cap).

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. Click to icon "Quit" (Action Buttons)
2. Click to suspend
3. Close and open cap of your laptop or use functional key for wake
  
Actual results:
Suspend without locking screen

Expected results:
Suspend and after waking your screen is locked

Additional info:

Comment 1 Aleš Mareček 2009-09-24 08:24:00 UTC
$ rpm -q xfce4-panel
xfce4-panel-4.6.1-2.fc11.i586

Comment 2 Christoph Wickert 2009-09-24 23:38:16 UTC
The action buttons in xfce4-panel only have "Logout" and "Lock Screen". You are talking about the logout dialog, right?

Comment 3 Aleš Mareček 2009-09-25 09:35:23 UTC
Probably yes. There are following buttons: "Log Out", "Restart", Shut Down", "Suspend" and "Hibernate" in this dialog.

Comment 4 Christoph Wickert 2009-09-25 09:44:08 UTC
Ok, thanks for the clarification. I will look at this after the weekend.

Comment 5 Christoph Wickert 2009-10-04 09:28:59 UTC
I took a look and it's way more complicated than I thought. Changes like this should be happening upstream, but the author of xfce4-session has no intentions to do so. Quote from http://bugzilla.xfce.org/show_bug.cgi?id=4805#c7:

"I'm going to reject this.  xfce4-power-manager supports this already, and does a fine job.  It's silly to duplicate this in more than one place.  Conceptually, the session manager isn't the place for this anyway.

I'm planning on having xfce4-session's suspend/hibernate buttons (and possibly
shutdown/reboot as well) send those actions to the power manager if present, so
when that's done, the screen will lock appropriately."

Closing.

Comment 6 Christoph Wickert 2009-10-04 09:35:40 UTC
Hope no one is disappointed now. Another quote, just to show how clear upstream is about this:

"My original assertion still stands: xfce4-session WILL NOT support locking the
screen after suspend.  I've already explained why and I don't intend to rehash
this."

http://bugzilla.xfce.org/show_bug.cgi?id=4805#c23

Comment 7 Christoph Wickert 2010-04-30 14:52:03 UTC
*** Bug 587633 has been marked as a duplicate of this bug. ***