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

[REG 5.5->5.6]: Painting errors when enforcing a winId() on a child of QMdiArea/QToolBox when HighDPI/DPr scaling is active

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.0 RC
    • 5.6.0 Beta
    • None
    • Windows,Linux
    • b6630a5181cfc3935b13052e0a32d4008d89cdb6 (qtbase/5.6.0, 5.2.2016)

    Description

      The attached example enforces a winId() on a QPlainTextEdit within a QMdiArea and activates scaling via env vars for 5.5/5.6.

      The screen shots show that sth is messed up; probably related to the backing store (can't put my finger on it)?

      Note: Screen shots were taken on low res screens , this is why the font sizes are different between 5.5/5.6 - this is not relevant to this report.

      This also has been observed for QToolBox.

      Discovered while working on https://codereview.qt-project.org/#/c/146248/

      Attachments

        1. qtbug50487_creator.jpg
          qtbug50487_creator.jpg
          555 kB
        2. qtbug50487_win.jpg
          qtbug50487_win.jpg
          89 kB
        3. qtbug50487_xcb.jpg
          qtbug50487_xcb.jpg
          78 kB
        4. qtbug50487.zip
          2 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-50487
          # Subject Branch Project Status CR V

          Activity

            People

              sorvig Morten Sørvig
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes