[Bug 1066892]

2013-03-15 Thread Alex Fiestas
I fixed this, in 4.10 for sure and also in 4.9, perhaps in 4.9.4

Thanks for reporting !

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2013-03-15 Thread Bug Watch Updater
** Changed in: kdebase-workspace
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-11-19 Thread Scott Kitterman
Tested on precise too and it works.

** Tags removed: verification-needed
** Tags added: verification-done-precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-11-19 Thread Launchpad Bug Tracker
This bug was fixed in the package kde-workspace - 4:4.8.5-0ubuntu0.2

---
kde-workspace (4:4.8.5-0ubuntu0.2) precise-proposed; urgency=low

  * Add fix-powerdevil-profile-generation.patch to ensure powerdevil
profiles are created using appropriate information on support of suspend
and hibernate (LP: #1066892)
 -- Harald Sitter apachelog...@kubuntu.org   Tue, 16 Oct 2012 11:38:40 +0200

** Changed in: kde-workspace (Ubuntu Precise)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-11-19 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/precise-updates/kde-workspace

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-25 Thread Brian Murray
The fix also made it to precise-proposed and could use verification
there:

kde-workspace (4:4.8.5-0ubuntu0.2) precise-proposed; urgency=low

  * Add fix-powerdevil-profile-generation.patch to ensure powerdevil
profiles are created using appropriate information on support of suspend
and hibernate (LP: #1066892)
 -- Harald Sitter apachelog...@kubuntu.org   Tue, 16 Oct 2012 11:38:40 +0200


** Changed in: kde-workspace (Ubuntu Precise)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1066892] Update Released

2012-10-25 Thread Brian Murray
The verification of this Stable Release Update has completed
successfully and the package has now been released to -updates.
Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report.  In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regresssions.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-25 Thread Launchpad Bug Tracker
This bug was fixed in the package kde-workspace - 4:4.9.2-0ubuntu2.1

---
kde-workspace (4:4.9.2-0ubuntu2.1) quantal-proposed; urgency=low

  * Add fix-powerdevil-profile-generation.patch to ensure powerdevil
profiles are created using appropriate information on support of suspend
and hibernate (LP: #1066892)
 -- Harald Sitter apachelog...@kubuntu.org   Mon, 15 Oct 2012 15:49:07 +0200

** Changed in: kde-workspace (Ubuntu Raring)
   Status: Fix Committed = Fix Released

** Changed in: kde-workspace (Ubuntu Quantal)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-25 Thread Launchpad Bug Tracker
This bug was fixed in the package kde-workspace - 4:4.9.2-0ubuntu2.1

---
kde-workspace (4:4.9.2-0ubuntu2.1) quantal-proposed; urgency=low

  * Add fix-powerdevil-profile-generation.patch to ensure powerdevil
profiles are created using appropriate information on support of suspend
and hibernate (LP: #1066892)
 -- Harald Sitter apachelog...@kubuntu.org   Mon, 15 Oct 2012 15:49:07 +0200

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-22 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/precise-proposed/kde-workspace

** Branch linked: lp:ubuntu/quantal-proposed/kde-workspace

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-20 Thread Harald Sitter
What do you mean?

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-20 Thread Harald Sitter
** Patch added: precise.patch
   
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/1066892/+attachment/3405859/+files/precise.patch

** Changed in: kde-workspace (Ubuntu Precise)
   Status: Triaged = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-20 Thread Scott Kitterman
Hello Harald, or anyone else affected,

Accepted into quantal-proposed. The package will build now and be
available in a few hours in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from
verification-needed to verification-done.  If it does not, change the
tag to verification-failed.  In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-19 Thread Scott Kitterman
Works for me in quantal.

** Tags removed: verification-needed
** Tags added: verification-done-quantal

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-19 Thread Javier Antonio Nisa Avila
When upgrading to ubuntu 12.10 can reenable PPA disabled by the update.
You put the root password but the check is not activated.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-18 Thread Harald Sitter
** Also affects: kubuntu-ppa
   Importance: Undecided
   Status: New

** Changed in: kubuntu-ppa
   Status: New = Triaged

** Changed in: kubuntu-ppa
   Importance: Undecided = Low

** Changed in: kubuntu-ppa
 Assignee: (unassigned) = Harald Sitter (apachelogger)

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-18 Thread Harald Sitter
** Patch added: quantal.patch
   
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/1066892/+attachment/3402639/+files/quantal.patch

** Changed in: kde-workspace (Ubuntu Raring)
   Status: Triaged = Fix Committed

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-18 Thread Harald Sitter
** Changed in: kubuntu-ppa
   Status: Triaged = Fix Released

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-18 Thread Harald Sitter
** Changed in: kde-workspace (Ubuntu Quantal)
   Status: Triaged = In Progress

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-18 Thread Scott Kitterman
Hello Harald, or anyone else affected,

Accepted into quantal-proposed. The package will build now and be
available in a few hours in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from
verification-needed to verification-done.  If it does not, change the
tag to verification-failed.  In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: kde-workspace (Ubuntu Quantal)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-16 Thread Harald Sitter
** Changed in: kde-workspace (Ubuntu Precise)
   Status: New = Triaged

** Changed in: kde-workspace (Ubuntu Precise)
   Importance: Undecided = Critical

** Changed in: kde-workspace (Ubuntu Precise)
 Assignee: (unassigned) = Harald Sitter (apachelogger)

** Changed in: kde-workspace (Ubuntu R-series)
 Assignee: (unassigned) = Harald Sitter (apachelogger)

** Changed in: kde-workspace (Ubuntu R-series)
   Importance: Undecided = Critical

** Changed in: kde-workspace (Ubuntu R-series)
   Status: New = Triaged

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-16 Thread Valorie Zimmerman
valorie@valorie-HP-Pavilion-dv7-Notebook-PC:~$ qdbus 
org.freedesktop.PowerManagement /org/freedesktop/PowerManagement 
org.freedesktop.PowerManagement.CanSuspend
true

Same situation here: screen turns off, but true suspend doesn't happen,
and I cannot wake the session successfully. This was true in Precise,
and is still true in Quantal beta.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-16 Thread Harald Sitter
** Also affects: kde-workspace (Ubuntu R-series)
   Importance: Undecided
   Status: New

** Also affects: kde-workspace (Ubuntu Precise)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1066892] [NEW] initial power profiles do not use suspend support

2012-10-15 Thread Harald Sitter
Public bug reported:

Currently when the initial power management profiles are generated the support 
of suspend and hibernate is not detected properly due to an init order problem. 
In particular powerdevil will ask libsolid for support, which in turn asks 
powerdevil though powerdevil at that point does not provide the daemon to 
deliver the information yet.
This makes fallback code active which for example on laptop lid closing will 
instead of going to suspend will turn off the screen. Since this is not 
expectable behavior and different from other OSes/DEs the user might not 
realize this assuming the suspend takes a bit longer and since they are in a 
rush put it in their backpack (while the laptop is still running!) this can 
cause excessive overheating and potential damage the hardware.

[Test Case]
* Create new user
* Go to systemsettings - power management
* Check that the on battery profile will suspend on lid closing (assuming 
suspend is supported, which can be confirmed by looking at the application 
menu's Leave tab)

[Regression Potential]
The issue was addressed by not querying libsolid but pass the internally 
available information directly to the profile creator. Hence there is next to 
no potential for regression as in case the patch is not working properly it 
would simply cause the same broken behavior of not taking suspend into account 
when creating the profiles.

** Affects: kde-workspace (Ubuntu)
 Importance: Critical
 Assignee: Harald Sitter (apachelogger)
 Status: Triaged

** Affects: kde-workspace (Ubuntu Quantal)
 Importance: Critical
 Assignee: Harald Sitter (apachelogger)
 Status: Triaged

** Also affects: kde-workspace (Ubuntu Quantal)
   Importance: Critical
 Assignee: Harald Sitter (apachelogger)
   Status: Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/1066892/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-15 Thread Harald Sitter
** Bug watch added: KDE Bug Tracking System #308292
   https://bugs.kde.org/show_bug.cgi?id=308292

** Also affects: kdebase-workspace via
   https://bugs.kde.org/show_bug.cgi?id=308292
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1066892] Re: initial power profiles do not use suspend support

2012-10-15 Thread Bug Watch Updater
Launchpad has imported 1 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=308292.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2012-10-12T12:56:28+00:00 Harald Sitter wrote:

In powerdevilprofilegenerator.cpp we can find the following

QSet Solid::PowerManagement::SleepState  methods =
Solid::PowerManagement::supportedSleepStates();

   //...

KConfigGroup handleButtonEvents(acProfile, HandleButtonEvents);
handleButtonEvents.writeEntry uint (powerButtonAction, 
LogoutDialogMode);
if (methods.contains(Solid::PowerManagement::SuspendState)) {
handleButtonEvents.writeEntry uint (lidAction, ToRamMode);
} else {
handleButtonEvents.writeEntry uint (lidAction, 
TurnOffScreenMode);
}

Now on Kubuntu 12.10 the contains() query is always false thus the
lidaction is turn off screen. However it should not be false because...

me@novalis:~$ qdbus org.freedesktop.PowerManagement 
/org/freedesktop/PowerManagement org.freedesktop.PowerManagement.CanSuspend
true

solid::powermanagement uses the same dbus interface to get its
information, so one gets to wonder why it works for me and not for
solid turns out that this interface is provided by the very same
daemon that creates the config (why that does not sound dangerous at all
:S). My assumption at present is that either the initialization order is
wrong (i.e. the config is created before the interface) or the upower
code is bogus (race condition in init or something).


Reproducible: Always

Reply at: https://bugs.launchpad.net/ubuntu/+source/kde-
workspace/+bug/1066892/comments/0


** Changed in: kdebase-workspace
   Status: Unknown = Confirmed

** Changed in: kdebase-workspace
   Importance: Unknown = High

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1066892

Title:
  initial power profiles do not use suspend support

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1066892/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs