https://bugs.kde.org/show_bug.cgi?id=423812
Bug ID: 423812
Summary: Kirigami ShadowedRectangle fails with KDeclarative's
ForceGlCoreProfile=true setting
Product: frameworks-kirigami
Version: Master
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Not decided
SUMMARY
The old developer setting "ForceGlCoreProfile=true" from KDeclarative triggers
--- 8< ---
auto format = QSurfaceFormat::defaultFormat();
if (s.forceGlCoreProfile()) {
format.setVersion(3,2);
format.setProfile(QSurfaceFormat::CoreProfile);
}
// [...]
QSurfaceFormat::setDefaultFormat(format);
--- 8< ---
(see
https://invent.kde.org/frameworks/kdeclarative/-/blob/master/src/quickaddons/qtquicksettings.cpp)
whereas Kirigami seems at least for ShadowedRectangle to rely on newer openGL
versions being supported in the shader code.
STEPS TO REPRODUCE
1. Add this config entry to .config/kdeglobals
--- 8< ---
[QtQuickRendererSettings]
ForceGlCoreProfile=true
--- 8< ---
2. (Re)start systemsettings, open Colors, Plasma Style, App Style or any other
config module using previews where selection is rendered with ShadowedRectangle
OBSERVED RESULT
Rectanlge is not painted, console log talks about shader not being compilable
EXPECTED RESULT
Rectangle painted
I had this flag set from some old experiments with custom openGL content in
Plasma widgets, and so far never had seen visual glitches. This popped up only
in a recent month.
--
You are receiving this mail because:
You are watching all bug changes.