PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 498 - powerStateChanged-SIGNAL not emitted!
: powerStateChanged-SIGNAL not emitted!
Status: CLOSED FIXED
Product: PySide Mobility
Classification: Unclassified
Component: SystemInfo
: 0.1.0
: Other Other
: P2 major
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-11-25 08:25 EET by dom
Modified: 2011-01-21 15:44 EET (History)
8 users (show)

See Also:


Attachments
Code that reproduces the error on N900 running Maemo PR1.3 (759 bytes, text/x-python)
2010-11-25 08:25 EET, dom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dom 2010-11-25 08:25:24 EET
Created attachment 157 [details]
Code that reproduces the error on N900 running Maemo PR1.3

QSystemDeviceInfo defines the signal powerStateChanged which should be emitted
every time the power state changes. The powerStateChanged SIGNAL does not seem
to be emitted even when the power state changes. Other SIGNALS such as
batteryLevelChanged are automatically emitted by QSystemDeviceInfo.
Comment 1 Matti Airas 2010-11-25 08:38:54 EET
Thanks for the bug report! Prioritizing P2 - this bug will be fixed as soon as
our backlog permits (probably next week or the week after that).
Comment 2 dom 2010-11-28 14:55:41 EET
Further information:
Just ran the attached code with PyQt4.QtMobility. There the
powerStateChanged-SIGNALS are emitted correctly. So it is definitely a PySide
issue.
Comment 3 renato filho 2010-12-16 16:25:17 EET
fixed on shiboken commit:
commit 45d4e4b0eabc87cd50613a469ce400434b833d6d
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date:   Thu Dec 16 15:58:23 2010 -0300
Comment 4 renato filho 2011-01-21 15:44:39 EET
release beta4