enthought / enthought/traitsui

Tree editor dragging hangs due to pickling

Open
#1,643 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
306
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Dragging a tree node hangs if the node is a big adapted object. I could fix that by replacing this line https://github.com/enthought/traitsui/blob/6bb4f756eb4a73e7e1ae1feec8edba5b8fe12141/traitsui/qt4/tree_editor.py#L1577 with ` md = PyMimeData(drag_object, pickle=False)`. Hanging (not indefinitely) wasn't the only problem. Does this fix make sense? If it is, can we make this optional perhaps in the tree editor factory?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.