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

Scrollbar matching text markers incorrectly positioned on Windows 11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 17.0.0, Qt Creator 17.0.1
    • Editors
    • Windows 11.
      I didn't have this problem on Windows 10.
    • Windows

      Steps to reproduce
      1. Change font Zoom setting to 110% (Edit > Preferences, Text Editor > Fonts & Colours)
      2. Open a large file like https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/session/onnxruntime_cxx_api.h
      3. Scroll down half way. Select a variable and press Ctrl+F
      Result

      The green markers are in the wrong place on the scroll bar. The matches are currently in the view and so should be within the scroll bar's thumb. Instead, the green markers are positioned outside the thumb, above it.

      Other tickets

      This issue is not related to code folding (QTCREATORBUG-32332). That bug is fixed in 17.0.

        1. image-2025-07-30-16-30-26-289.png
          67 kB
          Ryan Cuthbertson
        2. qtcreator-17.0.1-windows11.png
          165 kB
          Cristian Adam
        3. consolas.png
          172 kB
          Cristian Adam
        4. courier_new.png
          179 kB
          Cristian Adam
        5. lucida_console.png
          205 kB
          Cristian Adam
        6. segoe_ui.png
          169 kB
          Cristian Adam
        7. segoe_ui_phantom.png
          178 kB
          Cristian Adam
        For Gerrit Dashboard: QTCREATORBUG-33257
        # Subject Branch Project Status CR V

            davschul David Schulz
            ryan.cuthbertson Ryan Cuthbertson
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change