Bug 424209 - Selecting multiple files from "recent files" results in no file being actually used/opened
Summary: Selecting multiple files from "recent files" results in no file being actuall...
Status: ASSIGNED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-14 18:40 UTC by Riccardo Robecchi
Modified: 2021-02-09 14:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot (23.83 KB, image/png)
2020-07-14 18:40 UTC, Riccardo Robecchi
Details
Open/save dialogue (124.84 KB, image/png)
2020-07-14 18:40 UTC, Riccardo Robecchi
Details
Error dialogue (13.68 KB, image/png)
2020-07-14 18:41 UTC, Riccardo Robecchi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Robecchi 2020-07-14 18:40:03 UTC
Created attachment 130122 [details]
Screenshot

SUMMARY
Selecting multiple files in the "recent files" screen of the open/save dialogue results either in an error or in no files being actually selected.

STEPS TO REPRODUCE
1. Use Firefox to go to a page where you have a "select files" button and click it
2. select multiple files in the open/save dialogue
3. click "ok"

OBSERVED RESULT
None of the files is actually uploaded. You have to select files one by one for them to be uploaded. 
If you do the same in Kate, an error message is shown (see attached screenshot). The file name field reports this: "recentlyused:/files/file:///path/to/file". This makes the app unable to open the file.

EXPECTED RESULT
All the files selected are uploaded/opened correctly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Comment 1 Riccardo Robecchi 2020-07-14 18:40:29 UTC
Created attachment 130123 [details]
Open/save dialogue
Comment 2 Riccardo Robecchi 2020-07-14 18:41:00 UTC
Created attachment 130124 [details]
Error dialogue
Comment 3 Bug Janitor Service 2020-10-25 08:50:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/189
Comment 4 Riccardo Robecchi 2020-12-01 12:35:20 UTC
I just realised something that might be of interest. Selecting multiple files does not work if the files are on an external disk. I have been selecting multiple files stored on the internal drive of my notebook and I have had no issues, but as soon as I connected an external drive it wouldn't work anymore.
I hope this can help narrow down the source of the issue.
Comment 5 Riccardo Robecchi 2020-12-04 15:08:45 UTC
(In reply to Riccardo Robecchi from comment #4)
> I just realised something that might be of interest. Selecting multiple
> files does not work if the files are on an external disk. I have been
> selecting multiple files stored on the internal drive of my notebook and I
> have had no issues, but as soon as I connected an external drive it wouldn't
> work anymore.
> I hope this can help narrow down the source of the issue.

Scratch that, I did further testing and it doesn't work for files on the current disk as well. It did work though, so I do wonder what (if anything) changed.
Comment 6 Méven Car 2021-01-25 16:25:56 UTC
> It did work though, so I do wonder what (if anything) changed.

What changed is that we have a new kio worker recentlyused:/ that has replaced recentdocuments:/ because it is much more feature full, activity aware, syncs with kickoff, etc...

You can read my blog post about it http://www.bivouak.fr/recently-used-ioslave/

But it is not yet completely properly implemented, and io worker design is not very simple.
Comment 7 Riccardo Robecchi 2021-02-09 14:21:16 UTC
(In reply to Méven Car from comment #6)
> What changed is that we have a new kio worker recentlyused:/ that has
> replaced recentdocuments:/ because it is much more feature full, activity
> aware, syncs with kickoff, etc...
> 
> You can read my blog post about it
> http://www.bivouak.fr/recently-used-ioslave/
> 
> But it is not yet completely properly implemented, and io worker design is
> not very simple.

Oh, what I meant is that recentlyused:/ worked in November, then started not working again. So my assumption is that something must have changed in the meantime.