[Bugs] #3999 journal URGE: Journal drag and drop features broken

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Dec 7 09:52:44 EST 2012


#3999: Journal drag and drop features broken
----------------------------+-----------------------------------------------
    Reporter:  garycmartin  |          Owner:  erikos            
        Type:  defect       |         Status:  assigned          
    Priority:  Urgent       |      Milestone:  0.98              
   Component:  journal      |        Version:  0.97.x            
    Severity:  Major        |       Keywords:  13.1.0, regression
Distribution:  OLPC         |   Status_field:  Assigned          
----------------------------+-----------------------------------------------

Comment(by erikos):

 First of all we have to fix the case where the palette is getting in the
 way. This is because in CellRendererInvoker we listen for motion events on
 the treeview, and those occur when drag the icon. Similar to the
 FavoritesView code we can set a boolean that is checking if a drag is
 going on. I have attached a first patch for this.

 The second part is to get the drag&drop right. You can see with the above
 patch that the icon you want to drop on does not change (should see a +).
 I think we need to set "drag_dest_set" here. I advanced locally a bit on
 that, more on that later.

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


More information about the Bugs mailing list