| Summary: | When multi-selection is allowed and folders as well as files are selected, disregard folder selection and only open files | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Todd <toddrme2178> |
| Component: | Open/save dialogs | Assignee: | KIO Bugs <kio-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | bugseforuns, kdedev, kdelibs-bugs-null, nate, nicholaspnowak |
| Priority: | NOR | Keywords: | junior-jobs, usability |
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/kio/-/commit/debd9fd15a6fae6d745fa6f3b0e5e812ac163162 | Version Fixed/Implemented In: | 6.14 |
| Sentry Crash Report: | |||
|
Description
Todd
2011-04-21 04:22:58 UTC
An alternative way of handling this would be to remove the error message all together and highlight files only when shift/ctrl+clicking. This is the way it works on MacOS. I'm new to KDE but might take a stab at this as starter project A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1859 Git commit debd9fd15a6fae6d745fa6f3b0e5e812ac163162 by Akseli Lahtinen. Committed on 09/04/2025 at 16:47. Pushed by akselmo into branch 'master'. KFileWidget: Ignore selected folders during file selection During file selection, there's no reason to add the selected folder to the url bar (thus making it selected). User can still visually select the folder. Instead, just ignore any selected folders and add only files. We can then delete the folder checking while loop. This does not affect directory selection. FIXED-IN: 6.14 M +17 -27 src/filewidgets/kfilewidget.cpp https://invent.kde.org/frameworks/kio/-/commit/debd9fd15a6fae6d745fa6f3b0e5e812ac163162 |