[Bugs] #2291 UNSP: XO-1 On 0.90-precursor build, Object Chooser can not open object entry

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Sep 5 16:29:45 EDT 2010


#2291: XO-1 On 0.90-precursor build, Object Chooser can not open object entry
------------------------------------------+---------------------------------
    Reporter:  mikus                      |          Owner:  alsroot                    
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  journal                    |        Version:  0.90.x                     
    Severity:  Major                      |       Keywords:                             
Distribution:  OLPC                       |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------

Comment(by mikus):

 Replying to [comment:1 sascha_silbe]:

 > This smells like a GTK bug or at least API change. Can you try wrapping
 {{{event.x}}} and {{{event.y}}} in {{{int()}}}, please?
 >
 That was it.  I changed that line in journal/objectchooser.py to
 {{{
     pos = tree_view.get_path_at_pos(int(event.x), int(event.y))
 }}}
 and now successfully (with Object Chooser) had ImageViewer open an object
 from Journal, had ImageViewer open a file on USB, and had Jukebox access a
 file on USB (Jukebox had problems - but that will eventually be another
 ticket).

 Thank you.

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


More information about the Bugs mailing list