Quote:
Originally Posted by kovidgoyal
@thiago: I dont see why the portable and installed version would behave differently. There is no code difference in them as far as handling icons is concerned. Try cleaning out your calibre config folder temporarily and seeing if that changes things.
|
Thanks, that gave me hint. I did what you asked and everything worked fine again, so I decided to look at my config folder files and noticed this two files: "icons-any.rcc" and "icons-dark.rcc". The light icons were missing. Then, I selected the theme for light only on the UI and it worked again. Is that a bug? I mean, if the user chooses only a theme for dark mode, shouldn't the switch work as normal using the default light theme?
Also, I have one question: when the user changes from light to dark (or the other way around), does calibre emit any signal for the plugin to catch? My plugin has built-in themes but, without a signal, it only changes when calibre is restarted.