• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: main window disappears on resize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: main window disappears on resize


  • Subject: Re: main window disappears on resize
  • From: Joar Wingfors <email@hidden>
  • Date: Sat, 9 Oct 2010 07:31:02 -0700

On 9 okt 2010, at 07.16, Shane wrote:

>>> I have a document based application with a main window that, when I
>>> try to resize the window, the window just completely disappears. The
>>> application doesn't crash and I can open up another window by 'Project
>>> --> New' in the main menu. And of course if I try to resize it, it
>>> will disappear. And my debugger doesn't show anything when it
>>> disappears. Any idea how to help track this problem down?
>>
>> Break on -[NSWindow orderOut:]?
>
> I did read the docs and it would seem to behave as the orderOut: says,
> but I'm not calling orderOut: (except on a few sheets and panels, but
> not here).


I think Kyle is suggesting that you should break on orderOut: to catch whatever is taking the window off screen - it might not be you.

This could also be a memory management issue. When windows are deallocated, they're taken off screen. Have you run the static analyzer lately?

j o a r


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: main window disappears on resize
      • From: Shane <email@hidden>
References: 
 >main window disappears on resize (From: Shane <email@hidden>)
 >Re: main window disappears on resize (From: Kyle Sluder <email@hidden>)
 >Re: main window disappears on resize (From: Shane <email@hidden>)

  • Prev by Date: Re: main window disappears on resize
  • Next by Date: Re: clarifications about coredata sub to-many entities fetching
  • Previous by thread: Re: main window disappears on resize
  • Next by thread: Re: main window disappears on resize
  • Index(es):
    • Date
    • Thread