Bug 358826 - scientific notation in percentage completion and problems with the .desktop file
Summary: scientific notation in percentage completion and problems with the .desktop file
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-31 15:01 UTC by Gustavo Alvarez
Modified: 2016-02-27 22:08 UTC (History)
3 users (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 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.