vorta
vorta copied to clipboard
Dark mode doesn't activate when installed with pipx
Description
Dark mode doesn't activate when installed with pipx
Reproduction
- [X] I tried to reproduce the issue.
- [x] I was able to reproduce the issue.
OS
Ubuntu 23.04
Version of Vorta
0.8.12
What did you install Vorta with?
pipx install "borgbackup==2.0.0b4"
pipx install vorta
Version of Borg
2.0.0b4
Logs
No response
I can reproduce this on GNOME (however not in KDE Plasma) in any kind of virtual python environment. This is because the virtual envs do not use the system installed qt and pyqt. They therefore use the default qt style called Fusion instead of the one provided by the distribution. I don't know how to work around this.
You can install PyQt system packages and then set the env var to inherit them with --system-site-packages. (not tested though)
I'm seeing the same issue on pop-os (22.04 Gnome 42.5) I installed as root using
python -m pip install vorta
it istalled to /usr/local/lib/python3.10/dist-packages so this should be running with system packages, no venv involved. Does that not refute the assertion made by real-yfprojects ?
I installed as root using
Do you have the same issue when installing without root?
pipx install vorta
@real-yfprojects This installs without root and I am facing the same issue
Refer: [pypa/pipx: Install and Run Python Applications in Isolated Environments](https://github.com/pypa/pipx)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue was closed because it has been stalled for 7 days with no activity.