[Bugs] #4286 sugar UNSP: Traceback when drag and drop icons on random layout

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Nov 30 11:27:42 EST 2012


#4286: Traceback when drag and drop icons on random layout
------------------------------------------+---------------------------------
    Reporter:  humitos                    |          Owner:  erikos     
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98       
   Component:  sugar                      |        Version:  Unspecified
    Severity:  Unspecified                |       Keywords:  regression 
Distribution:  Unspecified                |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------
 Steps to reproduce it:

  1. Go to Random Layout by clicking
  1. Start dragging some icons over others
  1. After a drag leave the cursor over an icon

 Issue:

 {{{
 Traceback (most recent call last):
   File "/home/humitos/sugar-build/install/lib/python2.7/site-
 packages/sugar3/graphics/palettewindow.py", line 559, in _mouse_slow_cb
     self._palette_do_popup()
   File "/home/humitos/sugar-build/install/lib/python2.7/site-
 packages/sugar3/graphics/palettewindow.py", line 574, in _palette_do_popup
     self.popup(immediate=immediate)
   File "/home/humitos/sugar-build/install/lib/python2.7/site-
 packages/sugar3/graphics/palette.py", line 206, in popup
     PaletteWindow.popup(self, immediate)
   File "/home/humitos/sugar-build/install/lib/python2.7/site-
 packages/sugar3/graphics/palettewindow.py", line 620, in popup
     self._widget.set_transient_for(self._invoker.get_toplevel())
   File "/home/humitos/sugar-build/install/lib64/python2.7/site-
 packages/gi/types.py", line 47, in function
     return info.invoke(*args, **kwargs)
 TypeError: argument parent: Expected Gtk.Window, but got
 jarabe.desktop.favoritesview.ActivityIcon
 }}}

 Expected behaviour:

 Do not raise a TypeError.

 Environment:

 sugar-build F17

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/4286>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list