Message 76769

Author
acaubet
Date
2022-05-25.09:39:09
Message id
76769

Content

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:10acaubetsetmessageid: <1653464350.061704.T365DY4TDM6WTSWV.issue11514@tryton.org>
2022-05-25 09:39:10acaubetlinkissue11514 messages
2022-05-25 09:39:09acaubetcreate

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