Bug 445186

Summary: Krita doesn't respect native Qt theme?
Product: [Applications] krita Reporter: Albert O'Shea <albertoshea2>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 4.4.8   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Albert O'Shea 2021-11-09 06:51:30 UTC
I tried looking for any information regarding this, but surprisingly I couldn't find anything, despite this seeming like a pretty hard-to-miss issue. Krita seems to force the use of the 'Breeze' Qt style, even if I'm not using Breeze. The color scheme options built into Krita can be used to change the colors of course, but not the widget style. After looking into the 5.0 beta versions, it looks like you can select from a few different choices of widget styles now, (windows, fusion, etc) but no option to use the native Qt style. For my own case, I'm using a kvantum Qt theme with transparency effects, and nothing of this theme gets carried over to Krita. I don't really understand why this limitation is in place, or if it's done on purpose, but I just wanted some feedback on this since I couldn't find anything about it.
Comment 1 Halla Rempt 2021-11-09 07:06:48 UTC
Krita only supports a subset of possible styles because most styles are too broken and only lead to bug reports. You can disable this by setting the KRITA_NO_STYLE_OVERRIDE environment variable to something non-empty.
Comment 2 Albert O'Shea 2021-11-09 08:16:01 UTC
Thank you, that makes sense