Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Tryton Tryton
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 707
    • Issues 707
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 60
    • Merge requests 60
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

April 05-07 - Mercurial Paris Conference 2023 - One day of workshop dedicated to Heptapod and Mercurial usage and workflow. There are still places available for both workshops and talks!

  • TrytonTryton
  • TrytonTryton
  • Issues
  • #11514
Closed
Open
Issue created May 25, 2022 by Adrià Tarroja Caubet@acaubetDeveloper

Crash on drag&drop on binary with widget image

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'
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking