Issue 11514

Title
Crash on drag&drop on binary with widget image
Priority
bug
Status
chatting
Nosy list
acaubet
Assigned to
Keywords

Created on 2022-05-25.09:39:10 by acaubet, last changed 2 months ago by acaubet.

Messages

Author: [hidden] (acaubet)
Date: 2022-05-25.09:39:09

With a binary field with widget image (it does not happen when no widget is defined) it crashes with different events on different platforms.
Linux, on drag a image over the square gives the following crash and attaches the image:

  File "/home/vant/Documentos/Clients/tryton6.2/tryton/gui/window/view_form/view/form_gtk/image.py", line 73, in drag_motion
    context.drag_status(Gdk.DragAction.COPY, timestamp)

AttributeError: 'X11DragContext' object has no attribute 'drag_status'

Windows, on drop a image over the square gives the following crash and do not attach the image:

  File "C:/msys64/home/ced/tryton-6.2-64/tryton/gui/window/view_form/view/form_gtk/image.py", line 88, in drag_data_received

AttributeError: 'SelectionData' object has no attribute 'data'
History
Date User Action Args
2022-05-25 09:39:10acaubetcreate

Showing 10 items. Show all history (warning: this could be VERY long)