Ubuntu

Default Home Page without style or images on offline mode

Reported by Pablo SEMINARIO on 2010-03-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubufox (Ubuntu)
Medium
Unassigned
Lucid
Medium
Chris Coulson
ubuntu-docs (Ubuntu)
Low
Unassigned
Lucid
Low
Unassigned

Bug Description

Binary package hint: ubufox

The default Home Page doesn't show images or CSS when I work on offline mode.
I'm using Lucid alpha3 updated just a few minutes ago.
Steps
1) remove (or backup) ~/.mozilla
2) start Firefox with my internet connection working.
3) click on the Home button
4) shows the Ubuntu Start Page correctly, the location bar shows about:home
5) click on File->Work Offline
6) click on the Home button again
7) show the local start page but without CSS or images, only text, the location bar shows about:home

ProblemType: Bug
Architecture: i386
Date: Thu Mar 4 13:21:29 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100224.1)
Package: ubufox 0.9~b1-0ubuntu1
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-15.22-generic
SourcePackage: ubufox
Uname: Linux 2.6.32-15-generic i686

Pablo SEMINARIO (pabluk) wrote :
Chris Coulson (chrisccoulson) wrote :

Also, localisation doesn't work too. I can see the issue here though

Changed in ubufox (Ubuntu Lucid):
assignee: nobody → Chris Coulson (chrisccoulson)
importance: Undecided → Medium
milestone: none → lucid-updates
status: New → Triaged
Chris Coulson (chrisccoulson) wrote :

There are multiple issues here:

1) Loading the CSS is blocked by the about: protocol handler in firefox (this can be fixed in Ubufox)

2) The about: protocol handler in firefox doesn't support relative URI's (so the css files must be referenced with absolute paths in ubuntu-docs)

3) The ubufox code to assemble the localised offline page URI is not activated anywhere, so the non-localised page always loads (which is easy to fix)

Changed in ubuntu-docs (Ubuntu Lucid):
importance: Undecided → Low
status: New → Triaged
Matthew East (mdke) wrote :

Isn't the failure of the about: protocol handler to support relative URIs a bug in firefox?

Chris Coulson (chrisccoulson) wrote :

No, that's an intentional feature of the handler

Matthew East (mdke) wrote :

I'm not clear what the feature is - it sounds like a regression to me given that this page has always worked fine in previous releases.

We can update the uris in ubuntu-docs if necessary and I'll take your word for it that there are advantages to this change, but it's pretty unfortunate that this wasn't identified earlier as it won't now be fixed for the release.

Chris Coulson (chrisccoulson) wrote :

The page was loaded differently in previous releases (not using the about protocol handler, but using a chrome URI to load some javascript to resolve the correct URI for the start page). Yes, it's a shame this wasn't discovered earlier.

I've fixed the other 2 issues in a bzr branch for ubufox already

HX_unbanned (linards-liepins) wrote :

As Chris has been worked/fixed the issues, changing status for this bug...

Changed in ubufox (Ubuntu):
status: Triaged → In Progress
Changed in ubufox (Ubuntu Lucid):
status: Triaged → In Progress
Chris Coulson (chrisccoulson) wrote :

Thanks, but I'll change the status myself when I'm actually actively working on it

Changed in ubufox (Ubuntu Lucid):
status: In Progress → Triaged
Changed in ubufox (Ubuntu):
status: In Progress → Triaged
Matthew East (mdke) wrote :

I don't think this is a problem with ubuntu-docs. Incidentally this page appears to me to be working in current maverick.

Changed in ubuntu-docs (Ubuntu):
status: Triaged → Invalid
Changed in ubuntu-docs (Ubuntu Lucid):
status: Triaged → Invalid
HX_unbanned (linards-liepins) wrote :

Confirmed working on Lucid 10.04.1.

HX_unbanned (linards-liepins) wrote :

OOps. I meant NOT WORKING*. Sorry.

Martin Pitt (pitti) wrote :

Closing natty task, as this seems irrelevant now (local start page is gone entirely).

Changed in ubufox (Ubuntu):
assignee: Chris Coulson (chrisccoulson) → nobody
milestone: lucid-updates → none
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers