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

Double width of some lines in QGraphicsView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 6.3.0 Beta2, 6.3.2, 6.4.1
    • None

    Description

      This is very old ugly behavior of QGraphicsView on Windows, as I remember. If enable QPainter::Antializing for QGraphicsView and add QGraphicsItem with painting vertical and horizontal lines without QPainter::Antializing, then every second line has somewhere doubled width. It's very ugly. Look at the double_width_lines.png.

      I figured out what is the reason of this problem. This happens if to set fonts, apps scale in Windows not to 100%. On screenshot scale is 125%!!!

      QTBUG-101058, QTBUG-100573 are related.

      With Qt 6.3.2 the situation changed a little to the better side, lines look more equal to each other, could say ok. But try to resize the window, play with resizing of app's window, lines change theirs widths, and that is wrong in my point of view.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vgt Eirik Aavitsland
            igor.mironchik Igor Mironchik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes