View Single Post
Old 03-19-2023, 01:09 PM   #877
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,037
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Anything about the weird dark mode problem I've been having?

It only started happening in 1.0.216.

I can reliably trigger it by setting Windows Personalize > Colours > Choose your Colour: Custom > Default App Mode: Light while Calibre is in dark mode.

I noticed this in the note_viewer_dialog.py:

Code:
from calibre.gui2.palette import windows_is_system_dark_mode_enabled, linux_is_system_dark_mode_enabled
I think if you figure out to change that to follow Calibre instead of system that may fix it.

EDIT: In this thread: QApplication.instance().is_dark_theme

Last edited by ownedbycats; 03-19-2023 at 01:13 PM.
ownedbycats is online now   Reply With Quote