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
          cap000259.png
          22 kB
        2. cap000260.png
          cap000260.png
          22 kB
        3. plaintextedit.py
          0.6 kB
        4. same_app_different_sizes.png
          same_app_different_sizes.png
          20 kB
        5. screenshot-1.png
          screenshot-1.png
          10 kB
        6. screenshot-2.png
          screenshot-2.png
          10 kB
        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