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

Native Window Graphics Overwriting [5.10.0 regression]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.10.0
    • QPA
    • None
    • OSX 10.13.2 / Qt 5.10.0 / XCode 9.2

       
    • macOS

    Description

      First of all, this is a regression compared to past version (<= 5.9.1)

      I have a Qt window that hosts a native NSView child, that covers almost all the surface.

      When the Qt Window is activated (mouse click), or deactivated (click on another window), then the window becomes blank. I mean, the native window's graphics are somehow overwritten. This is weird, because this native NSView is an opaque nsview. If I click in the window to update some of the native graphics, these graphics appear again, out of the blank surface (just to prove the native nswindow is still there and properly sized).

      I have seen that many changes have occurred in qcocoawindow.mm, but also most importantly in QCocoaBackingStore::flush, but I could not figure out where the problem comes from.

      I doubt I can create a demo application, but maybe you could give me an idea where I should look in the 5.10.0 changes, ie. where the cause of this could be.

      Thanks

       

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            jirauser26727 user-04d21 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes