[Bugs] #3960 sugar UNSP: Home view freeform layout, drag and drop broken

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Sep 26 07:48:13 EDT 2012


#3960: Home view freeform layout, drag and drop broken
------------------------------------------+---------------------------------
    Reporter:  garycmartin                |          Owner:  erikos     
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98       
   Component:  sugar                      |        Version:  0.97.x     
    Severity:  Unspecified                |       Keywords:             
Distribution:  Unspecified                |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------

Comment(by garycmartin):

 More shell.log digging, looks like this could be the part of the bug for
 collision detection:

 {{{
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/jarabe/desktop/viewcontainer.py",
 line 70, in do_size_allocate
     self._layout.allocate_children(allocation, self._children)
   File "/usr/lib/python2.7/site-
 packages/jarabe/desktop/favoriteslayout.py", line 247, in
 allocate_children
     x / _CELL_SIZE, y / _CELL_SIZE)
   File "/usr/lib/python2.7/site-packages/jarabe/desktop/grid.py", line 80,
 in add
     self._detect_collisions(child)
   File "/usr/lib/python2.7/site-packages/jarabe/desktop/grid.py", line
 195, in _detect_collisions
     intersects_, intersection = child_rect.intersect(self._child_rects[c])
 AttributeError: 'RectangleInt' object has no attribute 'intersect'
 }}}

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


More information about the Bugs mailing list