View Single Post
Old 04-15-2024, 08:39 AM   #63
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,736
Karma: 5446592
Join Date: Nov 2009
Device: many
@DiapDealer, @BeckyEbook

Why does Windows not use a windows style or new windows style but instead use "fusion"?

If in light mode, does the application style ever get set directly to "fusion" in our main.cpp?

If so, that style should be passed through into CaretStyle as app.style() for use with QProxyStyle.

Perhaps we need to reorganize main.cpp to explicitly set style first before passing it through any QProxyStyles?

Also, the macStyle makes dark-light theming work more fully than fusion. Perhaps a Windows specific style would do the same for Windows leaving the hard coded dark mode changes only used by Linux?

Does using a Windows style on windows and Qt allow auto dark-light theme switches without having to restart Sigil work like it does for Qt and macOS with the macOS style?

Last edited by KevinH; 04-15-2024 at 09:18 AM.
KevinH is offline   Reply With Quote