gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Renaissance and document based applications bug


From: Philippe Roussel
Subject: Re: Renaissance and document based applications bug
Date: Thu, 19 Apr 2012 13:03:09 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Apr 19, 2012 at 09:50:03AM +0200, Fred Kiefer wrote:
> Not sure whether your approach is the right way to solve the issue.
> To me it rather looks like the way we implement things in gui makes
> it hard for subclasses to do the right thing.
> 
> If I remember correctly that extra flag in NSWidnowController was
> only there to avoid loading the same failing NIB file twice. Not
> sure whether that mechanism works at all after the change Jonathan
> Gillaspie did two years ago. We could remove that flag and just
> check whether _window is set. Or combine both and first check for
> _window being non-null and next for the nib_is_loaded if we ever
> want to make the functional again.

I hadn't considered modifying NSWindowController (and I don't know
why) but I like your suggestion.
This problem with Renaissance probably is a regression in gui anyway
so it makes sense to fix the regression and allow easy subclassing.

I'll give it a try tonight if nobody beats me to it.

Thanks,
Philippe
-- 
Je n'ai jamais pu faire de yoga. Chaque fois qu'on me dit :
'Assied-toi et ne pense à rien', ça me rappelle trop le bureau.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]