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.
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.