Abrowser not allowed to change to "Home Page"

Projet:Trisquel
Composant:Programs
Catégorie:Rapporter un bogue
Priorité:normal
Attribué:Non assigné
Statut:closed
Description

A well-known bug that was present in other versions (I think in 10) is about the impossibility of change enter the "Show my homepage" and "Show a blank page" as doing so returns "Show the last session tabs "

mar, 05/22/2012 - 07:44
Statut:active» needs more info

I was not able to reproduce this bug using 5.5 in a virtual machine. Could you please clarify the problem or list the steps needed to reproduce the bug. Also what would be helpful is the expected behavior compared to what actually happens.

One last thing that would also be useful is a link to an upstream bug report if one exists. If you can find the bug on mozilla's bug reporter we can link the two. I'm assuming one might exist because you say this is a well known bug.

sam, 06/02/2012 - 00:18
Statut:needs more info» active

I believe that I can confirm this bug. It appears to have something
to do with the 'xul-ext-ubufox' package (a.k.a. 'Trisquel IceCat
Modifications' - Trisquel's default settings for Abrowser). It occurs
with 'xul-ext-ubufox' version 1.0.4-0ubuntu1+5.5trisquel12 from
'brigantia-updates' but NOT with the version that is on the Trisquel
5.5 live CD (1.0.3-0ubuntu1+5.5trisquel8).

Steps to reproduce:

1. Launch Abrowser

2. Abrowser -> Preferences -> Preferences

On the 'General' tab in the 'Startup' section "When Abrowser
starts:" is set to "Show my windows and tabs from last time".
Change this to "Show my home page".

3. Exit and re-launch Abrowser

4. Abrowser -> Preferences -> Preferences

The "When Abrowser starts:" setting has switched back to "Show my
windows and tabs from last time".

I note that one difference between the two versions of
'xul-ext-ubufox' is on line 57 of the global settings file that it
installs (/etc/xul-ext/ubufox.js):

pref ("browser.startup.page" , 3);

According to http://kb.mozillazine.org/Browser.startup.page, setting
this preference to this value is equivalent to setting the "Show my
windows and tabs from last time" setting as above. It seems that this
preference is set every time Abrowser starts and the user's intended
setting is discarded. I suppose that the intention was that this was
to be a default only. I'm not sure if this is the intended behaviour
of 'xul-ext-ubufox' or if it is a bug. Manually commenting out this
line restores the old behaviour.

lun, 06/04/2012 - 08:41

Andrzej P I just wanted to say thank you for really doing the legwork on this bug!

Also that would explain why it didn't happen in my virtual machine. I hadn't updated and was just running off the liveISO. This change was on 5-30-12 and Trisquel 5.5 was release in April so it makes sense that the default ISO wouldn't do this.

Edit: Here is the spot where that line was added (Revision 47 in make-ubufox)

mer, 09/19/2012 - 05:38
Statut:active» patch (ready)

http://bzr.trisquel.info/package-helpers/trunk/revision/53 - This should be fixed. Can anyone confirm?

mer, 09/19/2012 - 10:36

I can confirm that I can successfully permanently change the home page
in 'abrowser'. I am running the latest 'abrowser' and
'xul-ext-ubufox' from 'brigantia-updates':

abrowser: 14.0.1+build1-0ubuntu0.11.10.1+5.5trisquel7
xul-ext-ubufox: 2.1.1-0ubuntu0.11.10.1+5.5trisquel14

mer, 09/19/2012 - 16:16
Statut:patch (ready)» fixed
mer, 10/03/2012 - 16:20
Statut:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.