Bug 182239 - Shift+Click selection of multiple files in open file dialog broken
Summary: Shift+Click selection of multiple files in open file dialog broken
Status: RESOLVED FIXED
Alias: None
Product: kfile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 119936 324665 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-29 01:04 UTC by Jens Rutschmann
Modified: 2018-04-09 21:12 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing mistakenly added files. (55.65 KB, image/png)
2009-01-29 01:07 UTC, Jens Rutschmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Rutschmann 2009-01-29 01:04:32 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Unlisted Binary Package

When trying to select multiple files in the file open dialog (for example in ark when adding files to an archive) the selection algorithm selects to many files.
More specifically: 
In the file open dialog navigate to a directory containing at least that much files to get two columns in the view.
In the left column click a file (let's call it file 1) with a short name (some files above in that column need to have longer names)
Shift-Click any second file (file 2) in another column right of the first selected file.
Then all files between file 1 and 2 will be added to the selection (correct behavior)
Additionally all files above file 1 will be selected if they have longer names than file 1.

See picture for a graphical explanation :-)

This is probably related to the same issue in dolphin, see bug #163451
Comment 1 Jens Rutschmann 2009-01-29 01:07:59 UTC
Created attachment 30686 [details]
Screenshot showing mistakenly added files.

This screenshot has been taken using the kde4daily image.
Comment 2 Christoph Feck 2009-08-12 16:53:51 UTC
Confirmed with current trunk (here files with "short" names between the two clicked files were not selected).
Comment 3 Christoph Feck 2009-08-27 03:28:51 UTC
*** Bug 119936 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2013-09-08 17:52:32 UTC
*** Bug 324665 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2018-04-09 21:12:24 UTC
Works for me in KDE Frameworks 5.45 (and for that matter, every KF5 version of KIO that I can ever recall using).