After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665204 - The Shell doesn't link 'Opera' with its launcher if it(GS) crashes or restarts.
The Shell doesn't link 'Opera' with its launcher if it(GS) crashes or restarts.
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
3.2.x
Other Linux
: Normal minor
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
triaged
: 691643 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-11-30 14:22 UTC by Reda Lazri
Modified: 2021-07-05 14:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Reda Lazri 2011-11-30 14:22:56 UTC
This one is fairly easy to test. Start the Opera browser, pin it to Dash, Alt+F2, 'r', you'll see that Opera with get another icon at the bottom.

opera-browser.desktop: 

[Desktop Entry]
Type=Application
Version=1.0
Name=Opera
GenericName=Web browser
Comment=Fast and secure web browser and Internet suite
Icon=opera-browser
TryExec=/usr/bin/opera
Exec=/usr/bin/opera %U
Terminal=false
MimeType=text/html;text/xml;application/xhtml+xml;text/vnd.wap.wml;text/wml;application/x-mimearchive;application/mime;application/xml;application/rss+xml;application/rdf+xml;image/svg+xml;application/x-opera-uniteapplication;application/x-opera-extension;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/mailto;
Categories=Network;WebBrowser;
StartupNotify=true
Comment 1 Jasper St. Pierre (not reading bugmail) 2011-11-30 14:29:06 UTC
That means that Opera doesn't set its WMClass to "opera-browser".
Comment 2 Reda Lazri 2011-11-30 15:22:22 UTC
Why does it work at first then? JDownloader, for example, doesn't work well with Dash, no matter what you do. Opera does work, but it loses its launcher after a GS restart.
Comment 3 Jasper St. Pierre (not reading bugmail) 2011-11-30 15:47:34 UTC
Because when you launch Opera through GNOME Shell, you're telling GNOME Shell to launch it "opera-browser.desktop", and ties the X window and desktop file together. When you restart GNOME Shell, it loses this information. I have a patch somewhere that saves this information as an X atom on the window, but it's unreviewed at this point.
Comment 4 Florian Müllner 2018-07-13 20:32:07 UTC
*** Bug 691643 has been marked as a duplicate of this bug. ***
Comment 5 GNOME Infrastructure Team 2021-07-05 14:07:58 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.