Mailinglist Archive: opensuse-bugs (8107 mails)

< Previous Next >
[Bug 244052] Close lid of a laptop and suspend to ram
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 12 Feb 2007 06:29:00 -0700 (MST)
  • Message-id: <20070212132900.E3F5125C887@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=244052


dkukawka@xxxxxxxxxx changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED




------- Comment #4 from dkukawka@xxxxxxxxxx 2007-02-12 06:29 MST -------
Fixed in SVN for 10.2 update:

2007-02-12 Danny Kukawka <danny.kukawka@xxxxxx>

* src/kpowersave.cpp: Fixed b.n.c #244052. On button events which
call suspend2* and the system get problems with umount partitions
which at least cause open a blocking KMessageBox result in 100% CPU
usage. This happen because the QT D-Bus bindings wait for a
result from the related KPowersave filter function (return a
DBUS_HANDLER_RESULT_* to the bus). This happen also because the
signals in QT are only function calls which not are really emitted
to the QT event loop as assumed (the KMessageBox block the filter-
function).
Fixed this by use QTimer::SingleShot() to call the suspend, in the
handleActionCall() function, because QTimer shots uncouple the
suspend call from the filter function workflow.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
References