While selecting a file with selection rectange, it may unselect, if rectangle becomes 0 pixels. It is necesary to prevent the rectangle from being reduced to zero, if it has been appeared at least for 1 pixel.
Also it won't select at all if you move the cursor left or right while clicking, you have to move it up or down
Steps to Reproduce:
1.just try to select a file with the selection rectangle, which has 0 pixel height
nothing will be selected
a file should be selected
Works fine in Open/Save dialogs, doesn't work in Dolphin. Re-assigning.
> It is necesary to prevent the rectangle from being reduced to zero, if it has been appeared at least for 1 pixel.
I think it would be better to make rectangle always have at least 1 pixel
Git commit 22d93e8f31777de3484b89b5f314aa8ac169367f by Emmanuel Pescosta.
Committed on 20/06/2013 at 17:02.
Pushed by emmanuelp into branch 'KDE/4.10'.
Prevent the selection rectangle from being reduced to 0px
width or 0px height, so the selected items can not be accidently
unselected when the rectangle width/height becomes 0px.
M +16 -0 dolphin/src/kitemviews/private/kitemlistrubberband.cpp