Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 872233 - www-client/firefox-102.3.0: missing wayland desktop icon
Summary: www-client/firefox-102.3.0: missing wayland desktop icon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-21 18:44 UTC by Benn Snyder
Modified: 2022-09-22 14:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benn Snyder 2022-09-21 18:44:02 UTC
After launching the new www-client/firefox-102.3.0:esr in kwin, the window receives a default Wayland icon.  It seems like the window is setting its "Desktop file name" to firefox-esr instead of firefox.

One workaround by overriding each user's kwin rules - https://discussion.fedoraproject.org/t/whats-with-the-wayland-icons-and-associated-apathy/40180/5

But really I think the solution is to have the ebuild install /usr/share/applications/firefox-esr.desktop instead.

Reproducible: Always
Comment 1 Joonas Niilola gentoo-dev 2022-09-22 12:24:09 UTC
Well can you confirm if you manually move the desktop file to /usr/share/applications/firefox-esr.desktop, (and relog) that it works? I currently don't have issues on x11 session with it. No wayland to test here.
Comment 2 Joonas Niilola gentoo-dev 2022-09-22 12:41:14 UTC
Well I see Debian installs that as firefox-esr.desktop - gonna try that then.
Comment 3 Benn Snyder 2022-09-22 13:31:39 UTC
Yes, manually renaming /usr/share/applications/firefox.desktop to firefox-esr.desktop fixes the issue.
Comment 4 Larry the Git Cow gentoo-dev 2022-09-22 14:16:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78eb14ad88d022bff0d59ba4579e3ca29f0708d2

commit 78eb14ad88d022bff0d59ba4579e3ca29f0708d2
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-09-22 14:14:15 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-09-22 14:16:20 +0000

    www-client/firefox: rename .desktop file to fix icon in wayland
    
     - no revbump because I believe the "fix" affects minority of users.
       Will be properly installed in next ESR versions.
    
    Closes: https://bugs.gentoo.org/872233
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/firefox-102.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)