Drag and Drop of text in editor is buggy
Bug #567142 reported by
sch01ar
This bug affects 13 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Released
|
High
|
Unassigned |
Bug Description
On selecting and moving text, the "pick up" is OK, but on dropping, either:
1. usually nothing happens - the text won't be moved
2. sometimes, the text is duplicated into the destination, and remains in the original location
3. Rarely, it works as expected
I'm using zim 0.46 on Ubuntu 9.10
Thanks,
S
zim -D gives:
INFO: This is zim 0.46
DEBUG: Python version is (2, 6, 4, 'final', 0)
DEBUG: Zim revision is:
branch: pyzim-trunk
revision: 221 <email address hidden>
date: 2010-03-24 23:06:16 +0100
Changed in zim: | |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: pageview |
Changed in zim: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Just retested, now I consistently get no result. I observed the copy behavior described in the report before, so maybe due to Gtk update in between.
Background is that zim handles the drop itself, but not the drag start. Looks like the view takes a shortcut on deciding what data type to drag and does not check our advertised data types.
The copy behavior probably is the case where we do get a compatible data type and paste it, but we should either do the delete ourselves or send some signal to notify that the delete can happen.