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

OS X: Tool window behaves differently depending of the initial flags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.4.1, 5.5.0 Alpha
    • Fix Version/s: 5.8.0
    • Component/s: QPA
    • Environment:
      OS X 10.9.5 10.10
    • Platform/s:
      macOS
    • Commits:
      aed7540d45096791d1a824f500694a15426fd94b

      Description

      Set widget window flag to Qt::Tool before showing it. All behaves correctly that window is on top of application but behind native windows.

      Set widget window flag first to some other (Qt::Widget) and set window visible. Set now window flag to Qt::Tool and see that window stays on top of all desktop windows what is wrong.

      Easy to test with the attached sample.

      There's also error when trying to change window type from widget to tool:
      NSWindow does not support utility styleMask 0x10

        Attachments

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

          Activity

            People

            • Assignee:
              tpochep Timur Pocheptsov
              Reporter:
              qtcomsupport Qt Support
            • Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes