Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-85695

QMainWindow QDockWidget rendering broken if maximized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 5.15.0
    • Widgets: Main Window
    • None
    • Qt 5.15 MSVC 64bit
    • Windows

    Description

      If the docked widgets in a QMainWindow grow larger than the screen, maximizing the MainWindow leads to glitches and overlapping in the docked widgets.

      Steps to reproduce:

      1. Install Qt 5.15 & run Qt Creator
      2. Build & run the MainWindow example
      3. Add dock widgets until the window is wider than the screen
      4. Maximize the window
        1. Widgets now overlap
      5. (Bonus) add another DockWidget
        1. The layout is now wider than Window and right side is out-of-screen

      Attachments

        1. layout_too_wide.PNG
          layout_too_wide.PNG
          58 kB
        2. overlap.PNG
          overlap.PNG
          99 kB

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              qtuser89234892 J G
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes