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

Setting attribute to certain values on QWidget after it's hidden/shown causes error on future hide/shows with true_property enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.0, 6.4.2
    • 6.3.0
    • PySide
    • None
    • e20e29d1b (dev), c66dd4fca (6.4), 213997554 (dev), cdda72b0f (dev)

    Description

      Setting an attribute on QWidget instance that was shown or hidden to certain values (from quick testing at least types, functions, and builtin functions) causes an empty error to be printed on future show and hide calls.

      ...
      from __feature__ import true_property
      
          widget.show()
          widget.a = int
          widget.show()  # prints error
      RecursionError: maximum recursion depth exceeded while calling a Python object
      

      Attachments

        Issue Links

          For Gerrit Dashboard: PYSIDE-1889
          # Subject Branch Project Status CR V

          Activity

            People

              ctismer Christian Tismer
              numerlor Michal Laboš
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes