Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
Description
Need a possibility to create a representation of an imported window (surface) by QWindow::fromWinId(WId id), where "id" is a string.
"set_parent_of" request then can be used to implement support for QWindow::setTransientParent() method.
https://cgit.freedesktop.org/wayland/wayland-protocols/tree/unstable/xdg-foreign
This can be used in xdg-desktop-portal-kde: https://cgit.kde.org/xdg-desktop-portal-kde.git/tree/src/utils.cpp
Attachments
Issue Links
- relates to
-
QTBUG-74085 Crash when pointer reaches a custom wayland surface from Qt's wl_display
-
- Closed
-
-
QTBUG-76983 QtWayland does not return a native handle from winId()
-
- Closed
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-73801 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
258788,2 | Client: Add safer fromObject function to scanner | dev | qt/qtwayland | Status: MERGED | +2 | 0 |
258789,2 | Client: Add test for surfaces created by application code | dev | qt/qtwayland | Status: MERGED | +2 | 0 |
264595,3 | Client: Add safer fromObject function to scanner | 5.12 | qt/qtwayland | Status: MERGED | +2 | 0 |