bugGnash - The GNU Flash player - Bugs: bug #19431, Detecting the correct browser and...

 
 

bug #19431: Detecting the correct browser and calling the appropriate "openURL"

Submitted by:  Douglas A. Augusto <daaugusto>
Submitted on:  Wed 28 Mar 2007 06:15:37 AM UTC  
 
Category: pluginSeverity: 3 - Normal
Release: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 09 Jan 2008 02:10:05 PM UTC, comment #3:

FYI: we have the .gnashrc setting as a temporary hack
for now. It's called urlOpenerFormat and accept a %u
element which would be substituted by the actual url.

Will close this bug as we don't want to detect the correct
browser but rather do the actual IPC.

To emulate the "detection" you can run your browser
exporting the GNASHRC variable to point to a browser-specific
rc file to parse in addition to the sistem one.

Sandro Santilli <strk>
Project Member
Thu 29 Mar 2007 07:24:39 AM UTC, comment #2:

Actually, the "correct" way of doing this would be NOT calling 'browser' at all, but using a socket to self. See task #5919

Sandro Santilli <strk>
Project Member
Wed 28 Mar 2007 10:25:13 PM UTC, comment #1:

I guess this should be added as an option in .gnashrc, or check the system for the default browser (however that is done...)

Tomas Groth <tgc>
Wed 28 Mar 2007 06:15:37 AM UTC, original submission:

Since Gnash utilizes the command 'firefox -remote openurl()'¹ to open URLs found in some flash content, it behaves incorrectly when I'm using a different browser as Mozilla (seamonkey). The gnash plugin ignores the current browser and always opens the URL in a Firefox window.

I think it would be better if Gnash could identify the actual browser in order to call the appropriate "openURL" command. For example, it would be something like:

if (browser == "Mozilla") command = "mozilla -remote \"openurl(";
else if (browser == "Firefox") command = "firefox -remote \"openurl(";
else if (browser == "Konqueror") command = "kfmclient openURL \"";
else if (browser == "Opera") command = "opera -remote \"openurl(";

Unfortunately, I don't know enough about browser identification through plugins, therefore, I couldn't help so much in this question.

Thank you.

¹

In ASHandlers.cpp at line 1482 (Gnash cvs-20070327):

string command = "firefox -remote \"openurl(";

Douglas A. Augusto <daaugusto>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by tgc (Posted a comment)
  • -unavailable- added by daaugusto (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 09 Jan 2008 02:10:05 PM UTCstrkStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1