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

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Sep 28 01:20:34 EDT 2012


#3500: Better error message when a page can not be loaded
----------------------------+-----------------------------------------------
    Reporter:  erikos       |          Owner:  humitos          
        Type:  defect       |         Status:  closed           
    Priority:  Normal       |      Milestone:  0.98             
   Component:  Browse       |        Version:  Git as of bugdate
    Severity:  Unspecified  |     Resolution:  fixed            
    Keywords:  patch        |   Distribution:  Unspecified      
Status_field:  New          |  
----------------------------+-----------------------------------------------
Changes (by manuq):

  * status:  accepted => closed
  * resolution:  => fixed


Comment:

 Great, I will push it with the small changes described below, and I have
 noticed the following things to be solved later:

 - the error page doesn't show the faulty url, the url entry is empty (it
 is displayed if you switch to another tab and go back to the tab with the
 error page)

 - pdf tabs don't display error page when there is no internet connection

 - button color is in a slightly different grey tone than sugar buttons

 What I've changed:


 - converted tabs to spaces in from the error page template

 - removed the bottom margin because otherwise the page can scroll
 unnecessarily:

 {{{
 --- a/data/error_page.tmpl
 +++ b/data/error_page.tmpl
 @@ -39,7 +39,7 @@
        #container {
            /* we need double percent sign here because
               of Python sustitution */
 -         margin: 15%%;
 +         margin: 15%% 15%% 0 15%%;
        }
      </style>
    </head>
 }}}

 Pushed as e9915e3d .

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


More information about the Bugs mailing list