offline start page doesn't work

Bug #950097 reported by Kyle Nitzsche
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-defaults-builder (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

precise (8 Mar 2012)

firefox version: 11.0~b5+build1-0ubuntu1

ubuntu-defaults-builder version: 0.23

Set webbrowser/offline-startpage.txt to a single uncommented line:
file:///usr/share/ubuntu-myproject-defaults/offline-start.html

That ^ file exists on system, all have read privilege.

Turned off networking from nm-applet and launched FF.

I expected display of offline start page.

Instead FF tries to display URL in webbrowser/startpage.txt

So offline page does not appear to work.

(The offline html page is fine: I can open it in FF with a file URL.)

Revision history for this message
Martin Pitt (pitti) wrote :

That used to work in oneiric, or more precisely, with the firefox version we had back then. Chris, right now u-d-b does this in distribution.ini:

[Preferences]
browser.startup.homepage="http://www.ubuntuforums.org?release=12.04"
browser.startup.homepage_reset="http://www.ubuntuforums.org?release=12.04"
<email address hidden>custom_homepage="http://www.ubuntuforums.org?release=12.04"
startup.homepage_override_url="file:///usr/share/ubuntu-artwork/home/firefox-index.html"

Where the last one is the offline homepage, and the first three are the online ones. I suppose we need to set different keys?

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

I think there is some confusion here. The offline homepage URL is hardcoded in ubufox, and stopped working because the documentation got removed from the default install during the oneiric cycle (https://launchpad.net/ubuntu/+source/ubuntu-docs/11.10.1), although it never really worked properly before.

startup.homepage_override_url is for the "What's new" page that is displayed after updating Firefox.

I should probably remove the offline-homepage functionality from ubufox entirely for now

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks Chris, I'll remove the functionality from u-d-b.

Changed in ubuntu-defaults-builder (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-defaults-builder - 0.24

---------------
ubuntu-defaults-builder (0.24) precise; urgency=low

  * debian/copyright, template/debian/copyright: Update to copyright format
    1.0.
  * debian/control, template/debian/control: Bump Standards-Version to 3.9.3.
  * Drop support for webbrowser/offline-startpage.txt, as this is not actually
    configurable in Firefox, and we do not support other browsers at the
    moment. (LP: #950097)
  * bin/ubuntu-defaults-image: Explicitly set LB_SYSLINUX_THEME, to not rely
    on live-build's static default (which is "ubuntu-oneiric" right now).
    (LP: #910859)
  * bin/ubuntu-defaults-image, man/ubuntu-defaults-image.1: Add --keep-apt
    option to not clean up /var/lib/apt/lists/*_Packages from the live system.
    This will significantly enlarge the resulting ISO image, but will make
    package related operations work without an initial "apt-get update" run.
    (LP: #942180)
  * template/desktop/default-{session,applications}.txt,
    template/webbrowser/searchengine.txt: Add comments that these files may
    not be changed for Ubuntu localizations, only for derivatives and OEM
    projects.
  * test/run: Change package name to "defaults-test", as with
    "ubuntu-defaults-test" we are going to fail for some customizations.
  * bin/dh_ubuntu_defaults: Check if template file has a "NotUbuntu:" tag, and
    if so, disallow changing defaults if the package name starts with
    "ubuntu-". (LP: #881371)
 -- Martin Pitt <email address hidden> Mon, 12 Mar 2012 15:03:23 +0100

Changed in ubuntu-defaults-builder (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.