https://bugs.kde.org/show_bug.cgi?id=504126
--- Comment #7 from Konstantin Ivanov <kivanov1...@gmail.com> --- (In reply to Yi Yang from comment #6) > For Fedora, I have noticed that this problem seems to have a pretty high > count on ABRT analytics: That's pretty bad. The way I see it now it's basically guaranteed to crash under X11. (In reply to Loïc Yhuel from comment #5) > I only see two ways to properly switch to offscreen : > - use another way to get themeName, to avoid the creation of the > QGuiApplication in the main process : maybe a dedicated subprocess, or a > fork() > - add something like KWindowSystem::resetPlatform() to reset the cached > value Thanks for the information. I'll try to look into that, but I hope someone experienced gets involved because I know almost nothing about KDE internals or Qt. The history of this is the following: there's a Wayland-only bug for generating HTML previews https://bugs.kde.org/show_bug.cgi?id=500173 that happens because of Qt bug https://bugreports.qt.io/browse/QTBUG-134012 My two or three commits are a hackish workaround that doesn't work for X11, as I've now realized. So basically the current situation is either Wayland users should live without HTML previews (without my fix they have to be turned off, otherwise they disrupt the workflow), or X11 users should live without previews at all. The latter option seems to be grossly unfair, while the former is just a small inconvenience. -- You are receiving this mail because: You are watching all bug changes.