https://bugs.kde.org/show_bug.cgi?id=361997

            Bug ID: 361997
           Summary: can't resume torrent from system tray icon
           Product: ktorrent
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: joris.guis...@gmail.com
          Reporter: edhamilt...@gmail.com

I can suspend seeding by right clicking on the icon in the system tray. But
when I try to restart seeding by right clicking on that icon nothing happens. I
then restore ktorrent in its window and right click "Start" or "Force Start".
Nothing happens. I kill ktorrent and restart it and it is not seeding. If I
then right click "Start" or "Force Start" nothing happens. The app never
crashes, but it never resumes seeding. 

My first attempt to fix it was to replace the entire ~/.local/share/ktorrent/
folder with a backup. But that didn't work.

Next I restored from a backup the ~/.config/ktorrentrc file and ktorrent worked
as desired.

In the following "diff" command, I named the file that doesn't work
ktorrent.problems and the one that works kept its proper name. Using "meld"
shows that the lines referring to suspend are in the section called
[QueueManager], and the line describing the state is in the section called
[TrackerView]. I've added the section names to the output of "diff".

[ed@arch /working]# diff ktorrentrc.problems ~/.config/ktorrentrc 

42,43c42
[QueueManager]
< suspended=true
< suspended_torrents=99016b8d8b5a44c64955dbd337259b3b18430fc4
---
> suspended=false
66c65
[TrackerView]
<
state=AAAA/wAAAAAAAAABAAAAAQAAAAABAAAAAAAAAAAAAAAAAAAAAAAAA3UAAAAGAQEAAQAAAAAAAAAAAAAAAGT/////AAAAgQAAAAAAAAAGAAABgQAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAD6AA=
---
> state=AAAA/wAAAAAAAAABAAAAAQAAAAABAAAAAAAAAAAAAAAAAAAAAAAABEUAAAAGAQEAAQAAAAAAAAAAAAAAAGT/////AAAAgQAAAAAAAAAGAAABgQAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAAAZAAAAAEAAAAAAAABNAAAAAEAAAAAAAAD6AA=


So evidently ktorrent is not changing the state of the torrent when I try to do
so using the system tray icon.

Reproducible: Always

Steps to Reproduce:
1. has happened both times I tried it, as described above in details.
2.
3.



as mentioned, restoring the ~/.config/ktorrentrc from a backup enables ktorrent
to work again correctly.
By the way, I am almost positive this happened the first time using ktorrent
4.x and the system tray icon. The 5.0 version just hit the repository
yesterday.
today's configuration
plasmashell --version
plasmashell 5.6.2
ktorrent --version
ktorrent 5.0.1
uname -sr
Linux 4.5.0-1-ARCH

A note regarding severity as requested below: I don't know if this rates as
normal or minor. The workaround is easy if the user figures out what file to
restore and has a backup or, possibly, edits the ktorrentrc file. I didn't try
editing the file. But that doesn't seem like something you would want most
users to have to do.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to