On Wednesday, December 30, 2015 10:13:52 Dmitry Shachnev wrote: > Control: forwarded -1 https://bugreports.qt.io/browse/QTBUG-50212 > > Hi Leon, > > On Tue, Dec 29, 2015 at 04:35:28PM -0500, Leon Bottou wrote: > > This bug appears when one embeds a QWindow inside a GTK socket container > > using the functions QWindow::setParent and QWindow::fromWinId(). > > According to the doc, the size of the QWindow should track the size of the > > container. > > This used to work with Qt-5.2 and no longer works with this version of Qt. > > I don't think I know anything about XEmbed, so let's wait for upstream to > look at this issue. I have marked this bug as forwarded accordingly. > > P.S. pygtk in the example? seriously? :) > > -- > Dmitry Shachnev
XEmbed is the protocol that allows you to embed a window managed by one toolkit into a window managed by another toolkit, possibly running in another process. For instance this is the code that allows you to have a Qt system tray application inside a gnome desktop (or conversely). This is also what allows us to run a Qt-based djvu viewer as a browser plugin inside mozilla (which is not Qt based.)