Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#3811 closed defect (fixed)

Can not drag&drop something to the clipboard

Reported by: erikos Owned by: erikos
Priority: Unspecified by Maintainer Milestone:
Component: Sugar Version: 0.96.x
Severity: Critical Keywords:
Cc: manuq Distribution/OS: OLPC
Bug Status: Assigned

Description

How to reproduce:

  • open Browse
  • try to drag&drop selected text or an image to the clipboard tray

---> the item is not added to the Frame

This was already reproduced in 0.96 (OLPC 12.1.0). The log says:

Traceback (most recent call last):
  File "/home/erikos/sugar-build/install/lib/python2.7/site-packages/jarabe/frame/clipboardtray.py", line 136, in drag_motion_cb
    if self._internal_drag(context):
  File "/home/erikos/sugar-build/install/lib/python2.7/site-packages/jarabe/frame/clipboardtray.py", line 219, in _internal_drag
    view_ancestor = context.get_source_widget().get_ancestor(gtk.Viewport)
AttributeError: 'NoneType' object has no attribute 'get_ancestor'

Attachments (1)

0001-Fix-drag-and-drop-to-the-clipboard-SL-3811.patch (1.4 KB) - added by manuq 9 years ago.
Patch.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 years ago by manuq

  • Cc manuq added

comment:2 Changed 9 years ago by manuq

  • Resolution set to fixed
  • Status changed from new to closed

77734662

comment:3 Changed 8 years ago by dnarvaez

  • Milestone 0.98 deleted

Milestone 0.98 deleted

Note: See TracTickets for help on using tickets.