This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KTorrent doesn't remember column layout + Files not commited

Tags: None
(comma "," separated)
imported4-Anonymous
Registered Member
Posts
329
Karma
0
I reorganize the columns in the downloading tab, but KTorrent doesn't remember it on exit, so I have to do it again each time I start it. I hope it's on a TODO list...

Another thing, I started downloading files with 1.1, but it crashed so I compiled from SVN. From what I read in another thread, file saving philosophy changed between the two (files are already downloaded to the final location instead of temp dir and then moving there) so it is likely to be the cause of that: after the download is finished, the files still reside in ~/.kde/share/apps/ktorrent/... What is more, removing the torrent from downloading list also removes all the files! (I guess it's ok if they are only symlinks, but for me they aren't...). I know SVN should be handled with extreme care and I do that (I haven't lost any files, no), so I'm just saying that in hope it will all be fixed in 1.2 final.
George
Moderator
Posts
5421
Karma
1
b wrote:I reorganize the columns in the downloading tab, but KTorrent doesn't remember it on exit, so I have to do it again each time I start it. I hope it's on a TODO list...


It allready works in SVN.

Another thing, I started downloading files with 1.1, but it crashed so I compiled from SVN. From what I read in another thread, file saving philosophy changed between the two (files are already downloaded to the final location instead of temp dir and then moving there) so it is likely to be the cause of that: after the download is finished, the files still reside in ~/.kde/share/apps/ktorrent/... What is more, removing the torrent from downloading list also removes all the files! (I guess it's ok if they are only symlinks, but for me they aren't...). I know SVN should be handled with extreme care and I do that (I haven't lost any files, no), so I'm just saying that in hope it will all be fixed in 1.2 final.


I was planning to add in some migration code before the release of 1.2. But that's going to happen right before we go in string freeze for 1.2.
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Sat Dec 03, 2005 2:26 pm
I have a SVN compile from a few days ago. I guess I'll have to make a new one then. ;-)

Thanks, keep up the good work! :-)
imported4-b
Registered Member
Posts
13
Karma
0
George wrote:
b wrote:I reorganize the columns in the downloading tab, but KTorrent doesn't remember it on exit, so I have to do it again each time I start it. I hope it's on a TODO list...


It allready works in SVN.


Sorry, but it still doesn't work in SVN (today's checkout).
George
Moderator
Posts
5421
Karma
1
b wrote:
George wrote:
b wrote:I reorganize the columns in the downloading tab, but KTorrent doesn't remember it on exit, so I have to do it again each time I start it. I hope it's on a TODO list...


It allready works in SVN.


Sorry, but it still doesn't work in SVN (today's checkout).


Yes it does, I just tried it here with the latest from trunk. Did you do a make install ?
imported4-b
Registered Member
Posts
13
Karma
0

Sun Jan 01, 2006 3:17 pm
Sure I did make install. And when I quit and then run ktorrent again, the columns are not like I left there. I'll try 1.2rc1 and see if it works there.
imported4-b
Registered Member
Posts
13
Karma
0

Sun Jan 01, 2006 3:47 pm
Well, it's still the same in 1.2rc1.
I'm on qt-3.3.5 and kde 3.5.
The only feedback I get from ktorrent is these lines when I quit:
Code: Select all
kio (KDirWatch): WARNING: KDirWatch::removeDir can't handle '/etc/samba/smb.conf'
kio (KDirWatch): WARNING: KDirWatch::removeDir can't handle '/etc/security/fileshare.conf'

but somehow I don't think it's relevant to this problem.
George
Moderator
Posts
5421
Karma
1

Sun Jan 01, 2006 6:16 pm
I'm also running KDE 3.5 and probably the same Qt version.

The file these settings get saved in is :
~/.kde/share/config/ktorrentrc

One part of the file should look like this :
...
[KTorrentView]
ColumnOrder=1,0,2,3,4,5,6,7,8,9
ColumnWidths=358,181,130,78,108,133,111,159,81,129
SortAscending=false
SortColumn=0
...

As you can see, the order of all the columns, and the size of each column gets saved.

What do you have in your ktorrentrc file ? And if you play around with the columns, what happens to this section of the ktorrentrc file ?
imported4-b
Registered Member
Posts
13
Karma
0

Sun Jan 01, 2006 8:38 pm
Well, I don't have this section in my ktorrentrc. :-(
Deleting the existing rc and running ktorrent only creates a file containing:
Code: Select all
[ChunkDownloadView]
ColumnOrder=0,1,2,3,4
ColumnWidths=121,95,97,152,206
SortAscending=true
SortColumn=0

[HTML Settings]
AutomaticDetectionLanguage=0
hidden_on_exit=false

[PeerView]
ColumnOrder=0,1,2,3,4,5,6
ColumnWidths=118,97,152,146,110,113,112
SortAscending=true
SortColumn=0


[edit]
I tried adding this section to my rc and it worked (i.e. the columns were arranged according to its settings), BUT after adjusting and quitting, the preferences from this section were not saved...
George
Moderator
Posts
5421
Karma
1

Mon Jan 02, 2006 3:10 pm
Do you have write permissions on this file ? And what happens if you delete the ktorrentrc file ?
imported4-b
Registered Member
Posts
13
Karma
0

Mon Jan 02, 2006 7:25 pm
Of course I have permissions, 600 and I'm the owner. Changing them to 666 doesn't help either (doesn't make much sense anyway, but I checked just in case).
I already told you what happens when the file is deleted, in the previous post.
George
Moderator
Posts
5421
Karma
1

Tue Jan 03, 2006 5:36 pm
I have made sure that all changes to the configuration get synced after the view saves its layout, this should fix the problem. If you can try it out and let us know if it works.
imported4-b
Registered Member
Posts
13
Karma
0

Thu Jan 05, 2006 11:47 am
Still the same. Using today's SVN I tried many things: removing ~/.kde/share/config/ktorrentrc and running KTorrent - in the file it created, [KTorrentView] part is simply missing. When I insert it, it can read it alright, but no changes are made after rearranging the columns and quitting (no matter if I quit directly after that or if I change some other options in the meanwhile and then quit). If I insert [KTorrentView] section by hand, and delete e.g. ColumnOrder line, it's still not there after quitting. Changes to other sections (including column order in PeerView etc.) are always saved correctly. I have no idea what else I could do other than editing column order and sizes by hand...
George
Moderator
Posts
5421
Karma
1

Thu Jan 05, 2006 1:39 pm
The code that handles the saving of the ktorrentrc files, is part of KDE.

So I would say that this is a KDE bug. I will ask around on the kde developmen mailing list see if anybody has heard about similar bugs, and check bugs.kde.org for similar cases.

( when I get back from work)
imported4-b
Registered Member
Posts
13
Karma
0

Thu Jan 05, 2006 2:26 pm
I see. I will also try to find something on bugs.kde then.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]