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 920 - Cannot use same slot for two signals
: Cannot use same slot for two signals
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: 1.0.3
: PC Linux
: P3 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-07-07 03:44 EEST by Ed Page
Modified: 2011-07-22 22:12 EEST (History)
8 users (show)

See Also:


Attachments
Example script of double-disconnect (998 bytes, text/x-python)
2011-07-07 03:44 EEST, Ed Page
Details
Update 1: Demonstrates that the signal firing is wonky (1.05 KB, text/x-python)
2011-07-07 03:47 EEST, Ed Page
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Page 2011-07-07 03:44:25 EEST
(sorry if fixed already, PPA has not been updated)

The attached file connects a slot to a signal twice and then disconnects both
of them on exit.  The following is outputted to the terminal

"""
Main window destroyed
Object::disconnect: No such slot __GlobalReceiver__::_on_signal931f50c92a94fc()
"""

It appears that the signal is not being refcounted but cleaned up upon first
disconnect.  if that is the case then that means I can't disconnect from some
signals while staying connected to others.
Comment 1 Ed Page 2011-07-07 03:44:49 EEST
Created attachment 369 [details]
Example script of double-disconnect
Comment 2 Ed Page 2011-07-07 03:47:39 EEST
Created attachment 370 [details]
Update 1: Demonstrates that the signal firing is wonky
Comment 3 Hugo Parente Lima 2011-07-15 21:42:28 EEST
Fixed in commit:

pyside/6dea41cee468c5fee8145ddb92ef04dd889feff0

Regards.
Comment 4 renato filho 2011-07-22 22:12:54 EEST
release 1.0.5