[Powerdevil] [Bug 351365] can't suspend/hibernate from KDE application menu

2015-08-16 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=351365

Kai Uwe Broulik  changed:

   What|Removed |Added

 CC||k...@privat.broulik.de

--- Comment #1 from Kai Uwe Broulik  ---
Do you have ConsoleKit2 installed?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 351365] can't suspend/hibernate from KDE application menu

2015-08-16 Thread Thomas Masper
https://bugs.kde.org/show_bug.cgi?id=351365

--- Comment #2 from Thomas Masper  ---
No, I do not have ConsoleKit2 installed. The only version in gentoo packages of
consolekit, is version 0.4.6 (the one I have installed).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 351365] can't suspend/hibernate from KDE application menu

2015-08-16 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=351365

Kai Uwe Broulik  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |UNMAINTAINED

--- Comment #3 from Kai Uwe Broulik  ---
Ok, so the thing is, we now support ConsoleKit 2 which uses the same DBus
service name as ConsoleKit 1. CK2 has an features similar to Login1 so both can
be supported easily.

However, there's no way for us to tell that we're using CK1 not CK2 so we now
use Login1/CK2 suspend as soon as CK interface is there no matter if CK1 and
CK2. Given we'll drop support for ConsoleKit 1 starting in 5.5 I'm not sure it
makes sens to introduce a hack for this now that'll be removed eventually
anyway. But thanks for the headsup, there's a bunch of other CK1 specific code
there I forgot to remove :P

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 351365] can't suspend/hibernate from KDE application menu

2015-08-16 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=351365

--- Comment #4 from Kai Uwe Broulik  ---
Created attachment 94058
  --> https://bugs.kde.org/attachment.cgi?id=94058&action=edit
Use UPower if CK2 is not available

Can you try this patch?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 351365] can't suspend/hibernate from KDE application menu

2015-08-16 Thread Thomas Masper
https://bugs.kde.org/show_bug.cgi?id=351365

--- Comment #5 from Thomas Masper  ---
Hi Kay,
I applied the patch and now I can suspend/hibernate also with version 5.3.95.
This is my first bug report, so let me know if you need some more action from
my side (I don't know what I should do now).

thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 351365] can't suspend/hibernate from KDE application menu

2015-08-16 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=351365

Kai Uwe Broulik  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Ever confirmed|0   |1
 Resolution|UNMAINTAINED|---

--- Comment #6 from Kai Uwe Broulik  ---
Thanks, cool. I posted it on review so other developers can have a look and we
ensure not to break other hardware. It should be fixed in time for 5.4 final
release.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[Powerdevil] [Bug 351365] can't suspend/hibernate from KDE application menu

2015-08-17 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=351365

Kai Uwe Broulik  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
  Latest Commit||http://commits.kde.org/powe
   ||rdevil/41d369f7c57b31f13cb1
   ||20d09b3e9f71119d86f4
   Version Fixed In||5.4.0
 Resolution|--- |FIXED

--- Comment #7 from Kai Uwe Broulik  ---
Git commit 41d369f7c57b31f13cb120d09b3e9f71119d86f4 by Kai Uwe Broulik.
Committed on 17/08/2015 at 08:54.
Pushed by broulik into branch 'Plasma/5.4'.

Suspend using UPower in case of ConsoleKit 1

REVIEW: 124778
FIXED-IN: 5.4.0

M  +6-2daemon/backends/upower/powerdevilupowerbackend.cpp
M  +1-0daemon/backends/upower/powerdevilupowerbackend.h

http://commits.kde.org/powerdevil/41d369f7c57b31f13cb120d09b3e9f71119d86f4

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel