GTK warning when dragging white space
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Fix Released
|
Low
|
Izidor Matušov |
Bug Description
1, Start GTG with a fresh new set of tasks
2, Resize the window to have some white space there
3, Click on the white space below tasks and start dragging. Put it somewhere also on the white space. (Drag'n'drop of white space)
Result on 0.2.4:
Traceback (most recent call last):
File "/home/
drag_iter = model.get_
ValueError: invalid tree path
Result on lp:gtg (today):
/home/iyo/
dragged_iter = model.get_
/home/iyo/
dragged_iter = model.get_
/home/iyo/
gtk.main()
It is a quite strange error.
Related branches
Changed in gtg: | |
assignee: | nobody → Izidor Matušov (izidor) |
tags: | added: liblarch |
Changed in gtg: | |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in gtg: | |
status: | In Progress → Fix Committed |
milestone: | 0.3 → 0.2.9 |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
Solved in lp:~gtg/gtg/integrate-liblarch-to-gtg, rev 942. ( http:// bazaar. launchpad. net/~gtg/ gtg/integrate- liblarch- to-gtg/ revision/ 942 )
When you drag white space, no task is selected and selection.data is empty. Splitting by ',' produces list of one empty string [''] instead of empty list [].