Bug 67139 - KNode loses positioning of the panes
Summary: KNode loses positioning of the panes
Status: RESOLVED FIXED
Alias: None
Product: knode
Classification: Miscellaneous
Component: general (show other bugs)
Version: 0.7.6
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 77262 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-03 21:35 UTC by palantir
Modified: 2004-08-21 18:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description palantir 2003-11-03 21:35:55 UTC
Version:           0.7.6 (using KDE 3.1.93 (CVS >= 20031028), compiled sources)
Compiler:          gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
OS:          Linux (i686) release 2.4.21-1.ll.acpi

Each time knode starts I have to drag the border of the various views since they are not how I lest them the previous time, they are restored to some unspecified defaults... This used to happen in KMail a short time ago, but is now solved -- knode still has the bug.
Comment 1 Ron 2003-12-06 23:47:03 UTC
I also experience this in my CVS pull of December 1st.
Comment 2 Heinrich Wendel 2004-01-21 00:16:25 UTC
this happnes in rc1 as well, but not always, really weird
Comment 3 Heinrich Wendel 2004-02-04 10:25:02 UTC
bug 67520 says that it has been fixed before 3.2rc1, i'll test it with 3.2 final today
Comment 4 Heinrich Wendel 2004-02-04 17:31:59 UTC
it's still there, happens randomly
Comment 5 palantir 2004-02-04 17:42:26 UTC
I have it too, happening randomly. And, worse of all, KMail has started having similar problems too... but maybe I should open another bug for that...
Comment 6 Heinrich Wendel 2004-02-28 17:44:57 UTC
any idea?
Comment 7 Gregorio Guidi 2004-03-14 18:08:09 UTC
Here's the one-liner that I posted in bug 67520 and that fixes the problem for me, even if I can't understand what's behind the scenes (what setSplitterKeepSize() do).

RCS file: /home/kde/kdepim/knode/knmainwidget.cpp,v
retrieving revision 1.23
diff -u -3 -b -r1.23 knmainwidget.cpp
--- knmainwidget.cpp    14 Mar 2004 13:57:41 -0000      1.23
+++ knmainwidget.cpp    14 Mar 2004 17:04:11 -0000
@@ -80,7 +80,6 @@
   //setup splitter behavior
   manager()->setSplitterHighResolution(true);
   manager()->setSplitterOpaqueResize(true);
-  manager()->setSplitterKeepSize(true);
  
   //article view
   a_rtDock = createDockWidget("article_viewer", SmallIcon("contents"), 0,
Comment 8 Roberto Teixeira 2004-03-17 18:06:56 UTC
CVS commit by maragato: 

Gregorio, thanks for the patch. I don't have this problem but if 
it works for you...

Please, could you guys (who reported this bug) try and see if this
actually fixes the problem and let me know?


CCMAIL: 67139@bugs.kde.org


  M +0 -1      knmainwidget.cpp   1.24


--- kdepim/knode/knmainwidget.cpp  #1.23:1.24
@@ -81,5 +81,4 @@ KNMainWidget::KNMainWidget( KXMLGUIClien
   manager()->setSplitterHighResolution(true);
   manager()->setSplitterOpaqueResize(true);
-  manager()->setSplitterKeepSize(true);
 
   //article view


Comment 9 Christoph Bartoschek 2004-03-17 19:54:03 UTC
The patch seems to work for me. 
Comment 10 Heinrich Wendel 2004-03-17 21:02:28 UTC
it works, but why?
Comment 11 Sashmit Bhaduri 2004-03-20 14:37:52 UTC
works for me w/ patch
Comment 12 Roberto Selbach 2004-03-21 16:01:12 UTC
Great! Thanks Gregorio!
Comment 13 Heinrich Wendel 2004-03-23 17:48:02 UTC
has this also been backported to kde 3.2?
Comment 14 Roberto Teixeira 2004-03-23 21:25:31 UTC
CVS commit by maragato: 

Backporting.

CCMAIL: 67139@bugs.kde.org


  M +1 -1      Makefile.am   1.52.10.1
  M +0 -1      knmainwidget.cpp   1.20.2.1


--- kdepim/knode/Makefile.am  #1.52:1.52.10.1
@@ -148,5 +148,5 @@
 
 
-knode_METASOURCES = AUTO
+METASOURCES = AUTO
 
 xdg_apps_DATA = KNode.desktop

--- kdepim/knode/knmainwidget.cpp  #1.20:1.20.2.1
@@ -81,5 +81,4 @@ KNMainWidget::KNMainWidget( KXMLGUIClien
   manager()->setSplitterHighResolution(true);
   manager()->setSplitterOpaqueResize(true);
-  manager()->setSplitterKeepSize(true);
 
   //article view


Comment 15 Volker Krause 2004-08-21 18:43:15 UTC
*** Bug 77262 has been marked as a duplicate of this bug. ***