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

Undocked widgets does not get focus correctly on Mac ( Carbon )

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.6.1, 4.6.2, 4.6.3
    • Widgets: Main Window
    • None
    • Mac OS X Carbon
    • macOS

    Description

      Using a QDockwidget when it is undocked will not get focus correctly when you click on it, so somethimes you need to give it focus by clicking on window title.

      Use the attached example to reproduce this issue.

      In the example, undock one of the DowckWidgets. Then click in the central widget so that it has focus. Then click on the label in the undocked widget. You can see that the central widget still has the focus. This is different from the behavoiur on Windows and Mac Cocoa builds where the focus is set to the undocked widget.

      Attachments

        1. main.cpp
          1 kB
          Martin Petersson
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            xcm Martin Petersson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes