[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Very bizarre konsole problem
From:       Lotzi Boloni <boloni () cs ! purdue ! edu>
Date:       2000-04-11 1:40:53
[Download RAW message or body]


  I guess that there is some interaction with the KSimpleConfig object
which is used for representing the individual. 

  Another guess is the KRadioAction object which is used for the toolbar.

  The problem should have appeared in the last several days, and it is in
the libs, not in konsole (or at least, it was triggered by some change in
the libs). 

   Sorry, I don't have time to look in this - I have to submit my thesis
on Wednesday. 

            Lotzi



> [forwarded from kde-cvs]
> Okay, it does NOT get more bizarre then this... y'know the problem I (and
> others) was having with konsole not reading in the schema and size anymore?
> Well, this fixes it for me.
>  
> The bizarre part is where the problem appears to be -- it just doesn't
> make any sense!
>  
> With lots of debug statements, I found out that the 'config' object stopped
> reading in *any* values after the 'slotToggleToolBar()' call in
> 'readProperties'.  That is, the config->readEntry calls would *always*
> return the default, ignoring the saved value.
>  
> I traced into the slotToggleToolbar function and found that all I had
> to do was comment out the 'enableToolbar' function and everything worked
> perfectly!
>  
> I don't get it at all!  The enableToolbar function has *nothing* to do
> with KConfig so how is it changing it all of a sudden :-(
>  
> Anyway, I moved the code around in readProperties and it works now.  Very
> very very weird.
> -- 
> Kurt Granroth            | http://www.granroth.org
> KDE Developer/Evangelist | SuSE Labs Open Source Developer
> granroth@kde.org         | granroth@suse.com
>            KDE -- Putting a Friendly Face on Unix
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic