Open seqizz opened 4 years ago
I see the same on master
. Because you see this with a new user, my first hypothesis is that this is due to duplicate search paths. We know some Qt/KDE applications have duplicate search paths due to a limitation in mkWrapper
.
I can confirm this bug on NixOS 19.09. I'm seeing duplicate Breeze and Breeze Dark, but only one Oxygen.
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
Still reproduces for me on 21.05.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/who-uses-nixos-with-kde/18212/19
Can confirm this appears on unstable.
Seeing this on 22.11 release, only for breeze themes though.
Same here, fresh install with KDE iso.
I'm not very familiar with the internals of Plasma, but if Plasma uses $XDG_DATA_DIRS
as its search path, then the duplicate search path hypothesis is probably correct and also (partially) explains why Breeze is the only theme shown twice. On my OS, Breeze is contained in:
/run/current-system/sw/share/plasma/look-and-feel
containing org.kde.breezedark.desktop org.kde.breezetwilight.desktop org.kde.breeze.desktop org.kde.oxygen
(all as symlinks) and in/nix/store/p0if46kwzmsc76xjf68jy7hm26b232cc-plasma-workspace-5.27.10/share/plasma/look-and-feel
containing org.kde.breezedark.desktop org.kde.breezetwilight.desktop org.kde.breeze.desktop
(all as bare directories)As seen in the list above, Oxygen only shows up once, while Breeze shows up twice. Both paths are contained in my $XDG_DATA_DIRS
variable each without the /plasma/look-and-feel
subpath.
I'm not familiar enough with Nix to fix or debug this further, but I guess this could be problem.
Describe the bug After upgrading to 19.09 (and thus plasma desktop 5.16), started to see duplicate elements on systemsettings. strace didn't show different nix store paths for the duplicate elements (like breeze or oxygen themes) but they're listed 2/3 times.
To Reproduce Steps to reproduce the behavior:
Screenshots![image](https://user-images.githubusercontent.com/307899/66699398-d6175f80-ece6-11e9-904c-9b8539139a0d.png)
Metadata
"x86_64-linux"
Linux 5.3.5, NixOS, 19.09.741.dbad7c7d59f (Loris)
yes
yes
nix-env (Nix) 2.3
"nixos-19.09.741.dbad7c7d59f"
"home-manager-19.09, nixos1909-19.09.741.dbad7c7d59f"
/nix/var/nix/profiles/per-user/root/channels/nixos