Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715724 - www-client/firefox - Last source ebuild generate 2 desktop icons
Summary: www-client/firefox - Last source ebuild generate 2 desktop icons
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-01 07:54 UTC by Fulgurance
Modified: 2020-04-01 20:56 UTC (History)
0 users

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


Attachments
emerge info (file_715724.txt,6.91 KB, text/plain)
2020-04-01 07:54 UTC, Fulgurance
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fulgurance 2020-04-01 07:54:35 UTC
Created attachment 628366 [details]
emerge info

Hello, i use plasma KDE, and yesterday, i have emerged last firefox version, and there is problem when firefox have finished to emerge firefox. There are 2 desktop entries into KDE menu. One descripted as for X11, other for Wayland. But just one of this entries work.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2020-04-01 20:56:41 UTC
For some hours there was a logic bug in src_install causing installation of separate -x11 wrapper/.desktop file even when GTK backend was the only available window protocol. This has been resolved in https://gitweb.gentoo.org/repo/gentoo.git/commit/www-client/firefox?id=f17173196454c9e684737e3896fc4dad87fe7031.

With USE=wayland you will end up with 3 .desktop files on purpose:

1) firefox.desktop which will automatically try to start firefox with wayland enabled but will create just another window of any existing still running instance otherwise.

2) firefox-wayland.desktop which can be used to 'force' starting firefox in wayland mode.

3) firefox-x11.desktop which can be used to 'force' starting firefox with GTK backend.

Note: firefox-{wayland,x11}.desktop won't start a new instance if there is already an instance running. In this case it will only open another window of the already running instance.

Closing as resolved. Please re-open if you believe there is still something broken.