Bug 349100 - ktorrent no longer shows the percentage as a number
Summary: ktorrent no longer shows the percentage as a number
Status: RESOLVED DOWNSTREAM
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: 4.3.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL: https://bugzilla.redhat.com/show_bug....
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-13 13:42 UTC by Marco
Modified: 2015-07-13 05:57 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 Marco 2015-06-13 13:42:54 UTC
In the latest version of ktorrent the number that expresses the percentage of progress of a torrent has been replaced by a line that I find totally incomprehensible and unusable. How do you understand if the progress is 99.8% or 100%? Should I use a ruler on the monitor? Who hates so much the numbers and math to operate such a choice?

Reproducible: Always

Steps to Reproduce:
1. Start a torrent with ktorrent
2. Wait for the torrent to start
3. You can not know the exact percentage of progress of the torrent; you can only have a very vague idea

Actual Results:  
An incomprehensible and unusable line under the column of percentage

Expected Results:  
The percentage as a number
Comment 1 Christoph Feck 2015-07-10 15:06:29 UTC
KTorrent hasn't changed since years. What you might have changed is the widget style (say, from Oxygen to Breeze).

Can you try a different widget style?
Comment 2 Marco 2015-07-12 10:02:22 UTC
Today I tried ktorrent in Kde. I see a blue line, followed by the percentage. This is ok.
But I always use Gnome, and if I open ktorrent in gnome I only see a green thin line, and no percentage after it. If I enlarge the field, only the line is enlarged, and no percentage is shown.
Note that, if I select the single file and choose "File" on the bottom, the total percentage is shown selecting the "File tree" mode, but in the list of file at the top no percentage is shown (unless I'm using Kde instead od Gnome)
Note that until Fedora 21 I always opened ktorrent in Gnome viewing the percentage, and not the advancement line.
Comment 3 Christoph Feck 2015-07-12 22:05:20 UTC
As a workaround, you can force using the KDE widget style even when run from Gnome using "ktorrent -style Oxygen" command.

There is nothing ktorrent developers can do if the GTK styles the Qt libraries emulates hides the percentage texts.
Comment 4 Marco 2015-07-13 04:46:09 UTC
Perfect. This works fine. I changed, in /usr/share/applications/kde4/ktorrent.desktop,
Exec=ktorrent %i -caption "%c" %u
with
Exec=ktorrent %i -style Oxygen -caption "%c" %u
and the style is as on Fedora 21, with percentage shown into a blue line.
Perhaps ktorrent have a problem to find a default theme out of kde?
But so it works.
Comment 5 Marco 2015-07-13 05:16:49 UTC
If I do
dnf remove adwaita-qt4
the command
ktorrent
works fine, as
ktorrent -style Oxygen
Then, the problem seem to be adwaita-qt4, if installed, and if ktorent starts in Gnome...
Comment 6 Christoph Feck 2015-07-13 05:57:02 UTC
Then please report this issue to adwaita-qt4 developers.

https://github.com/MartinBriza/adwaita-qt/issues