Summary: | Tray icon for Albert launcher fails to display | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | RedBearAK <redbear> |
Component: | System Tray | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | kde, materka, nate, plasma-bugs |
Priority: | NOR | ||
Version: | 5.21.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | listIcons.sh |
Description
RedBearAK
2021-04-14 20:26:54 UTC
Can you provide a link to the application? (In reply to Konrad Materka from comment #1) > Can you provide a link to the application? The Albert GitHub thread that led to me asking for assistance on narrowing down the cause of this issue: https://github.com/albertlauncher/albert/issues/343 How to install Albert launcher: https://albertlauncher.github.io/installing/ Direct link to the openSUSE Open Build Service (OBS) page I usually use to install Albert on various distros: https://software.opensuse.org/download.html?project=home:manuelschneid3r&package=albert Created attachment 137662 [details]
listIcons.sh
Just checked and the application is not setting the icon correctly. You can run attached scrict to list DBus properties of all System Tray icons. On my system for Albert is returns: {"AttentionIconName" = [Variant(QString): ""], "AttentionIconPixmap" = [Variant: [Argument: a(iiay) {}]], "AttentionMovieName" = [Variant(QString): ""], "Category" = [Variant(QString): "ApplicationStatus"], "IconName" = [Variant(QString): ""], "IconPixmap" = [Variant: [Argument: a(iiay) {}]], "IconThemePath" = [Variant(QString): ""], "Id" = [Variant(QString): "Albert"], "ItemIsMenu" = [Variant(bool): false], "Menu" = [Variant: [ObjectPath: /MenuBar]], "OverlayIconName" = [Variant(QString): ""], "OverlayIconPixmap" = [Variant: [Argument: a(iiay) {}]], "Status" = [Variant(QString): "Active"], "Title" = [Variant(QString): "Albert"], "ToolTip" = [Variant: [Argument: (sa(iiay)ss) "", [Argument: a(iiay) {}], "", ""]], "WindowId" = [Variant(int): 0]} Both IconName and IconPixmap are empty. Maybe the problem is that Albert set's the icon in a weird way? https://github.com/albertlauncher/albert/blob/dev/src/app/trayicon.cpp#L15 Most probably QIcon::fromTheme should be used (as mention in app bug report). (In reply to Konrad Materka from comment #4) > Both IconName and IconPixmap are empty. > > Maybe the problem is that Albert set's the icon in a weird way? > https://github.com/albertlauncher/albert/blob/dev/src/app/trayicon.cpp#L15 > Most probably QIcon::fromTheme should be used (as mention in app bug report). Thanks for taking a look. I will forward this info and ask the dev to try changing it. |