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

QWindow::resize() does not work for embedded windows

    XMLWordPrintable

Details

    • macOS

    Description

      we embed a QWindow into a cocoa application via getEmbeddableView.

      before embedding the window into the nsview hierarchy, QWindow::resize() works. after embedding, QWindow::resize() stops working. dumping the geometry of the QNSView (QWindow::winID()), clearly shows that the change is not applied.

      i've worked around this issue locally by calling [(NSView*)myWindow->winId() setFrameSize: newSize] manually, but it would be great to see a fix upstream. (since i've worked around it on the user-side, i cannot spend time to provide a reproducer, but it should be fairly trivial)

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes