In "import torrent" view, when I open the file browser to select a .torrent file, I get the following files filter, that unables me to see any .torrent file in the current folder: Torrents (*.torrent);;Tutti i file (*) (Torrents (*.torrent);;Tutti i file that in English language is: Torrents (*.torrent);;All files (*) (Torrents (*.torrent);;All files Cleaning such filter, makes .torrent files be visible again. ktorrent-5.0.1-3.fc26.x86_64
That's odd. According to the code, the filter should be: Torrents (*.torrent);; All files (*)
I think the problem could be coming from Italian translation that has been inserted into file filter
I can confirm this problem on Fedora 28. KTorrent v5.1.0. x86-64 And the language is just US English. The file filter is shown as: Torrents (*.torrent);;All files (*) (Torrents (*.torrent);;All files Changing the filter to * makes the files visible and selectable. But import still fails with a cannot copy error for the selected torrent file (bug #383310).
A possibly relevant merge request was started @ https://invent.kde.org/network/ktorrent/-/merge_requests/125
Git commit 5fcc97bc8e25b254cd491f5cdde7344ad401f8db by Jack Hill. Committed on 15/09/2024 at 11:45. Pushed by jackh into branch 'master'. Fix torrent selection dialog in Import Torrent dialog KUrlRequester receives name filters in the same format as QFileDialog in KF6. The old format was a leftover from KF5. Also KUrlRequester will only split the filter on ";;" if we call `setNameFilter`, i.e. the singular version of the function. FIXED-IN: 24.08.2 M +1 -1 ktorrent/dialogs/importdialog.cpp M +1 -8 libktcore/interfaces/functions.cpp M +1 -5 libktcore/interfaces/functions.h https://invent.kde.org/network/ktorrent/-/commit/5fcc97bc8e25b254cd491f5cdde7344ad401f8db
Git commit 4caf8b6c214441aad9fc6e05ecd8d5cae29179e0 by Jack Hill. Committed on 15/09/2024 at 12:41. Pushed by jackh into branch 'release/24.08'. Fix torrent selection dialog in Import Torrent dialog KUrlRequester receives name filters in the same format as QFileDialog in KF6. The old format was a leftover from KF5. Also KUrlRequester will only split the filter on ";;" if we call `setNameFilter`, i.e. the singular version of the function. FIXED-IN: 24.08.2 (cherry picked from commit 5fcc97bc8e25b254cd491f5cdde7344ad401f8db) Co-authored-by: Jack Hill <jackhill3103@gmail.com> M +1 -1 ktorrent/dialogs/importdialog.cpp M +1 -8 libktcore/interfaces/functions.cpp M +1 -5 libktcore/interfaces/functions.h https://invent.kde.org/network/ktorrent/-/commit/4caf8b6c214441aad9fc6e05ecd8d5cae29179e0