vorta icon indicating copy to clipboard operation
vorta copied to clipboard

Dark mode doesn't activate when installed with pipx

Open lamyergeier opened this issue 2 years ago • 5 comments
trafficstars

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

lamyergeier avatar May 05 '23 20:05 lamyergeier

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.

real-yfprojects avatar May 11 '23 18:05 real-yfprojects

You can install PyQt system packages and then set the env var to inherit them with --system-site-packages. (not tested though)

m3nu avatar May 12 '23 12:05 m3nu

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 ?

zaphod80013 avatar Dec 30 '23 01:12 zaphod80013

I installed as root using

Do you have the same issue when installing without root?

real-yfprojects avatar Dec 31 '23 10:12 real-yfprojects

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)

lamyergeier avatar Dec 31 '23 11:12 lamyergeier

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.

github-actions[bot] avatar Apr 17 '24 02:04 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Apr 24 '24 02:04 github-actions[bot]