Details
Description
Hello PySide devs,
With PySide6 6.5.3, there is an issue when disconnecting signals.
from PySide6 import QtCore class Parent(QtCore.QObject): sig = QtCore.Signal() def pslot(self): pass class Child(Parent): pass x = Child() # disconnecting slot defined in parent fails since PySide >= 6.5.3 x.sig.connect(x.pslot) x.sig.disconnect(x.pslot)
The key for triggering the failure is that the signal must come from an inherited class member.
Attachments
Issue Links
- relates to
-
PYSIDE-2527 SIGSEGV after reconnecting a signal with argument in an inner class
- Closed
- resulted from
-
PYSIDE-2418 Inheritance causes slots to use global receiver connections
- Closed
For Gerrit Dashboard: PYSIDE-2487 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
511601,3 | Fix disconnecting non-decorated slot of base class from signal | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
511602,4 | Improve error messages around signal/slot connections | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
511720,2 | Fix disconnecting non-decorated slot of base class from signal | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
511770,2 | Fix disconnecting non-decorated slot of base class from signal | 6.5 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
512429,2 | Improve error messages around signal/slot connections | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
512459,2 | Improve error messages around signal/slot connections | 6.5 | pyside/pyside-setup | Status: MERGED | +2 | 0 |