[konqueror] [Bug 500173] Spurious windows while generating HTML preview in Wayland
Konstantin Ivanov
bugzilla_noreply at kde.org
Wed Feb 19 08:28:11 GMT 2025
https://bugs.kde.org/show_bug.cgi?id=500173
--- Comment #6 from Konstantin Ivanov <kivanov1992 at gmail.com> ---
Here's an update and a possible workaround: I've posted the story about this
issue on another forum (in Russian,
https://www.linux.org.ru/forum/development/17886472), and a good Samaritan
there suggested that it's possible to patch kio-extras to utilize Qt Platform
Abstaraction forcing off-screen rendering, and he even made a patch. It's just
one line in thumbnail.cpp before QApplication app declaration:
qputenv("QT_QPA_PLATFORM", "offscreen");
IMHO it's a wise choice anyway because no thumnailer plugin should be allowed
to draw on the screen. I've tested it, and it works for me (just
/lib/qt6/plugins/kio/thumbnail.so needs to be recompiled).
I'm attaching a patch to this report because I'm not sure how to proceed from
here. Is this a good solution? Would someone like to make a merge request? I've
never done it but I can try if you approve of it.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list