[konqueror] [Bug 500173] Spurious windows while generating HTML preview in Wayland

"Konstantin Ivanov" <[email protected]>
Newsgroups gmane.comp.kde.devel.kfm
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=500173

--- Comment #6 from Konstantin Ivanov <[email protected]> ---
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.