Hi Wolfgang, thank you for this tricky fix. This surely was a hard to track down bug.
Now with the fix in place it is a lot easier to think about the problem. The main issue here seems to be that we need to track the content view on two levels, once in the window and again in the decoration view. Would it be possible to simplify this by only storing the content view in the decoration view and getting it from there when needed? There could be an issue with KVC and there might be other problems that I currently don't see. But having code that need that much of documentation to come along with it, is surely a sign for a possible rewrite. Cheers Fred Am 14.02.2011 23:11, schrieb Wolfgang Lux: > Author: wlux > Date: Mon Feb 14 23:11:26 2011 > New Revision: 32163 > > URL: http://svn.gna.org/viewcvs/gnustep?rev=32163&view=rev > Log: > Fix bug where a stray view could leak when changing the content view > of a window. This view then could make the title bar buttons > inaccessible when -gui handles window decorations. > > Modified: > libs/gui/trunk/Source/NSWindow.m _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
