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

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

      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/

        1. qtbug50487.zip
          2 kB
          Friedemann Kleint
        2. qtbug50487_win.jpg
          89 kB
          Friedemann Kleint
        3. qtbug50487_xcb.jpg
          78 kB
          Friedemann Kleint
        4. qtbug50487_creator.jpg
          555 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes