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

Updating Bug with QMainWindow / QMdiSubWindow introduced with Qt6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.2
    • Fix Version/s: None
    • Component/s: Widgets: Main Window
    • Labels:
      None
    • Environment:
      debian bullseye, x86_64, running KDE and X11
    • Platform/s:
      Linux/X11

      Description

      This has been originally reported here: https://bugreports.qt.io/browse/PYSIDE-1747 but I have been redirected. So here it is a second time, now in C++.

      Maybe related: I'm using KDE on debian bullseye (this results in a X11 environment, verified this with loginctl).

      Using the attached minimal example, the QMdiArea is not properly updated and I also have the impression there are some visible artifacts on the window title bars. Here is a screenshot after resizing and moving the created MDI SubWindow around (note the vertical and horizontal stripes). Note that the same script works with QT 5.15.2 (tested with PySide only) on the same environment. 

       

      The output of qtdiag is attached as well as the c++ main file, which has been compiled with

      g++ --std=c++17 minimal_
      example.cpp -I $QT6DIR/include/ -fPIC -L $QT6DIR/lib/ -lQt6Core -lQt6Gui -lQt6Widgets

        Attachments

        1. minimal_example.cpp
          0.4 kB
        2. minimal_example.png
          minimal_example.png
          27 kB
        3. qtdiag.txt
          13 kB

          Issue Links

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

            Activity

              People

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              bdev a dev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes