Ticket #1 (closed enhancement: duplicate)

Opened 16 months ago

Last modified 10 months ago

Add support to Browse for distro-customised start page

Reported by: cwhii Owned by: erikos
Priority: minor Milestone:
Component: Browse Version:
Severity: Blocker Keywords:
Cc: morgan.collett@… Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

What I did:

Installed sugar on Ubuntu. Invoked sugar and the browser.

What it did:

It displayed "about:blank" with a blank page.

What I expected:

I expected "OLPC Library" with a list of libraries to pick from.

Change History

follow-up: ↓ 2   Changed 16 months ago by tomeu

Someone with ubuntu experience could explain how that distro deals with content?

Perhaps this ticket should be instead about adding some support to Browse for distros to make it point to some preinstalled content?

in reply to: ↑ 1   Changed 16 months ago by morgs

  • cc morgan.collett@… added
  • owner set to tomeu
  • component set to fructose
  • type changed from task to enhancement

Replying to tomeu:

Someone with ubuntu experience could explain how that distro deals with content?

We haven't got around to working with content bundles yet. I've logged an ubuntu bug for this:  https://bugs.launchpad.net/ubuntu/+source/sugar-web-activity/+bug/295110

Perhaps this ticket should be instead about adding some support to Browse for distros to make it point to some preinstalled content?

Yes, that would be a good upstream description of the problem.

  Changed 16 months ago by marcopg

  • owner changed from tomeu to erikos
  • component changed from fructose to Browse

follow-up: ↓ 5   Changed 16 months ago by morgs

  • summary changed from Ubuntu Sugar OLPC Library missing to Add support to Browse for distro-customised start page

in reply to: ↑ 4 ; follow-up: ↓ 6   Changed 15 months ago by cwhii

Replying to morgs:

Browse currently attempts to access "OLPC Library" which if not present displays
"about:blank" instead.

The documentation that I have seen shows the "OLPC Library" as the default. This seems like a valid distribution value for the OLPC XO system.

I would like the SugarLabs code base to contain the infrastructure for whatever content library collections a user will add. The default should have a "Sugar Library" with something useful in it. Any distribution if they do not take any action to change this default will have the SugarLabs created default opening library. The distribution can make whatever changes desired. In the case of an XO system it would presumably be the existing "OLPC Library".

I do not know if the Ubuntu default of no library and no infrastructure is because of explicit action by the Ubuntu team or if it just fell through as a blank default.

in reply to: ↑ 5   Changed 15 months ago by morgs

Replying to cwhii:

Replying to morgs:

Browse currently attempts to access "OLPC Library" which if not present displays
"about:blank" instead.

The documentation that I have seen shows the "OLPC Library" as the default. This seems like a valid distribution value for the OLPC XO system.

I would like the SugarLabs code base to contain the infrastructure for whatever content library collections a user will add. The default should have a "Sugar Library" with something useful in it. Any distribution if they do not take any action to change this default will have the SugarLabs created default opening library. The distribution can make whatever changes desired. In the case of an XO system it would presumably be the existing "OLPC Library".

I do not know if the Ubuntu default of no library and no infrastructure is because of explicit action by the Ubuntu team or if it just fell through as a blank default.

The Ubuntu team has not yet packaged any library content. Once we include that in a package, it should be readily installable. However I'm not sure whether to include the standard OLPC library content or to customise it for Ubuntu.

  Changed 14 months ago by dfarning

  • status changed from new to closed
  • resolution set to duplicate

I am closing this bug because it is a distribution specific issue, in this case, Ubuntu.
It exists in Ubuntu as  https://bugs.launchpad.net/bugs/295110

follow-up: ↓ 9   Changed 12 months ago by skierpage

  • distribution set to Unspecified
  • severity set to Blocker
  • status_field set to Unconfimed

Browse's webactivity.py continues to hardcode its home page to _LIBRARY_PATH = '/usr/share/library-common/index.html'

cwhii's lament I expected "OLPC Library" with a list of libraries to pick from is not going to be fixed by distros simply creating a home page for Browse. OLPC's page showing a library of content you've downloaded is generated by the package olpc-library-common, which seems missing from Sugar 0.84. I filed bug #574 for that.

in reply to: ↑ 8   Changed 10 months ago by skierpage

Replying to skierpage:

Browse's webactivity.py continues to hardcode its home page to _LIBRARY_PATH = '/usr/share/library-common/index.html'

The fix for bug #645 set the home page to Browse activity directory/data/index.html if /usr/share/library-common/index.html does not exist, and the former is a static sugarlabs HTML page in git.

Note: See TracTickets for help on using tickets.