Bug 68351 - GUI State is nor correctly saved/restored on the .kdevses file
Summary: GUI State is nor correctly saved/restored on the .kdevses file
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: UI: all modes (show other bugs)
Version: git master
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 72755 72824 78847 88203 90839 118051 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-16 09:43 UTC by Claudiu ANGHEL
Modified: 2006-12-16 00:53 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
A small graphic to illustrate one problem (help discuss with MDI people) (16.85 KB, image/jpeg)
2004-07-16 10:14 UTC, Andreas Schallenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claudiu ANGHEL 2003-11-16 09:43:18 UTC
Version:           3.0.0b1 CVS (using KDE KDE 3.1.4)
Installed from:    SuSE RPMs
OS:          Linux

In IDEAl mode you have the tabs for class browser, file browser, auto project ... on the left side. I'm keeping them opened all the time (using "overlap" button (A small rectangle).

Expected behavior:
Closing KDevelop and opening again the workspace view is preserved.

Actual behavior:
If I'm closing kdevelop and start again the selection of the class browser is preserved but the left  panel does not appear. I'm clicking once the class browser is disabled (left panel hidden).I'm clicking second time the class browser is enabled and the panel appears with the "overlap" button enabled.

The behavior can be reproduced all the time.
Comment 1 Amilcar do Carmo Lucas 2004-01-21 14:41:12 UTC
*** Bug 72755 has been marked as a duplicate of this bug. ***
Comment 2 Amilcar do Carmo Lucas 2004-01-21 14:43:05 UTC
*** Bug 72824 has been marked as a duplicate of this bug. ***
Comment 3 Jens Dagerbo 2004-04-20 10:45:47 UTC
*** Bug 78847 has been marked as a duplicate of this bug. ***
Comment 4 Andreas Schallenberg 2004-04-29 16:04:13 UTC
Additionally I see the following behavior:
When starting kdevelop the status of the overlap-mode
for the left hand side menu is restored from last session,
this works. But the behavior is different:
Opening the tab and clicking on one file (for example)
makes the tab close again. I would expect it to stay open.

Then open the tab again, uncheck "overlap", check it again
and then the tab works as expected.
Comment 5 Nicholas Pilon 2004-06-20 05:11:59 UTC
I find even stranger behavior. I turn on overlap for all IDEAl panels, reduce all of them to icons, and close kdevelop. I then reopen kdevelop. The panels are still all closed, but they also all have the overlap button depressed... Despite not being in overlap mode. Very annoying.

Using: kdevelop3 - 3.0.3 (from Debian Testing)
Comment 6 Amilcar do Carmo Lucas 2004-06-21 14:49:34 UTC
AFAIK this is partially solved in KDevelop HEAD.
Please follow the compilation instructions on the website, retest and give feedback.

Only with your feedback can we improve KDevelop. :)
Comment 7 Claudiu ANGHEL 2004-06-22 07:17:07 UTC
I just compiled the CVS Head and the result is almost the same. The left hand menu is always closed when you restart kdevelop or load a new project. The same for the rigth hand one (automake...) and the bottom one (messages ...)
The only difference is that the overlap button status is corectly restored and the  overlap status of the menu is also corectly restored (before you needed to click twice on the overlap button). KDE version 3.2.0 on SUSE 8.2
Comment 8 Jens Dagerbo 2004-06-23 18:30:10 UTC
Just a note: I seriously doubt KDevelop can do anything about this bug, it needs to be solved in kmdi. At least that's my hunch.
Comment 9 András Manţia 2004-06-23 20:04:38 UTC
I'm sure this is partly a KMDI bug, but not entirely. There is some 
weird UI things done when a project is loaded in KDevelop. ;-) 

Comment 10 Andreas Schallenberg 2004-07-16 10:14:58 UTC
Created attachment 6694 [details]
A small graphic to illustrate one problem (help discuss with MDI people)

The image shows a situation right after program start.
The overlap button is checked (upper image) but the
overlap is not done correctly since some source code
is not visible any more and the scroll bar
at the bottom is missing (lower image).

Clicking twice on the overlap-button solves this
problem for the current session.
Comment 11 jakubpol 2004-08-20 01:58:10 UTC
Unfortunately, both the left-hand (class viewer etc) and right-hand (documentation viewer etc) windows don't get restored when using KDEveop 3.1.0 rc2.

Apart from this problem (and the one with documentation viewer large font sizes) kdevelop ROCKS.
Comment 12 Sack Gasse 2004-09-29 12:35:31 UTC
KDevelop keeps getting better and better. But I have to say, the GUI components thing is still very much annoying. It would be really great if you could work it out. Although, I must say, the random arrangments of GUI components is quite entertaining when I start up my kdevelop in the morning. Always new suprises :-)



Comment 13 Jens Dagerbo 2004-10-06 20:13:45 UTC
*** Bug 90839 has been marked as a duplicate of this bug. ***
Comment 14 Jens Dagerbo 2004-10-06 20:13:58 UTC
*** Bug 88203 has been marked as a duplicate of this bug. ***
Comment 15 Andreas Schallenberg 2005-01-19 09:10:26 UTC
I cannot reproduce this behavior in KDevelop 3.1.2 anymore.

The overlap button is now working correctly for me. However,
its state should be remembered during sessions. Currently its
state on KDevelop start is always "off" (so the windows to
the side overlap the edited text).

Hm, maybe the button state should be inverse:
When its checked (overlap on) the side-windows
are be allowed to hide the text and when unchecked the edit frame
is reduced in size.
Comment 16 Amilcar do Carmo Lucas 2005-01-19 11:10:22 UTC
This is probably the most reported bug in KDevelop.
And it is not fixed yet :(
But it's good to hear that it at least is partially fixed.
Comment 17 Amilcar do Carmo Lucas 2005-01-19 11:17:30 UTC
It's a bit related to Bug 94863
Comment 18 András Manţia 2005-01-19 16:18:59 UTC
On Wednesday 19 January 2005 12:10, Amilcar do Carmo Lucas wrote:
> This is probably the most reported bug in KDevelop.
> And it is not fixed yet :(
> But it's good to hear that it at least is partially fixed.

I remember that I fixed in once, but got broken later. I haven't looked 
lately to KDevelop's code, but this is not so hard to fix taking into 
account that Quanta (using the same KMDI) does not have the 
problem. ;-)

Andras

Comment 19 Andreas Schallenberg 2005-06-27 10:48:27 UTC
Tis bug is related to #68015 (but no duplicate).
Comment 20 Inge Jørgensen 2005-12-01 09:14:12 UTC
This happens with "Tabbed pages mode" also. If I close and reopen KDevelop, the layout is reverted to the default layout. Very annoying.
Comment 21 Andreas Schallenberg 2005-12-14 13:29:35 UTC
Just tested it with KDevelop 3.3 (came with KDE 3.5.0, SUSE packages).

Currently the overlap button is always checked after start
and the side-windows are displayed correctly. This behavior
is ok for me. Maybe we can close this report?

Perhaps someone living on another distro could check, that this
is not SUSE-limited, first :)
Comment 22 Inge Jørgensen 2005-12-14 18:09:57 UTC
It's still broken for me in KDevelop 3.3 (KDE 3.5.0, ubuntu packages). State isn't saved in either iDEAL or Tabbed Pages mode. Apparently, this is a bug with KMDI.
Comment 23 Amilcar do Carmo Lucas 2005-12-29 11:11:44 UTC
*** Bug 118051 has been marked as a duplicate of this bug. ***
Comment 24 edA-qa mort-ora-y 2006-10-15 07:25:37 UTC
For 3.3.3 (KDE 3.5.3), from the Ubuntu packages, KDevelop is still not remembering the overlap mode of the side panels (at least in IDEAL mode).
Comment 25 Alexander Dymo 2006-12-16 00:53:59 UTC
Closing as there will be no more fixes to deprecated KMDI library and its ui modes. Those who want their UI state to be saved/restored have to use SimpleIdeal mode in KDevelop 3.4 (no overlap is there though, only the action to hide/show all toolviews).