fix(x11/layer-shell-qt): fix right click crash on wayland#18
Conversation
Fix popup attachment with libc++ Avoid using std::any_cast to retrieve the xdg_popup role, as libc++ RTTI comparison can fail across shared modules loaded with RTLD_LOCAL. Retrieve the popup through Qt's platform native interface instead, preventing Plasma context menus from causing a Wayland protocol error. Related URLs: * https://bugs.kde.org/show_bug.cgi?id=479679 * llvm/llvm-project#36746 * freebsd/freebsd-ports#431
1bec845 to
fd696e9
Compare
|
@SolDev69 @FarLightZ Hi, could you try installing the patched You can find the build artifacts here: https://github.com/lfdevs/termux-packages/actions/runs/29983436264?pr=18#artifacts |
WORKING BROTHA!!! IT'S WORKING YOU HACKERMAN!! I'LL GIVE U A HANDSHAKE ONCE WE'VE MET!!!!! |
|
UPD: Fullscreen also breaks the app somehow, anywhere, youtube, settings applications etc. YOU FIXED THE BUG WHEN EVERYTHING DIES WHEN YOU SEND AND APP-SHORTCUT TO A DESKTOP, NICEEEEEE |
|
UPD: I don't know if it's related to the fullscreen bug but when I open and close an aplicatiob (one cycle of opening and closing is enough) a bit later KWin crashes, it's like 10-15 seconds and bam blinking giant mouse, tested with firefox and Calligra document suite. |

Fix popup attachment with libc++
Avoid using std::any_cast to retrieve the xdg_popup role, as libc++
RTTI comparison can fail across shared modules loaded with RTLD_LOCAL.
Retrieve the popup through Qt's platform native interface instead,
preventing Plasma context menus from causing a Wayland protocol error.
Fix:
Related URLs: