Bug 383311

Summary: "Import torrent" files filter does not allow user to see & select .torrent files
Product: [Applications] ktorrent Reporter: Germano Massullo <germano.massullo>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: CONFIRMED ---    
Severity: normal CC: get.sonic
Priority: NOR    
Version: 5.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

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).