• 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
A Problem with HUD Panel as the Main App's Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A Problem with HUD Panel as the Main App's Window


  • Subject: A Problem with HUD Panel as the Main App's Window
  • From: "Oleg Krupnov" <email@hidden>
  • Date: Thu, 25 Dec 2008 12:04:22 +0200

I'm writing a small app whose main window is a HUD panel. In my XIB
file I changed the class of the Window object from NSWindow to NSPanel
and checked the HUD box that appeared.

The problem is that after the program starts, sometimes (e.g. half of
times, not always) the window disappears immediately after appearing,
and there is no way to bring it back again - clicking on the Dock icon
or pressing Alt+Tab does not help. Other times the app starts just
fine and the window is visible.

My guess is that the OS somehow thinks that the HUD window is not the
main window of the app, but a floating panel, and the OS hides it
because the main window is not active (there is no main window in its
opinion.)

Just to note that the window contains a view that wants a Core Animation layer.

What could be the problem?
_______________________________________________

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: A Problem with HUD Panel as the Main App's Window
      • From: "Michael Ash" <email@hidden>
  • Prev by Date: Re: Modal Session not stopping main thread.
  • Next by Date: Merry Christmas
  • Previous by thread: Re: NSPersistentDocument's managedObjectContext accessed from init
  • Next by thread: Re: A Problem with HUD Panel as the Main App's Window
  • Index(es):
    • Date
    • Thread