Bug 358826

Summary: scientific notation in percentage completion and problems with the .desktop file
Product: [Applications] ktorrent Reporter: Gustavo Alvarez <sl1pkn07>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED FIXED    
Severity: normal CC: fademind, omarplummer, shafff
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Gustavo Alvarez 2016-01-31 15:01:27 UTC
http://wstaw.org/m/2016/01/30/Screenshot_20160130_152711.png

and  in the .desktop file:

Exec=ktorrent %i -caption %c %u

└───╼  ktorrent %i -caption %c %u
Unknown options: c, a, p, t, i, o, n.

also have a +x bit execution

Reproducible: Always

Steps to Reproduce:
1.build from git
2.launch from menu (second issue)
3.launch from console and download any torrent
4.see the percentage completed  text

Actual Results:  
- can't launch from menu
- the muber of percentage completed is in scientific notation "1e+02%"

Expected Results:  
- can launch from menu
- show decimal mumbers on percentage completed "100%"
Comment 1 Omar Plummer 2016-02-12 20:01:32 UTC
Seen here as well, on:

Ktorrent 5.0dev (built from git)
KDE Frameworks 5.19.0 (built from git)
Qt 5.6.0 (built from git)

If can confirm that if I edit the file $KF5/share/applications/org.kde.ktorrent.desktop and change the line:

Exec=ktorrent %i -caption %c %u

to

Exec=ktorrent %i %c %u

I am then able to start ktorrent from krunner and from the menu.