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

--- Comment #15 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
(In reply to David Edmundson from comment #14)
> If it's set to anything it won't try auto-detection. If we try auto
> detection (which in 5.27 moved to the KDE PlatformTheme) we'll be creating
> GL contexts. This is throwing kwin off.
> 
> I remember in the past kwin explicitly didn't use QtQuickSettings (though I
> can't remember why).
> Super worst case we add a special guard into the QPT to ignore kwin.

https://invent.kde.org/plasma/plasma-integration/-/blob/38c985d826acc2bb233a6e608bce8502e7216ff4/src/platformtheme/qtquickrenderersettings.cpp#L103
is Q_COREAPP_STARTUP_FUNCTION correct?

startup hooks are called in QCoreApplicationPrivate::init(), and
QGuiApplicationPrivate::init() calls QCoreApplicationPrivate::init() before
creating the QPA plugin
https://codebrowser.dev/qt5/qtbase/src/gui/kernel/qguiapplication.cpp.html#1527

Just to be sure, I added a qDebug in checkContext() and there's no global share
context, kwin requests a global share context

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

Reply via email to