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

Buttons are too small, focus rectangle only seen at the rounded corners

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.2
    • Widgets: Styles
    • None
    • Windows
    • 3babe8c73 (14.0)

    Description

      Consider this screencast from Qt Creator 14's about dialog:

      Notice that the focus rectangle is only seen at the corners of the buttons. 

      Now have a look at how Windows Explorer's settings dialog looks like:

      The buttons are less rounded, but still rounded, and the focus rectangle is inside the button!

      This would explain why the Qt Creator's buttons seem so stretched.

      Lastly here is a screencast from the Windows Notepad where the focus is around the buttons:

      Qt Creator started with -style windowsvista:

      This looks like the Windows Explorer above, and doesn't look like having small buttons at all.

      Attachments

        1. snip1.mp4
          278 kB
          Timur Pocheptsov
        2. snip2.mp4
          224 kB
          Timur Pocheptsov
        3. snpi0.mp4
          501 kB
          Timur Pocheptsov
        4. system-information.txt
          17 kB
          Cristian Adam
        5. win11-explorer.webp
          74 kB
          Cristian Adam
        6. win11-notepad.webp
          38 kB
          Cristian Adam
        7. win11-qt6.7.2.webp
          14 kB
          Cristian Adam
        8. windows11-accent-color.webp
          1.27 MB
          Cristian Adam
        9. windowsvista.webp
          23 kB
          Cristian Adam

        Issue Links

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

          Activity

            People

              wladimir.leuschner Wladimir Leuschner
              cadam Cristian Adam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes