Summary: | Snap apps pinned to Task Manager get executed by their path, not the exec line of their .desktop file | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Erfan Tabatabaei <erfan.ta> |
Component: | Task Manager and Icons-Only Task Manager | Assignee: | Eike Hein <hein> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | kde, lemmyg, nate, plasma-bugs |
Priority: | NOR | ||
Version: | 5.14.3 | ||
Target Milestone: | 1.0 | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Erfan Tabatabaei
2018-12-26 16:53:16 UTC
At a plasma level we just run whatever is in the Exec line of the .desktop file. Your bug isn't in any code we control, sorry (In reply to David Edmundson from comment #1) > At a plasma level we just run whatever is in the Exec line of the .desktop > file. > > Your bug isn't in any code we control, sorry This is interesting actually. I tried launching it from a laucnher on the desktop and the problem does not show up then. It seems that if it launches according to the .desktop file, all goes well. But pinning it may do a modification to the .desktop file. Perhaps it removes the beginning "env ..." line? Right click -> "edit applications" should show you. If you do find some info that suggests we're breaking the .desktop file please do reopen this with the newfound information. (In reply to David Edmundson from comment #3) > Right click -> "edit applications" should show you. > > If you do find some info that suggests we're breaking the .desktop file > please do reopen this with the newfound information. Found the problem. It seems that when pinning Firefox, Task Manager is not using the .desktop file at all. It is using the /snap/firefox/159/firefox binary instead. I also installed opera-developer snap and pinned it. Task Manager correctly pins .desktop file for opera-developer, but not for Firefox. It's in the $HOME/.config/plasma-org.kde.plasma.desktop-appletsrc file. It contains a lot of gibberish, but here is a summarized one without all the extra bits. I also uploaded a full version of the file at https://pastebin.com/t9zkxteC. plasma-org.kde.plasma.desktop-appletsrc:launchers=applications:org.kde.dolphin.desktop,applications:opera-developer_opera-developer.desktop?iconData=[CUT],file:///snap/firefox/159/firefox?iconData=[CUT],applications:chromium.desktop,applications:com.discordapp.Discord.desktop,applications:steam.desktop,applications:qbittorrent.desktop,applications:lutris.desktop,applications:q4wine.desktop,file:///usr/bin/gimp-2.10?iconData=[CUT],applications:obs.desktop,applications:org.kde.kdenlive.desktop,file:///usr/bin/ghb?iconData=[CUT],applications:org.kde.kate.desktop,applications:virtualbox.desktop,applications:systemsettings.desktop,applications:org.kde.konsole.desktop > file:///snap/firefox/159/firefox
Looks like the task manager is getting confused by the fact that Snaps are mounted.
Out of curiosity, do you see any difference between:
- Pinning the Snap Firefox when it's currently running
- Pinning the Snap Firefox when it's not running
(In reply to Nate Graham from comment #6) > Out of curiosity, do you see any difference between: > - Pinning the Snap Firefox when it's currently running > - Pinning the Snap Firefox when it's not running Yes. Pinning it from the application menu pins the .desktop file. But launching it leads to another firefox icon appearing in the Task Manager, which is the binary. Thanks for the information! Looks like an old issue. Setting it to needs more info. Please try with a newer version(plasma 5.23.5) and if this is not an issue any more let us know. Bugs placed into NEEDSINFO status will receive a reminder if the ticket: Is at least 15 days old Has not received any comment within 15 days If a bug remains in NEEDSINFO for another 15 days with no comment, it will be closed as RESOLVED > WORKSFORME. If a bug remains in NEEDSINFO with a comment provided within less than 15 days, no action will be taken (as it does not meet the above criteria). Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |