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

QcomboBox draws focus frame even when setting Qt::WA_MacShowFocusRect to false

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.0.1
    • None
    • macos
    • macOS

    Description

      When creating an editable combobox and calling 

      setAttribute( Qt::WA_MacShowFocusRect, false );

      the focus rect is still drawn. This is particularly annoying when you want to combine the combo box with e.g. the buttons from a QSPinBox to create a widget akin the stroke width widget of illustrator.

       

      An almost trivial solution would be to honour the attribute when drawing and to set it to true in the QComboBox constructor for backward compatibility.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            gvanvoor Gregory Van Vooren
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes