Bug 364275

Summary: sleep and hibernate gone after update
Product: [Plasma] Powerdevil Reporter: d958x7lku
Component: generalAssignee: Plasma Development Mailing List <plasma-devel>
Status: RESOLVED DOWNSTREAM    
Severity: critical CC: cfeck, d958x7lku, dominikdanelski, kde, mklapetek
Priority: NOR    
Version: 5.0.1   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: bug_report.zip

Description d958x7lku 2016-06-13 15:51:27 UTC
I've removed and then ticked back the "sleep" and "hybernate" in the "Application Launcher Menu Settings" several times.

I've tried uninstalling last packages, restarting, and did autoclean and autoremove, None helped

upowerd is running. pm-* packages are installed, and I have all the commands there.

hald is NOT running. I read in KDE Forums that it's been omitted, yet I've checked.

I can suspent in terminal via: "sudo pm-suspend-hybrid" but after awakening, it won't go to the lock screen -- goes straight into the workspace I was, without any password or confirmation.

Reproducible: Always

Steps to Reproduce:
1. restarted
2.removed, autocleaned, autoremoved latest and old packages
3.checked upowerd and hald
4. ticked off and on them in the "Application Launcher Menu Settings"

Actual Results:  
No sleep/hybernate option in the menu

Expected Results:  
These options shouldn't have been removed. Not unless I selected to, in their defined place: "Application Launcher Menu Settings"

I've checked my Power Management session in the System Settings. All my options for "sleep" have gone! For example, I had chosen the  system to sleep if not charging and battery under 20%. Now it's blank! and when I open the drop down list, there's just "do nothing" and "shut down"!

It can really lose me some data this way!
Comment 1 d958x7lku 2016-06-13 16:21:24 UTC
Almost forgot. I've tried "sudo apt install --reinstall kubuntu-desktop" a couple of times too.
Comment 2 d958x7lku 2016-06-13 18:26:23 UTC
I also did remove  ".kde/share/config/ksmserverrc" and restarted lightdm (as suggested in https://forum.kde.org/viewtopic.php?f=67&t=120706), yet no improvement.
Comment 3 Christoph Feck 2016-06-13 18:43:35 UTC
What packages did you update? From which version to which version? I strongly suggest to report this on the bug tracker of your distribution, because these hardware related issues are mostly distribution-related.
Comment 4 d958x7lku 2016-06-13 18:48:40 UTC
(In reply to Christoph Feck from comment #3)
> What packages did you update? From which version to which version? I
> strongly suggest to report this on the bug tracker of your distribution,
> because these hardware related issues are mostly distribution-related.

Mostly kernel update. I really don't know more. I do know kernel was among the updates.
Comment 5 d958x7lku 2016-06-13 19:40:42 UTC
Created attachment 99481 [details]
bug_report.zip

    List of all packages Added AND Removed last night and today:
   I've found the packages I installed before the bug and those I REMOVED
   after that in my Muon Package Manager, and I took screenshots for you.

   Thanks a lot for your time and help
   --
   Sent from my Android phone with mail.com[1] Mail. Please excuse my
   brevity.On 6/13/16, 23:13 Christoph Feck via KDE Bugzilla
   <bugzilla_noreply@kde.org> wrote:

     https://bugs.kde.org/show_bug.cgi?id=364275

     Christoph Feck <cfeck@kde.org> changed:

     What |Removed |Added
     ----------------------------------------------------------------------------
     CC| |cfeck@kde.org

     --- Comment #3 from Christoph Feck <cfeck@kde.org> ---
     What packages did you update? From which version to which version?
     I strongly
     suggest to report this on the bug tracker of your distribution,
     because these
     hardware related issues are mostly distribution-related.

     --
     You are receiving this mail because:
     You are on the CC list for the bug.
     You reported the bug.

   

   1. http://mail.com
Comment 6 d958x7lku 2016-06-14 10:56:59 UTC
(In reply to Christoph Feck from comment #3)
> What packages did you update? From which version to which version? I
> strongly suggest to report this on the bug tracker of your distribution,
> because these hardware related issues are mostly distribution-related.

I tried to report to Kubuntu; anything KDE-related heads right here to this site.
Comment 7 d958x7lku 2016-06-14 10:57:44 UTC
(In reply to Christoph Feck from comment #3)
> What packages did you update? From which version to which version? I
> strongly suggest to report this on the bug tracker of your distribution,
> because these hardware related issues are mostly distribution-related.

I tried to report to Kubuntu; anything KDE-related heads right here to this site.
Comment 8 d958x7lku 2016-06-15 16:41:43 UTC
Two more things:
Comment 9 d958x7lku 2016-06-15 16:46:31 UTC
Two more things:
        1. I noticed that I can log out, and there still exists a "suspend" button on the bottom right when I click on which it acts as if it were suspending, yet, after opening the lid, I got it actually shut down.

       2. I installed a fresh PC-BSD with KDE desktop on my other laptop. It has KDE 4 too, and it neither has any sleep or hibernate button, nor is able to in any way, though the hardware absolutely supports these options.
Comment 10 d958x7lku 2016-06-15 16:48:34 UTC
(In reply to d958x7lku from comment #9)
> Two more things:
>         1. I noticed that I can log out, and there still exists a "suspend"
> button on the bottom right when I click on which it acts as if it were
> suspending, yet, after opening the lid, I got it actually shut down.
> 
>        2. I installed a fresh PC-BSD with KDE desktop on my other laptop. It
> has KDE 4 too, and it neither has any sleep or hibernate button, nor is able
> to in any way, though the hardware absolutely supports these options.

Funny that both my laptops are different models of Dell Vostro. Just thought might help.
Comment 11 dominikdanelski 2016-06-29 08:49:19 UTC
I can confirm this bug. It has also occurred on my computer (Debian testing). After an update/upgrade I've lost sleep and hibernate from the launcher, after a few minutes without an action of a user or a push of a power button etc. the computer goes to the lock screen instead of going to sleep and after I log in I see the clean workplace, so if I don't save everything before, it's gone. I can't access the energy management menu because the EnergyDevil service isn't running, but when I try to run it, I get a message "Message recipient disconnected from message bus without replying" and after confirming it kded5 error occurs (kded5 PID: 12482 SygnaƂ: Segmentation fault (11)). As a result I can't find the way to change the screen brightness (Fn+F5/F6 doesn't help). I also have a few more bugs which have probably occurred after that update, but before I have to check if they can be related to this bug.
Comment 12 Kai Uwe Broulik 2016-06-29 08:57:09 UTC
I've seen this issue on Kubuntu and looks like a packaging issue, I had kded5 crash with a symbol lookup error after updates that could only be resolved by rebuilding PowerDevil manually. Please contact your distribution and make them aware of this issue.
Comment 13 dominikdanelski 2016-07-15 17:56:53 UTC
My problems have been solved by replacing kdm with sddm.