Summary: | group view selection hidden by itself | ||
---|---|---|---|
Product: | [Applications] ktorrent | Reporter: | Silver Salonen <silver.salonen> |
Component: | general | Assignee: | Joris Guisson <joris.guisson> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/ktorrent/9a62058e0535b094566314a0a1cf082afa8efbef | Version Fixed In: | |
Sentry Crash Report: |
Description
Silver Salonen
2012-03-26 20:32:18 UTC
Can't reproduce this issue. OK, but is there anything for me to do to debug it somehow? BTW, it happens quite randomly - sometimes it works OK 5 times in a row, but then the view is gone again.. The state is saved to ~/.kde/share/config/ktorrentrc and restored at startup. File must be getting corrupted. After you see it going wrong and ktorrent is still running, open the file in a text editor. There should be a section like this: [GroupView] Active Torrents=true All Torrents=true Custom Groups=true Downloads=true Passive Torrents=true Uploads=true all=true custom=true visible=true Check if visibile is set to true. Just saw it and there was "visible=false". I didn't currently manage to get the view hidden by itself though. What I noticed is that when I made it visible, it was not written to the config right away, but only after when I quit KTorrent. So maybe the problem is that once it's hidden for some reason and I make it visible, and I don't quit KTorrent, but reboot machine, "visible=true" is not getting written into the config? I don't actually know how or when the configurations are written though, just guessing :) The configuration is saved when ktorrent is shutting down. If ktorrent gets forcibly killed when the computer is shutting down, then it might not get saved. Git commit 969bcbc727cb0c8581fd93de084e5149795e31e2 by Joris Guisson. Committed on 21/04/2012 at 12:19. Pushed by guisson into branch 'master'. Add new SignalCatcher class to handle UNIX signals M +1 -0 ChangeLog M +54 -3 src/util/signalcatcher.cpp M +34 -0 src/util/signalcatcher.h http://commits.kde.org/libktorrent/969bcbc727cb0c8581fd93de084e5149795e31e2 Git commit 9a62058e0535b094566314a0a1cf082afa8efbef by Joris Guisson. Committed on 21/04/2012 at 12:21. Pushed by guisson into branch 'master'. Catch SIGINT and SIGTERM and do a clean shutdown M +1 -0 ChangeLog M +4 -2 ktorrent/core.cpp M +9 -0 ktorrent/main.cpp http://commits.kde.org/ktorrent/9a62058e0535b094566314a0a1cf082afa8efbef This still happens quite frequently in KTorrent 4.2. I never hide the group view myself, but it's sometimes still hidden after I've marked it visible and quit KTorrent normally, not by shutting down PC or logging out of KDE. The fix is not part of 4.2, it will be part of 4.3 My logic says that the question is not whether the configuration is saved or not, because I have NEVER hidden the group view myself. It looks like something sets the group view to be hidden upon exiting. |