docker-picard
docker-picard copied to clipboard
Dark mode not working
I tried to enable dark mode. According to the description in the parent image this is possible with the use of environment variable DARK_MODE.
Simply adding -e DARK_MODE=1 to docker run command didn't help (color of popup from novnc and picard's header changed, but not application itself).
Also, in logs following message started appearing during application start:
[app ] QApplication: invalid style override 'Adwaita-Dark' passed, ignoring it.
[app ] Available styles: Windows, Fusion
Installation of adwaita-qt package didn't help.
As I understand problem is PyQt being installed with pip, and not seeing styles added by adwaita-qt package.
Uninstallation of PyQt with pip and following installation of it with apt enables dark mode in application (and breaks almost everything else)
Here's example of dockerfile I used to get dark mode
FROM mikenye/picard
RUN pip uninstall -y pyqt5
RUN apt-get update && \
apt-get install -y python3-pyqt5 adwaita-qt
Is it somehow possible to get dark mode working without breaking functionality of the app?
+1. I would love to have it as well.
+1 This is killing me.
Consider jlesage/musicbrainz-picard instead