Bug 383311 - "Import torrent" files filter does not allow user to see & select .torrent files
Summary: "Import torrent" files filter does not allow user to see & select .torrent files
Status: CONFIRMED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: 5.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-09 12:36 UTC by Germano Massullo
Modified: 2018-05-05 06:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Germano Massullo 2017-08-09 12:36:22 UTC
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
Comment 1 Christoph Feck 2017-08-23 13:02:54 UTC
That's odd. According to the code, the filter should be:

Torrents (*.torrent);; All files (*)
Comment 2 Germano Massullo 2017-08-23 13:12:57 UTC
I think the problem could be coming from Italian translation that has been inserted into file filter
Comment 3 Syam 2018-05-05 06:45:39 UTC
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).