Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26572

Text selection background has gaps between lines

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Fixed
    • Affects Version/s: Qt Creator 6.0.0-beta1, Qt Creator 6.0.0-beta2, Qt Creator 6.0.0-rc1
    • Fix Version/s: None
    • Component/s: Editors
    • Labels:
      None
    • Environment:
      Gentoo Linux AMD64
    • Platform/s:
      Linux/X11

      Description

      The background color when selecting multiple lines of text has seams in it between lines. This depends on font size. Example:

      To reproduce, just hold down the keyboard's CTRL  key and scroll the mouse wheel up or down. This will change the font size. Some font sizes will have this issue, some won't.

      Qt Creator 5 does not have this problem.

      Edit:

      I just noticed in this screenshot that there is no gap between the first and second line, but at the very end of the first line (after "bool") you can see that the height of the selection highlight is short by a pixel. This might be a hint as to cause of the issue.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              davschul David Schulz
              Reporter:
              realnc Nikos Chantziaras
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes