Bug 465482 - Duplicate icons on taskbar and unexpected icon change due to similar waydroid app installed.
Summary: Duplicate icons on taskbar and unexpected icon change due to similar waydroid...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 5.26.5
Platform: Other Other
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-08 16:36 UTC by gigastarcraft2
Modified: 2023-03-11 06:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Tor taskbar (6.59 KB, image/jpeg)
2023-02-08 16:36 UTC, gigastarcraft2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gigastarcraft2 2023-02-08 16:36:31 UTC
Created attachment 156078 [details]
Tor taskbar

When launching Tor browser KDE duplicates icon. In order to use app you need to click on duplicated one. 
Another thing I found after installing waydroid it changes standard Tor icon to android one... 

STEPS TO REPRODUCE
1. Download and install tor browser.
2. Click on icon and move to taskbar adding tor icon.
3. Start tor browser.
4. Install waydroid and install tor browser on waydroid OS and start again icon changes but it should not.

OBSERVED RESULT
Duplicate icons on taskbar and icon changes to waydroid tor browser.

EXPECTED RESULT
No duplicates and no different icons.

SOFTWARE/OS VERSIONS 
Linux/KDE Plasma:  6.1.8-artix1-1 (64 bit)
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Wayland

ADDITIONAL INFORMATION
https://i.imgur.com/tCPyBDN.jpeg
Comment 1 Nate Graham 2023-02-08 19:35:08 UTC
This is a bug in the app; apparently it changes its WM_CLASS or WM_NAME after launch. It should either not do that, or else specify the expected new values in its .desktop file. Doing neither is invalid behavior.
Comment 2 gigastarcraft2 2023-03-11 06:56:32 UTC
(In reply to Nate Graham from comment #1)
> This is a bug in the app; apparently it changes its WM_CLASS or WM_NAME
> after launch. It should either not do that, or else specify the expected new
> values in its .desktop file. Doing neither is invalid behavior.

It turns out for tor browser I had to copy .desktop file to /home/[user name]/.local/share/applications/ and now it works as it should. I do not know for other apps.