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

Crash on edge case while grouping frameless dock widgets while floating.

    XMLWordPrintable

Details

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

    Description

      Usually I make dock widgets frameless and use a custom title bar widget on them, this is to enforce the app style on them, now the crash happens if I enabled GroupDragging dock option in the QMainWindow, it works correctly until an edge case happens.

      I included a minimal example and a video showing the bug in detail, and here's the steps to reproduce the bug using the example:-

      1-Drag one of the dock widgets outside the app to make it float.

      2-Drag other dock widget on the latter one to group them, this will show a tabbar.

      3-Now inside the new group you have just made, drag one of the dock widgets from the tabbar, outside the new group, and the magic will happen.

      4-Either the app will crash now or a sudden empty glitch window will appear, if you happen to drag any of the dock widgets to that glitch window, they will refuse, but if you happen to drag a group of dock widgets on it, the app will crash.

      5-If you happen to close the glitch window, already grouping is permanently bugged, spawning glitch windows all over the place when any two dock widgets try to group up.

      Attachments

        1. DockWidgetGroupingTest.mp4
          1.09 MB
        2. DockWidgetGroupingTest.py
          2 kB
        3. pyside2586_cpp.zip
          2 kB
        4. pyside2586_stack.txt
          18 kB
        5. pyside2586.py
          3 kB

        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
              ahmedahmedeg Ahmed Ahmed Abd Al Maksoud
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes