Bug 279582 - Ktorrent after upgrade to KDE 4.7 ceased to move downloaded torrents to specified folder
Summary: Ktorrent after upgrade to KDE 4.7 ceased to move downloaded torrents to speci...
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-07 10:48 UTC by Sergei Andreev
Modified: 2011-10-04 18:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
ktorrent showing torrent with differents settings (227.49 KB, image/jpeg)
2011-10-03 23:03 UTC, J Bolos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Andreev 2011-08-07 10:48:49 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

After upgrade to KDE 4.7 Ktorrent ceased to move completed downloads to specified folder (Settings -> "Move completed downloads to:" ), they are staying in default save location.

Reproducible: Didn't try

Steps to Reproduce:
Upgrade KDE to version 4.7 in Kubuntu

Actual Results:  
Described behavior of Ktorrent

Expected Results:  
Old behavior of Ktorrent

OS: Linux (x86_64) release 2.6.38-10-generic
Compiler: gcc
Comment 1 J Bolos 2011-08-10 20:55:10 UTC
Only wanted to add a "me too". Downloaded content is not being moved to the specified directory. Deleting the configuration and starting from zero doesn't help.

$ ktorrent --version
Qt: 4.7.3
KDE Development Platform: 4.7.00 (4.7.0)
KTorrent: 4.1.1
Comment 2 Joris Guisson 2011-08-11 16:25:02 UTC
Right click on a torrent -> Settings

Is move when completed to enabled ?
Comment 3 J Bolos 2011-08-11 16:34:53 UTC
Of course ;)
Comment 4 Joris Guisson 2011-08-13 08:56:10 UTC
Move after completion seems to work on the latest code
Comment 5 Joris Guisson 2011-08-13 09:08:15 UTC
Latest of the 4.1 branch also has no problems.

What do you see in the logging ?
Comment 6 J Bolos 2011-08-13 10:25:32 UTC
Uhmmm I've ever used the log before, so this is what I did.

- Delete share/config/ktorrentrc and share/apps/ktorrent
- Open ktorrent and in the config screen select one new empty directory for downloading and another one for finished downloads.
- Activate de log, Disk I/O set to "All" and the rest to "Warning"
- Download a very small torrent (~1Mb) with many seeders

The download when fine, but the files stay in the downloading directory. They weren't moved to the finished directory. The log shows not a single error, warning or hint whatsoever.

If you want me to look at some specific info, please tell, I've never use the log before and there's waaaay too much information in there for me.
Comment 7 Joris Guisson 2011-10-03 17:22:21 UTC
I haven't been able to reproduce this, what happens if you reinstall or recompile ktorrent ?
Comment 8 Sergei Andreev 2011-10-03 20:13:52 UTC
Jose Luis Bolos, are you using Kubuntu or other distributive?
Comment 9 J Bolos 2011-10-03 23:03:57 UTC
Created attachment 64186 [details]
ktorrent showing torrent with differents settings

I've had this problem happening on two different installs:
- Kubuntu 11.10 (alpha) with KDE 4.7 and KTorrent 4.1.1
- Kubuntu 11.04 with KDE 4.7 packages and KTorrent 4.1.1 (later upgraded to 11.10 beta, problem persists).

I think I've just found the culprint. If the "Open all torrents silently" option is ticked the field "Move when completed to" of the individual torrent settings is (apparently) not filled in/active.

If "Open all torrents silently" is disabled the torrent is added correctly with the "Move when completed to" ticked and the destination field filled-in.

Hopefully much more explicative screenshot attached.
Comment 10 Joris Guisson 2011-10-04 17:58:39 UTC
Git commit f7817f2cd10c92b5407ea3a6f28d47e85047479d by Joris Guisson.
Committed on 04/10/2011 at 19:58.
Pushed by guisson into branch 'master'.

Fix move on completion location not being set when open all torrents
silently is enabled 

BUG: 279582

M  +1    -0    ChangeLog
M  +1    -1    ktorrent/core.cpp

http://commits.kde.org/ktorrent/f7817f2cd10c92b5407ea3a6f28d47e85047479d
Comment 11 Joris Guisson 2011-10-04 18:02:00 UTC
Git commit c7de5d1949f92308a971fcfe07b3c33a234ff7df by Joris Guisson.
Committed on 04/10/2011 at 19:58.
Pushed by guisson into branch '4.1'.

Merge to 4.1: Fix move on completion location not being set when open all torrents
silently is enabled

CCBUG: 279582

M  +1    -0    ChangeLog
M  +1    -1    ktorrent/core.cpp

http://commits.kde.org/ktorrent/c7de5d1949f92308a971fcfe07b3c33a234ff7df