[Bugs] #2862 UNSP: doesn't support View Source

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun May 22 14:34:59 EDT 2011


#2862: doesn't support View Source
------------------------------------------+---------------------------------
    Reporter:  sascha_silbe               |          Owner:  sayamindu                  
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Imageviewer                |        Version:  Git as of bugdate          
    Severity:  Unspecified                |       Keywords:                             
Distribution:                             |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by walter):

 There is a puzzling 'return' in setup_view_source that seems to be at the
 heart of the problem.

 if service is not None:
     try:
         ...
         service.HandleViewSource()
         return

 The service.HandleViewSource ends up going to an Unimplemented call in
 activity.py and returns.
 Not sure why ImageViewer ends up in this block whereas other activities
 don't, but if you don't return after the call to
 service.HandleViewSource(), but rather, drop through, View Source seems to
 work fine.

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


More information about the Bugs mailing list