You don't need to recompile, just set a breakpoint inside of NSWindow 
frameRectForContentRect:, wait for the correct window and watch why the height 
value gets corrupted.

Fred

On the road

Am 26.10.2015 um 00:57 schrieb Riccardo Mottola <[email protected]>:

> On 2015-10-25 23:44:15 +0100 Fred Kiefer <[email protected]> wrote:
> 
>> Could you please report the value of frameRect further up the stack as well? 
>> And what is the original windowRect?
> 
> at stackLevel 0:
> $1 = {origin = {x = 1, y = 9}, size = {width = 174, height = -13}}
> 
> I neet do o up to level 4 (NSWindowTemplate) because in NSWindow everything 
> is optimized out
> 
> #4  0xb7df5644 in -[NSWindowTemplate nibInstantiate] (self=0x8c95230, 
> _cmd=<optimized out>) at GSNibLoading.m:508
> 508           [_realObject setFrame: [NSWindow frameRectForContentRect: [self 
> windowRect]
> 
> (gdb) p [self windowRect]
> $4 = {origin = {x = 1218, y = 683}, size = {width = 174, height = 170}}
> 
> Is that fine? About everything else seems to be optimized out, I would neet 
> to recompile whole gui without optimization otherwise.
> 
> Where do you need  frameRect ? I suppose of the NSWindow in #3, right?
> 
> Riccardo
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to