* Matthew Toseland <toad at amphibian.dyndns.org> [2008-03-25 20:36:43]:

> Okay, having investigated this, I'm fairly confident of the current theory:
> - If a copy of Firefox is already running with the default profile, and we 
> launch a copy with our profile (-no-remote -P <profile name>), everything 
> works fine (as long as our copy exits before the default one does).

That's how things are supposed to do. How did the user download the
installer if not with a browser ?

> - The default Firefox obviously doesn't have the -no-remote command line 
> option. We do.
> - If the default profile is NOT running when we load our copy of firefox with 
> our custom profile, when the link to firefox is clicked on, it coalesces with 
> our copy and opens a new window using our profile and not the default 
> profile. Therefore, it appears that the user's firefox has been damaged and 
> we've deleted all their bookmarks etc etc.
> 
> You can replicate this easily enough: create a custom theme (e.g. by 
> installing freenet), exit all copies of firefox, launch one 
> with "firefox -no-remote -P <profile name>", then launch a second copy with 
> just "firefox". The second will assume it is supposed to be an extra window 
> for the first, and will use the custom profile, not the default profile. If 
> however you exit the custom profile first, the second instance will use the 
> default profile.
> 
> As far as I can see, we have three options:
> 1. Don't ship a custom firefox theme. Ask users to tweak their firefox theme 
> for better freenet performance, knowing full well that it is a security risk 
> and a waste of bandwidth when accessing the regular web. Anyway, nobody will 
> even if we DO ask them to: people are lazy, and it involves somewhat arcane 
> config setting.

That's what we had been doing for ages...

> 2. Ship a copy of Portable Firefox (~ 6MB), or some other self contained 
> browser. Find some way to auto-update it.

Needless to say that it's a fair amount of work and YetAnotherSource
of bugs. By the way there is no way I can do it before 0.7-rc1.

> 3. Give up and hope people will realise that opening 10 freesites in separate 
> tabs and then trying to get to the stats page isn't a good idea. No, they 
> won't realise this, they'll assume Freenet is broken - our own regular users 
> do this on the IRC channel.
> 

Even Ian did not long ago :)

> Anyone got any better ideas?

4. We could force-start a "normal browser" before starting the custom
profile up...

5. We could develop some FF extension to do things within the already
existing profile (? la torbutton)

Did you ask any guru on irc.mozilla.org ? I bet there is some smarter
way to deal with such problems.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20080326/9d469b3f/attachment.pgp>

Reply via email to