Replies: 1 comment 1 reply
-
Being a style plugin, Kvantum can't apply its themes on the fly. Only a "platform theme" plugin has the permission to do such jobs (usually inside the directory That being said, restarting apps (or logging out and in) is always better than an on-the-fly applying of styles/themes because Qt can't apply some details on the fly, especially those related to translucency. Thanks for the kind words, BTW. I'm converting this to a discussion for all users. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there! First I want to thank you for the tremendous work you've done with Kvantum.
I'd love to be able to change the theme of currently running Qt applications. My brain remembers this working before, but I can currently find no hard evidence of it at all.
I am currently running Kvantum 1.1 and tried changing the theme via both Kvantummanager's GUI and the CLI. As 'applications to be themed' I have tried both Qt5 and Qt6 applications. Both are themed correctly after an application restart, but not before.
I see you currently have a
restyleWindow
function in Kvantummanager. Might it be possible to execute something similar in other applications upon theme change? I suppose one could watch the Kvantum config for changes to be notified of that?Unfortunately, I know virtually nothing about Qt or its internals, but if you believe this to be possible, I may take a crack at it.
Beta Was this translation helpful? Give feedback.
All reactions