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

List:       kde-core-devel
Subject:    Re: KConfig::addConfigSources is broken
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2007-11-18 21:49:05
Message-ID: 20071118214905.GA10134 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

On 18.11.07 13:47:50, Aaron J. Seigo wrote:
> On Sunday 18 November 2007, Thomas Braxton wrote:
> > That's what I was saying, in the code he posted he expects writing to
> > be to a file he added with addConfigSources not to the file he opened.
> > imho you should be opening the file you expect to write to, not one of
> > it's defaults which is what he did.
> 
> the point that is being missed here is that read/write is:
> 
> a) no longer symmetrical
> b) this is a (unnecessary) behaviour change from past KConfig
> 
> (a) is true because reading prefers developerTempFile but writing prefers 
> projectTempFile. this is an added complexity that makes no real sense 
> compared to how everything else in kconfig works. (from a user of kconfig's 
> perspective, anyways).
> 
> because of this broken symmetry, how is Andreas supposed to accomplish what he 
> wants: a kconfig file used as a template for reads, with a custom file to 
> store changes in? that is the entire reason for the symmetrical read/write 
> system.
> 
> (b) this is not how it worked in KConfig from KDE3. this will introduce subtle 
> and unnexpected bugs into software. in fact, as you can see, this has already 
> happened.
> 
> so please change this back to how it was. =)

Exactly, and thanks for fixing my seemingly not very clear explanation
:)

Andreas

-- 
You will be traveling and coming into a fortune.
[prev in list] [next in list] [prev in thread] [next in thread] 

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