View Single Post
Old 05-29-2025, 11:20 AM   #25
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,622
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I've noticed some different behavior on different Windows machines when it comes to on-the-fly-theming of plugin pyside6 interfaces.

It seems to work on a Windows 11 machine, but on a Windows 10 laptop of mine, I need to rely on the match_sigil_darkmode function in plugin_utils to force a dark theme.

So for now, I'm recommending plugin devs pass "True" for the match_dark_palette parameter of PluginApplication of plugin_utils and plugin_utils_light. Just on the Windows platform. It safe to use the default "False" for Linux and macOS.

I was wrong about the two different windows dark themes above. The routine in plugin_utils will match either/or just fine.

The only downside here is that pyside6 gui plugins will not change themes on the fly (with system theme changes) on Windows with this strategy.

Hope that makes sense.

Last edited by DiapDealer; 05-29-2025 at 11:23 AM.
DiapDealer is offline   Reply With Quote