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

Bug 327081

Summary: xfce-base/exo-0.3.107 www-client/opera-10.60 launcher doesn't open the URL
Product: Gentoo Linux Reporter: Christopher Head <bugs>
Component: Current packagesAssignee: XFCE Team <xfce>
Status: VERIFIED FIXED    
Severity: normal CC: jer
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugzilla.xfce.org/show_bug.cgi?id=6604
Whiteboard:
Package list:
Runtime testing required: ---

Description Christopher Head 2010-07-06 06:17:55 UTC
When setting Opera as the default browser in XFCE, the exo-open command (via /usr/libexec/exo-helper-0.3) uses /usr/share/xfce4/helpers/opera-browser.desktop, which includes this line:

X-XFCE-CommandsWithParameter=%B -remote "openURL(%s,new-window)";%B "%s";

Unfortunately, as of Opera 10.60, this no longer works right if no Opera process is running yet. Rather than launching a new browser and opening the URL in it, it ends up launching a browser with no pages open and somehow the request falls through the cracks and the page never opens (it still works fine for opening new pages when a browser is already running).

I imagine there's probably an Opera bug in there somewhere (it feels like a race condition); however, the command listed in the desktop file is ridiculous overkill anyway, given that simply replacing it with this line works perfectly in all cases:

X-XFCE-CommandsWithParameter=%B "%s"

because Opera already handles launching of a second process correctly by sending a message to the original instance!

Reproducible: Always

Steps to Reproduce:
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-08-11 16:33:45 UTC
+  11 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> exo-0.5.3.ebuild,
+  +files/exo-0.5.3-opera-10_60.patch:
+  Set python_set_active_version to make sure Python 2.x is used. Fix
+  opera-browser.desktop for >= 10.60 wrt #327081 by Christopher Head.