discuss-gnustep
[Top][All Lists]
Advanced

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

Re: PikoPixel hangs on startup


From: Fred Kiefer
Subject: Re: PikoPixel hangs on startup
Date: Mon, 26 Oct 2015 07:52:51 +0100

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 <riccardo.mottola@libero.it>:

> On 2015-10-25 23:44:15 +0100 Fred Kiefer <fredkiefer@gmx.de> 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
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep



reply via email to

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