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

QCombobox focus rect does not follow Windows 7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.12.2
    • 4.6.3, 4.7.3
    • GUI: Look'n'Feel
    • None
    • Windows 7
    • 7ba16f4c1ea172026da834887de1b8da797de79a

    Description

      QCombobox focus rect differs from the native look'n' feel on Windows 7:
      On windows 7, there is a slight margin between the focus rect and the widget border, and the rect does not include the drop down arrow.

      See attached screenshot comparing a simple form written with Designer and a default windows box (Control Panel, Sound).

      The issue is that the combobox is considered as a button in QWindowsVistaStyle, therefore the focus rect is drawn the same was as a button. It should be different.

      While it looks a minor issue, customers complain that the focus is difficult to find when the form is a bit crowded.

      Attachments

        1. Combobox focusrect.png
          50 kB
          Pierre-Nicolas Rigal

        Issue Links

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

          Activity

            People

              anrocha André De La Rocha (Inactive)
              sysedit Pierre-Nicolas Rigal
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes