Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2327

self.sender() is None if @Slot decorator is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.15.2
    • PySide
    • None
    • Windows

    Description

      I don't know if this issue is related to this old one :

      https://bugreports.qt.io/browse/PYSIDE-249

      With the @slot decorator the Child object is not able to access the sender ptr.

      Attached is a minimal exemple.

      However the issue seems to be related to inehrence only and not to thread behavior here.

      Attachments

        1. test_bug_slot.py
          1 kB
          Boris Burdin

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              boris39 Boris Burdin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes