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

Problems with QTableEdit, QLineEdit, QPlainTextEdit in High-DPI / Upscaled Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.3.1, 6.4.0 Beta3
    • None

    Description

      Running my application on a screen with higher DPI, which is set to 125% in Windows 10's display settings, causes frame lines to go missing.

      Reproducible in QT Designer:

      • set screen zoom to 125% in Windows settings
      • call designer.exe
      • new widget
      • place a QTableWidget on the widget
      • move the QTableWidget around on the widget (arrow keys, e.g.)
      • some lines appear or hide, depending on where the widget is

      Same happens with other controls, too.

      Workaround is to set a style on these widget (border 1px solid black or similar).

      Attachments

        1. cap000259.png
          22 kB
          Sebastian B.
        2. cap000260.png
          22 kB
          Sebastian B.
        3. plaintextedit.py
          0.6 kB
          Sebastian B.
        4. same_app_different_sizes.png
          20 kB
          Sebastian B.
        5. screenshot-1.png
          10 kB
          Adrian Herrmann
        6. screenshot-2.png
          10 kB
          Adrian Herrmann
        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
            sbu Sebastian B.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes