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

Cocoa: Cursor shape not updated if QWindow is embedded (in certain situations)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7, 6.8
    • QPA
    • None
    • macOS

    Description

      Observation:

      We noticed, that when Qt is being used as part of an AudioUnit plugin (dynamic library built with static Qt) and hosted into Apple's Logic Pro (which uses so called "out of process hosting", creating a sort of remote executable to run the plugin), the cursors cannot be changed.

       

      Notes:

      When looking into the implementation, it seems that changing the cursor itself does work (using [NSCursor set]), so the source of the issue seems to come from somewhere else, possibly from how cursor invalidation is done. E.g. the cursor is only changed once (if the shape changes), but afterwards not anymore. This does not seem to be enough to "stick" in this situation. Another explanation for the issue could be, that there is an automatic reset to the arrow cursor happening at some place for some reason. 

       

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            stefan.wastl Stefan Wastl
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes