Bug 421061 - Ugly icons with some apps
Summary: Ugly icons with some apps
Status: RESOLVED UPSTREAM
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: 0.9.11
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-05 15:24 UTC by jan.claussen10
Modified: 2020-05-06 18:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jan.claussen10 2020-05-05 15:24:45 UTC
SUMMARY
Some icons are ugly. E.g. Xournal++ or a Wine app I am using. VSCode also when it is not running. While it is running, the icons is normal.

STEPS TO REPRODUCE
1. Install Latte
2. Install Xournal++ or VSCode
3. Pin the applications and close them

OBSERVED RESULT
Low resolution icons

EXPECTED RESULT
Normal looking icons

SOFTWARE/OS VERSIONS
Linux: Manjaro 64-bit
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Comment 2 jan.claussen10 2020-05-05 17:33:49 UTC
That solves it for Xournal++, but not for VSCode. For Wine- and Chromium apps it is not possible I guess. 

But why does it show the right icon, when you hover over it or when the applications is running. Doesn't that mean the right information is somewhere without the WMClass parameter?

Also you have to set the WMClass every time you update the application, because packagers forget about it. So a solution to make Latte independent from this parameter would be great. Cairo Dock provides an option to set custom icons for every launcher. This resolved the problem for me there. Latte does not have this option unfortunately.
Comment 3 Michail Vourlakos 2020-05-05 17:57:07 UTC
Latte is using plasma libtaskmanager for everything concerning tasks and launchers.
That issue should be also reproducable with plasma taskmanager. Plasma support assigning custom icons for your apps but the application desktop file should be valid.

Most of these issues are upstream issues from applications that do not have accurate desktop file or they are doing some strange with their WM_CLASSES so all of this is not Latte responsibility.
Comment 4 jan.claussen10 2020-05-05 21:38:00 UTC
Yes, I understand that. The people at VSCode said they use a quality PNG and I should use a „proper“ dock. No one wants to take responsibility and that is fine. Open source is not a company and too many apps have to work together somehow. It is not a manageable task in some cases. No offense! That is why setting custom icons would be solution, I think.
Comment 5 Michail Vourlakos 2020-05-06 06:01:45 UTC
You can set custom icons in Plasma just search the internet how it is done.
Comment 6 Michail Vourlakos 2020-05-06 06:03:32 UTC
BTW in my system I use the Papirus icon theme and the icon for VScode works fine.
Comment 7 Michail Vourlakos 2020-05-06 06:05:41 UTC
BTW send me the link that VScode devs say that you must use a alternative proper dock to succeed in this. They need a good response for this.
Comment 8 jan.claussen10 2020-05-06 11:17:41 UTC
Well, they said regular dock. You already posted something in that issue https://github.com/microsoft/vscode/issues/93421
Comment 9 Michail Vourlakos 2020-05-06 11:32:02 UTC
(In reply to jan.claussen10 from comment #8)
> Well, they said regular dock. You already posted something in that issue
> https://github.com/microsoft/vscode/issues/93421

The comments are much different than what you described and the reporter has also provided feedback that it is fixed for him. If you still consider it a bug, you can reproduce with plasma panels and taskmanagers and report to them your findings.
Comment 10 jan.claussen10 2020-05-06 18:29:59 UTC
I am that reporter. Sometimes it is there. Then it disappears. I have no problems in Plasma panels, but with Latte yes. But I am giving up now. Close it if you like. I am really feeling tired of this discussion.
Comment 11 Michail Vourlakos 2020-05-06 18:41:38 UTC
(In reply to jan.claussen10 from comment #10)
> I am that reporter. Sometimes it is there. Then it disappears. I have no
> problems in Plasma panels, but with Latte yes. But I am giving up now. Close
> it if you like. I am really feeling tired of this discussion.

yeah me too, it is already closed.
Comment 12 Michail Vourlakos 2020-05-06 18:41:47 UTC
(In reply to jan.claussen10 from comment #10)
> I am that reporter. Sometimes it is there. Then it disappears. I have no
> problems in Plasma panels, but with Latte yes. But I am giving up now. Close
> it if you like. I am really feeling tired of this discussion.

yeah me too, it is already closed.