[Bugs] #3500 Browse UNSP: Better error message when a page can not be loaded

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon May 28 16:35:25 EDT 2012


#3500: Better error message when a page can not be loaded
------------------------------------------+---------------------------------
    Reporter:  erikos                     |          Owner:  erikos           
        Type:  defect                     |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98             
   Component:  Browse                     |        Version:  Git as of bugdate
    Severity:  Unspecified                |       Keywords:                   
Distribution:  Unspecified                |   Status_field:  New              
------------------------------------------+---------------------------------

Comment(by manuq):

 We need to handle the load-error signal to display our custom page.

 http://webkitgtk.org/reference/webkitgtk/stable/webkitgtk-
 webkitwebview.html#WebKitWebView-load-error

 "By default, if the signal is not handled, the web_view will display a
 stock error page. You need to handle the signal if you want to provide
 your own error page."

 Epiphany does this in load_error_cb of embed/ephy-web-view.c .

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3500#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list