-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vscode: Duplicate icon in plasma with URL Handler tag if .local/share/plasma-systemmonitor/overview.page exists. #391341
Comments
Correction: It seems you need to log out and back in again to trigger the issue. I have updated the steps to reproduce. |
@jpcregan Have you tried with any other electron-based applications? Does it do the same behaviour? |
Discord and VSCodium work fine, VSCodium having the exact same format URL Handler file.
5c5
< Exec=code %F
---
> Exec=codium %F
7c7
< Icon=vscode
---
> Icon=vscodium
9c9
< Name=Visual Studio Code
---
> Name=VSCodium
11c11
< StartupWMClass=Code
---
> StartupWMClass=vscodium
16,17c16,17
< Exec=code --new-window %F
< Icon=vscode
---
> Exec=codium --new-window %F
> Icon=vscodium
4c4
< Exec=code --open-url %U
---
> Exec=codium --open-url %U
6c6
< Icon=vscode
---
> Icon=vscodium
8,9c8,9
< MimeType=x-scheme-handler/vscode
< Name=Visual Studio Code - URL Handler
---
> MimeType=x-scheme-handler/vscodium
> Name=VSCodium - URL Handler
12c12
< StartupWMClass=Code
---
> StartupWMClass=vscodium |
I was able to kinda repro this on nixos-unstable, I'm not sure the repro steps are pointing at the root of the problem. Before I tested anything, I hadn't pinned code, and I pinned code, it worked as expected despite the file existing. I rebooted, |
Sounds like an issue on Plasma in general.
I have faced this too, back when I was still using Plasma, but those were Plasma 5 days. |
I'm currently seeing these duplicate icons as well, I have not been able to locate |
Nixpkgs version
Describe the bug
Heyo,
Still new to NixOS, liking it so far but a bug has appeared that I cannot seem to find a fix so I tried to investigate it myself.
I've a basic setup with plasma6 using vscode for development. Everything works as expected but sometimes VS Code opens outside the pin in the task bar, and it's related to the URL handler desktop shortcut.
I tried reproducing steps to see what triggered it, but after about a week or so (and a couple reinstalls to test) I then decided to bisect my home directory to find the file.
If .local/share/plasma-systemmonitor/overview.page does not exist, then everything works as expected. As soon as that file exists, even if it's blank, the problem occurs.
I'm well versed with Linux but have zero clue on where to investigate from here, hence the bug report. It still baffles me how a seemingly unrelated package config file existing can affect the behaviour of plasma opening an entirely different program.
Any help is appreciated.
Regards,
Jordan
Steps to reproduce
Expected behaviour
.local/share/plasma-systemmonitor/overview.page existing should have no effect on other programs
Screenshots
Behaviour without overview.page


As soon as created
Relevant log output
Additional context
No response
System metadata
"x86_64-linux"
Linux 6.6.83, NixOS, 24.11 (Vicuna), 24.11.715729.a1185f4064c1
yes
yes
nix-env (Nix) 2.24.12
/nix/var/nix/profiles/per-user/root/channels/nixos
Notify maintainers
vscode
@eadwu
@Synthetica9
@bobby285271
@JohnRTitor
@JeffLabonte
plasma
@ilya-fedin
@K900
@LunNova
@mjm
@NickCao
@SuperSandro2000
@ttuegel
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE
.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: