cvhciKIT / sloth

Sloth is a tool for labeling image and video data for computer vision research.
Other
610 stars 198 forks source link

cursor in annotations tree jumps to a wrong point on selection after changing labels #50

Closed tgehrig closed 10 years ago

tgehrig commented 13 years ago

After modifying some label points and then clicking on another file in the annotations tree the cursor does not jump to the selected file but to some point at the beginning of the tree.

mika-fischer commented 13 years ago

I can't reproduce this.

tgehrig commented 13 years ago

It happens for me on ubuntu 10.04 at least. I can check later if it is also happening on 11.04.

tgehrig commented 13 years ago

This only happens when the treeview has a scrollbar. Sadly, I could not test it on 11.04 with python2.7, since sloth still segfaults there for me:-(. Using ipython on 11.04 does not seem to have this problem. By the way I use python 2.6.5 on 10.04.

The easiest way to reproduce it is probably using the example1_labels.json add lots of rects to image1.jpg so that image2.jpg is not visible in the tree anymore without scrolling. Then select image2.jpg move the mouth label around and try clicking on image2.jpg again. It will jump then to image1.jpg. Instead of clicking image2.jpg it is also enough to scroll in the treeview and it will jump to image1.jpg. A workaround how it did not jump back for me was to select the point before in the treeview and then modifying it in the image. If I then try one of the things above it stays correctly on image2.jpg.

tgehrig commented 13 years ago

When I remove okapy from the PYTHONPATH then it does not segfault on 11.04 and the mentioned problem does also not exist.

baeuml commented 10 years ago

Is this still happening?

Closing for now.