Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 370219

Summary: seamonkey.desktop missing %U in Exec field.
Product: Gentoo Linux Reporter: derf <pkjo49002>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED FIXED    
Severity: normal CC: mozilla
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description derf 2011-06-06 02:59:19 UTC
Revision 1.5 of www-client/seamonkey/files/icon/seamonkey.desktop added a MimeType field, which makes this desktop file get used to open HTML files, http, and https links, but it is missing a %U in the Exec field, so the browser simply opens with a blank page, instead of the desired link.

Reproducible: Always

Steps to Reproduce:
1. emerge =www-client/seamonkey-2.0.14
2. Maybe set it to the default browser in Gnome's System/Preferences/Preferred Applications/Internet/Web Browser? (it's the only browser I have installed)
3. Ctrl-click a link in gnome-terminal
Actual Results:  
A new browser window opens with a blank page, not the desired link.

Expected Results:  
A new browser window should open and load the desired link.

Simply replacing the line

Exec=seamonkey

with

Exec=seamonkey %U

fixes the problem for me.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-06-06 14:41:57 UTC
+*seamonkey-2.0.14-r1 (06 Jun 2011)
+
+  06 Jun 2011; Lars Wendler <polynomial-c@gentoo.org> -seamonkey-2.0.13.ebuild,
+  +seamonkey-2.0.14-r1.ebuild, files/icon/seamonkey.desktop:
+  Revbump to fix .desktop file. Thanks to derf for reporting this in bug
+  #370219. Commit goes straight to stable.
+