<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>296835</bug_id>
          
          <creation_ts>2012-03-26 20:32:18 +0000</creation_ts>
          <short_desc>group view selection hidden by itself</short_desc>
          <delta_ts>2012-07-03 06:02:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>ktorrent</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Silver Salonen">silver.salonen</reporter>
          <assigned_to name="Joris Guisson">joris.guisson</assigned_to>
          
          
          <cf_commitlink>http://commits.kde.org/ktorrent/9a62058e0535b094566314a0a1cf082afa8efbef</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1240128</commentid>
    <comment_count>0</comment_count>
    <who name="Silver Salonen">silver.salonen</who>
    <bug_when>2012-03-26 20:32:18 +0000</bug_when>
    <thetext>User-Agent:       Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.3 (KHTML, like Gecko) Chrome/19.0.1066.0 Safari/536.3 SUSE/19.0.1066.0
Build Identifier: 

In the new 4.2 there&apos;s &quot;View -&gt; Group View Visible&quot; which I&apos;d like always to be open to quickly switch between downloads and uploads. Sometimes when I open KTorrent, the view is hidden, so I have to open it again.

Reproducible: Sometimes

Steps to Reproduce:
1. Open KTorrent
2. Toggle &quot;View -&gt; Group View Visible&quot; on
3. Close KTorrent
4. Open KTorrent
Actual Results:  
4. Sometimes &quot;View -&gt; Group View Visible&quot; is off

Expected Results:  
4. &quot;View -&gt; Group View Visible&quot; should always be as it was when KTorrent was closed the last time</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1245371</commentid>
    <comment_count>1</comment_count>
    <who name="Joris Guisson">joris.guisson</who>
    <bug_when>2012-04-12 18:06:42 +0000</bug_when>
    <thetext>Can&apos;t reproduce this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1245381</commentid>
    <comment_count>2</comment_count>
    <who name="Silver Salonen">silver.salonen</who>
    <bug_when>2012-04-12 18:25:28 +0000</bug_when>
    <thetext>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..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1245663</commentid>
    <comment_count>3</comment_count>
    <who name="Joris Guisson">joris.guisson</who>
    <bug_when>2012-04-13 18:02:59 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1245828</commentid>
    <comment_count>4</comment_count>
    <who name="Silver Salonen">silver.salonen</who>
    <bug_when>2012-04-13 19:40:15 +0000</bug_when>
    <thetext>Just saw it and there was &quot;visible=false&quot;. I didn&apos;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&apos;s hidden for some reason and I make it visible, and I don&apos;t quit KTorrent, but reboot machine, &quot;visible=true&quot; is not getting written into the config?
I don&apos;t actually know how or when the configurations are written though, just guessing :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1245964</commentid>
    <comment_count>5</comment_count>
    <who name="Joris Guisson">joris.guisson</who>
    <bug_when>2012-04-14 10:08:54 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1248151</commentid>
    <comment_count>6</comment_count>
    <who name="Joris Guisson">joris.guisson</who>
    <bug_when>2012-04-21 10:20:08 +0000</bug_when>
    <thetext>Git commit 969bcbc727cb0c8581fd93de084e5149795e31e2 by Joris Guisson.
Committed on 21/04/2012 at 12:19.
Pushed by guisson into branch &apos;master&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1248152</commentid>
    <comment_count>7</comment_count>
    <who name="Joris Guisson">joris.guisson</who>
    <bug_when>2012-04-21 10:21:48 +0000</bug_when>
    <thetext>Git commit 9a62058e0535b094566314a0a1cf082afa8efbef by Joris Guisson.
Committed on 21/04/2012 at 12:21.
Pushed by guisson into branch &apos;master&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271525</commentid>
    <comment_count>8</comment_count>
    <who name="Silver Salonen">silver.salonen</who>
    <bug_when>2012-07-02 08:36:24 +0000</bug_when>
    <thetext>This still happens quite frequently in KTorrent 4.2. I never hide the group view myself, but it&apos;s sometimes still hidden after I&apos;ve marked it visible and quit KTorrent normally, not by shutting down PC or logging out of KDE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271717</commentid>
    <comment_count>9</comment_count>
    <who name="Joris Guisson">joris.guisson</who>
    <bug_when>2012-07-02 16:27:24 +0000</bug_when>
    <thetext>The fix is not part of 4.2, it will be part of 4.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271903</commentid>
    <comment_count>10</comment_count>
    <who name="Silver Salonen">silver.salonen</who>
    <bug_when>2012-07-03 06:02:08 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>