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

Mac: QStyleOptionComboBox draws on different position when widget is not in focus

    XMLWordPrintable

Details

    • macOS

    Description

      QStyleOptionComboBox::drawComplexControl(...) is used to draw, It draws the combobox at correct position but moment if widget is out of the focus very strangely it re draw it different position (top left) in widget. If this widget is again in focus it redraws it at correct position.

      To reproduce run the attached example and then bring some other application on the right side of this example window.

      Attachments

        1. focused.png
          focused.png
          17 kB
        2. test_label.zip
          4 kB
        3. unfocused.png
          unfocused.png
          23 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            irfan.omair@digia.com Irfan Omair
            Votes:
            6 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes