Version: 1.0 beta 5 (using KDE 4.3.2) Compiler: Stock Fedora 11 compiler OS: Linux Installed from: Fedora RPMs If you have a bunch of images in a folder, then select some of them and drag them to another folder, the view then shows the first item selected. However, if you shift select you end up with the first item selected, and the item you clicked through the item you clicked in the previous selection are selected. I'd expect that the first item through the one you click would be selected. To reproduce: Have 20 images. Create a folder. Click the second image. Shift-click the 7th image. Drag the selected images to the folder. (The image list will now show the first image selected) Shift-click the 5th image. Expected result: The first through the 5th elements would be selected. Actual result: The first, fifth, sixth and seventh images are selected.
1.0.0-beta6 will be released today. Can you test with this release... Gilles Caulier
Easy enough to test with the new version, I will do that.
Confirmed that this still happens with beta6.
Attempt to reproduce: I have a folder with 20 images. I select image 2..7 and move them to a different folder. Now I have 13 images left, and selected is the image that was previously number 8, now number 2. I shift+click on now-number 5 and have selected four images, now 2..5. Where is the bug?
If that's true, then this issue must be resolved. Sean
As Marcel, I cannot reproduce the problem on my computer too. I close this file now. Re-open it if necessary. Gilles Caulier
This is still an issue in the 1.0.0 release. I have made a video demonstrating the issue, as it seems the directions I posted haven't been clear enough: http://www.youtube.com/watch?v=FlvH_nh_OlQ Again, the issue is that an item is highlighted as if it's selected, and if you shift select another item the start of the selection is actually the previously last selected item, not the one that is shown as highlighted. Sean
I could reproduce after a few attempts. Looking at the code this is an issue deeply inside Qt's QAbstractItemView. There a private variable about the last pressed position is kept which we cannot directly influence. I do not know why this variable is not adjusted when we set the currently selected item after the dragged items are removed. It very complex code in Qt.