Talk:Browse

From OLPC
Revision as of 22:45, 2 April 2008 by Mll (talk | contribs) (Hobbled Browser Feels Wrong)
Jump to: navigation, search

Feature Requests

Is there a way to view what a link is before clicking on it? Is there a way to click on a link and have it open as another session? Is there a way to get a right click? 75.174.12.49 10:39, 21 December 2007 (EST)

As best I can tell, none of the link-navigation techniques work on my G1G1 unit. Up and down work, as do north/south, but no panning, no focus, no jump. chris

It looks like the navigation keys are not implemented yet, so the game keys and direction pad perform the same functions they do in all other activities: The game direction pad maps to the up/down/left/right keys on a regular computer's keypad, while the north/south keys map to page up/page down on a keypad and the east/west keys map to home and end. If you want to navigate the page without the mouse, you pretty much have to use Tab to jump between links and Enter to follow them. —Joe 23:46, 21 December 2007 (EST)

Is there a way to search for text within a page (like Ctrl-F does in Firefox)?

  • I think it'd really help to have shortcut keys for the Back (i.e. go back one page) and Forward navigation buttons. The standard Mozilla Firefox keys are Alt+Left Arrow for Back, and Alt+Right Arrow for Forward. BlankVerse 23:05, 22 December 2007 (EST)
From the Browse page, supposedly the WEST gamepad key will be Back, when implemented. I agree regular keyboard shortcuts would be nice. -- Skierpage 02:37, 26 December 2007 (EST)

Would be nice if HTTP Authentication worked (like, perhaps displaying the user/pass dialog when a site returns 401). Yes, some sites still use it. KenWatford 21:49, 27 December 2007 (EST) and Beat Doebeli Honegger 21 February 2008


Support for keyboard shortcuts for navigation and use. Browsing is such an essential application that having to use menus toolbar and touchpad is a pain! A majority of browsers share the common shortcuts:

  • Ctrl+L for moving the cursor to the location field (already used by Browse).
  • Alt+Left and Alt+Right for Back and Forward.
  • Ctrl+F for searching in the page.
  • Ctrl+K to search on the Web
  • Ctrl+O to open a document (or a link from the Journal)
  • F5 to refresh the page

At least, shortcuts to move focus into the menus toolbar would make using Browse less painfull that it is presently (not to speak about all the other major missing features like local bookmarks and tabs!). --Genepi 17:56, 20 January 2008 (EST)


AGREED, Keyboard Shortcuts:

  Essential:
     * Back (Alt+left, Erase)
     * Location Field (Ctrl+L or whatever)
     * Search Web (Ctrl+K or multiple words in location field)
  Desirable:
     * Find in page (Ctrl+F)
     * Forward (Alt+right, Shift-Erase)
     * Text Field, Scroll area (Ctrl-T, Ctrl-S) to locate cursor 
         in other areas than location field. [could use successive
         Ctrl+l's to cycle
     * Next Field or URL (Tab)
     * Open URL {at or after cursor] (Ctrl+O)
     * Open known URL's (Ctrl+1, Ctrl+2, Ctrl+3 ...) 
          a fixed set of user defined URL's that can be opened. 
            These would allow the user to go to their choice of, 
          for example the: 
            1) OLPC library, 
            2) The school home page, 
            3) New York Times news 
            ... etc.

Even if only the Essential set were implemented it would lead to a major improvement in the browsing experience. MikeL 1853, 2 March 2008 (PDT)

Implementation Discussion

Anyone know what the browser identification for OLPC shows up in web logs as?

Mozilla/5.0 (X11; U; Linux i686; chrome://navigator/locale/navigator.properties; rv:1.9a6) Gecko/20070917
Above, is not good. For sites which base on browser capabilities... php 'getbrowse' returns 'none/unknown'. Would be better to return proper formatted browser identification (even if completely new, ? "Sugar/1.0.3 Browse/650 etc".. for display of your current browser string.) See example box on http://garetjax.info/projects/browscap/ --ixo 03:05, 30 December 2007 (EST)

This is better now, eg from sugar-jhbuild just now:

 65.7.x.x - - [03/Jan/2008:02:16:56 -0800] "GET / HTTP/1.1" 200 2802 "-" "Mozilla/5.0 (X11; U; Linux i686;
 en-US; rv:1.9b2pre) Gecko OLPC/Update.1 (XO)"
 65.7.x.x - - [03/Jan/2008:02:16:56 -0800] "GET /img/icon.png HTTP/1.1" 200 15515 "http://adric.net/"
 "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b2pre) Gecko OLPC/Update.1 (XO)"

--Adricnet 05:21, 3 January 2008 (EST)

Codec detection for Real Streams?

Using Browse I'm unable to open many BBC links - the mediaselector in this link: [[1]]

...greys out the Real player option, and only offers WMV for some reason, when viewed using the B4.

Screenshot showing mediaselector error in Browse

I'm not sure whether these are issues with Browse or Watch&Listen not recognising MIME types for .ram files?

I have submitted a ticket [here]. --Tomhannen 05:47, 10 December 2007 (EST)

Wikifier

see Charityware#Wikifier

Usability notes

Some usability suggestions, now that I've played with Browse a bit.

  • Full screen mode: no obvious way to get out if it if you got there from the toolbar. Alt-Enter is not obvious; the "Bulletin board" key was my first guess, since it looks like the standard toolbar icon for switching between multiple/single screens. The "Escape" and "Frame" keys were my next guesses. There at least ought to be an icon on the Frame to get out of full screen mode.
  • E-book mode: different rocker key mappings would be better for browsing, similar to the Lynx browser:
    • Rocker down: next link on page
    • Rocker up: previous link on page
    • Rocker right: go to link
    • Rocker left: back in history
  • Find in page: I didn't see any way to search for text within a long page.

--IanOsgood 12:16, 22 December 2007 (EST)

E-book mode suggestion 2

I'd like to see the game pad keys control the UI in the same way that the user controls it in laptop mode. By having the dpad control the "mouse" cursor and using the buttons control clicking and page up / page down or zoom in / out usage would be much more intuitive.

DPad Left Move cursor left
DPad Up Move cursor up
DPad Right Move cursor right
DPad Down Move cursor down
Square button left mouse click
Check button right mouse click
Circle button page up or zoom out
X button page down or zoom in

Side to side scrolling of the page could be done by left clicking on a part of the page that doesn't link, and moving the DPad. Rharrison 20:43, 19 January 2008 (EST)

Hobbled Browser Feels Wrong

The default browser feels severely hobbled. Several important browser features seem to be inexplicably missing: bookmarking, tabbed browsing, right-click popup menu, and search within the page. Since the Web is the world's information source, and the browser is so central to its exploration, it feels wrong to hobble the browser so much. I read elsewhere that bookmark-like capability is available via the journal, but that isn't a substitute for browser-based bookmarking. And if memory usage with tabbed browsing is a concern, well, it's the user's choice to open more tabs and consume more memory: the child will quickly learn what the limitations are and make decisions accordingly. There are several other apps pre-loaded with the laptop, such as the music sequencer, that (though great to include) are far less central to learning than the browser. In short, no app is more central to learning than the browser. (Even writing can be done in a browser.) How about making the browser more fully functional? -- DBooth 22:41, 13 January 2008 (EST) on a G1G1


Personally I'd like a simple way to load and unload any reasonable application, e.g. OPERA, or FIREFOX, the MUSIC SEQUENCER, etc. both to internal memory, the USB or SD memory, associate an "icon" with it, and move the icon to the beggining or end of the app bar. As it is now, it may be possible but it is not trival to

 1) Unload many of the apps, 
 2) Install the foreign apps, for example, it seems that 
      OPERA is not well behavied and does not have a
      simple install procedure or an automatic
      Icon association.
 3) Associate an icon with a foreign app.
 4) Move the icons so that my most popular appsare at the start...

MikeL 19:39, 2 April 2008 (PDT)

Java in Browse problem

I have Java installed. Java commands work. Java works in Firefox under XFCE. Java does not work in Browse under Sugar. I have installed a link to the plugin as described on the Restricted formats page. 'About:plugins' does not show Java. The Sun Java browser verify page does not show Java. Does Browse not enable Java? By the Java plugin installation instructions, I would assume that it should work. Rmyers

Try JRE 1.5. ffm 17:38, 25 January 2008 (EST)
This is a Browse problem, not a Java version problem. This issue is addressed by ticket #6465. Rmyers 10:18, 13 March 2008 (EDT)

Preferences

Firefox usually has a preference pane. There does not seem to be any interface to it in Browse. Is there such a mechanism? Is there a preferences file, if so where? Preferences has control of features that seem to be appropriate to be controlled, at least by a teacher or such -- cookies, cache size, home page, et cetera.

about:config ffm 17:38, 25 January 2008 (EST)

i am trying to find the preference file. i did a 'find' for prefs.js and found one in a gecko folder, but it was empty (just a header comment) anyone know where i can find it? thanks

-j

Hacks

While Browse does not support some common features, we have to hack it!

Adding Authorities for SSL support

If you have defined a self-signed certificate[2] for your Web server, you will notice that you can't use Browse activity to access your server with SSL: Browse reports an error saying that this signing authority is not known. To solve that problem, you have to import your CA certificate into Browse repository.

You need to get "certutil" tool[3] installed on another computer. You can also install the "nss-tools" package onto the XO (# yum install nss-tools) and do everything on it. Get the CA repository from your XO (/home/olpc/.sugar/default/gecko/cert8.db), and the associated keys (/home/olpc/.sugar/default/gecko/key3.db) on that computer. Put these two files and your self-signed CA certificate (cacert.pem) in the same directory and execute the command:

 $ certutil -A -d . -i cacert.pem -n "My CA" -t "CT,C,C"

-d . : The current directory
-i cacert.pem : Your self-signed CA public certificate
-n "My CA" : The nickname for that authority
-t "CT,C,C": Trusted for SSL, email and object signing.

You can check that your CA certificated has been imported with:

 $ certutil -L -d .

and check the certificate content with:

 $ certutil -L -d . -n "My CA"

Then, keep a backup copy of your original cert8.db file, and replace it with the new one containing your authority certificate.

Restart Browse and you can now access your Web site without Browse complaining about unknown autorities... --Genepi 17:41, 20 January 2008 (EST)

Offline browsing

I read somewhere that one of the great features of the browse activity was that when a child was at school (and on the net), they could save web pages onto the OLPC so when they went home and wanted to do their homework, the pages would still be there, even though they weren't connected.

I have seen no sign of this feature working - is it not implemented yet, or am I missing something obvious? I think it would be a great feature, btw!