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 264 - Signal connections using Python callbacks not always working
: Signal connections using Python callbacks not always working
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: All All
: P5 normal
Assigned To: Marcelo Lira
:
:
:
  Show dependency treegraph
 
Reported: 2010-07-13 18:08 EEST by Marcelo Lira
Modified: 2010-08-04 15:12 EEST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Lira 2010-07-13 18:08:32 EEST
For instance, in the publish-subscribe[1] example fomr the pyside-examples
repository, the following line with a new style connection seems to work fine
(it returns True), but the callback is never invoked.

self.subscriber.contentsChanged.connect(self.subscriberChanged)

On the other hand, the old style connection works fine:

QObject.connect(self.subscriber, SIGNAL('contentsChanged()'), self,
SLOT('subscriberChanged()'))

[1]
http://qt.gitorious.org/pyside/pyside-examples/blobs/master/mobility/publish-subscribe/subscriberdialog.py
Comment 1 Marcelo Lira 2010-07-29 16:26:39 EEST
Fixed in PySide/1fe7baf7