FS#77772 - [lapce] Icons are missing in many cases

Attached to Project: Community Packages
Opened by Porkepix (Porkepix) - Tuesday, 07 March 2023, 22:04 GMT
Last edited by Toolybird (Toolybird) - Thursday, 16 March 2023, 22:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Leonidas Spyropoulos (inglor)
Caleb Maclennan (alerque)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Lapce is missing icons pretty much everywhere in Gnome excepted software list: it's missing in alt-tab (application switcher), in the "dock" and "expose" view when pressing SUPER key and so on.
I reported this upstream and talked about it on Matrix but maintainer considered it to be a distro issue, see https://github.com/lapce/lapce/issues/2199 for upstream report - this doesn't contain this conversation though.
I was pointed to https://github.com/lapce/lapce/blame/9845c1a0b3fbfd6afdc0fb1504d3be78764e0c7b/extra/linux/dev.lapce.lapce.desktop#L10 that should cover it.

Steps to reproduce:
Just run Lapce under Gnome environment.
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 16 March 2023, 22:31 GMT
Reason for closing:  Upstream
Additional comments about closing:  Reporter says "Fixed by upstream, and released in version 0.2.7 released today."
Comment by Toolybird (Toolybird) - Wednesday, 08 March 2023, 05:19 GMT
Cannot repro. Seems to work fine here in a fresh Gnome VM with default settings. Something in your config/setup must be upsetting it. Maybe you have local and/or AUR shite interfering?
Comment by Porkepix (Porkepix) - Wednesday, 08 March 2023, 07:55 GMT
Well, I've seen this on two different computers, one of them having a pretty fresh install at the time I've seen the issue. Did you try this on Wayland?
Comment by Toolybird (Toolybird) - Wednesday, 08 March 2023, 21:32 GMT
> Did you try this on Wayland?

Yes, I said "default" Gnome which of course is Wayland. Maybe I'm misunderstanding what it is you're missing. Those screenshots in the linked upstream issue are unclear. Please detail *exactly* what the problem is to make it super clear.
Comment by Porkepix (Porkepix) - Wednesday, 08 March 2023, 21:53 GMT
First screenshot is the alt-tab case.
Second screenshot is the expose (press super key) case.

In both of those, I stroked the issue in red.

Last screenshot finally is the only one case with no issue: when you go into the applications list view.
Comment by Toolybird (Toolybird) - Thursday, 09 March 2023, 02:41 GMT
Doh, I'm an idiot, apparently incapable of distinguishing between 2 blue icons :/ Sorry about that.

Yeah, can repro now and I see what you mean. /usr/share/pixmaps is a valid location according to the spec [1] so this almost looks like a GNOME bug of sorts, but I'm unclear on the full icons deal. Maybe it's expected in this circumstance?

@heftig, could you please advise us on this one?

[1] https://wiki.archlinux.org/title/Desktop_entries#Icon_path
Comment by Leonidas Spyropoulos (inglor) - Saturday, 11 March 2023, 08:46 GMT
This seems like upstream issue with .desktop file not correctly defined the icon or StartupWMClass.
Comment by Porkepix (Porkepix) - Thursday, 16 March 2023, 22:02 GMT
Fixed by upstream in https://github.com/lapce/lapce/pull/2228 and released today in 0.2.7.