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

Background color of QPlainTextEdit without border cannont be set on Win11

XMLWordPrintable

    • Windows
    • 072bf40fe (dev), 51e180da6 (6.10), 4016fbb87 (6.9), 460d1efb5 (tqtc/lts-6.8)

      When running the attached project QtColors.zip on Windows 11, the background color for the QPlainTextEdit widget without border is not set, as seen in Win11.png (Widget on the right):
      Background should be green.
      Background is blue (background of parent widget).

      The background color is correct for the same widget with border.
      The background color is also correct (in all cases) on Windows 10 (see Win10.png)

      Probably related to QTBUG-128781

        1. QtColors.zip
          2 kB
        2. Win10.png
          Win10.png
          4 kB
        3. Win11-1.png
          Win11-1.png
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            daniel_frey Daniel Frey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes