https://bugs.kde.org/show_bug.cgi?id=424024

Albert Astals Cid <aa...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kxmlgui/commit/03b0f
                   |                            |4c333c688059645846563e77957
                   |                            |72e62bfe

--- Comment #8 from Albert Astals Cid <aa...@kde.org> ---
Git commit 03b0f4c333c688059645846563e7795772e62bfe by Albert Astals Cid, on
behalf of David Edmundson.
Committed on 29/09/2020 at 22:34.
Pushed by davidedmundson into branch 'master'.

[kmainwindow] Don't create native windows for non-toplevel windows

winId() creates a QPlaformWindow; i.e a native xcb_window or wl_surface.
This makes sense for a toplevel which will be a real window.

If someone (in this case localize) uses kmainwindow as a subwidget
inside an existing window the current code will create a subwindow for
this widget. It's a very weird window, as the window is never actually
mapped so all contents are drawn as part of the parent window. Leaving
us in a very corrupt state.

Doing this on XCB is wasteful but the side effects are unnoticed. On
QtWayland things explode in weird ways.

M  +5    -3    src/kmainwindow.cpp

https://invent.kde.org/frameworks/kxmlgui/commit/03b0f4c333c688059645846563e7795772e62bfe

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to