NSPanel hides with GC enabled

  • Hi all,

    When creating a Cocoa-application using XCode 3.0, if I go to IB and
    change the NSWindow to a NSPanel, everything is fine. The app starts
    and I see the panel. But the moment I turn on GC, and launch the app
    again, the panel flickers in an out of view (and then stays hidden).

    I wasn't experiencing this when running dev builds of Leopard. Is
    there something I am missing here, or is this just a bug? This is
    pretty easy to test. Try it!

    Thanks,

    -et
  • On Jan 11, 2008, at 9:18 AM, Edison Thomaz wrote:

    > When creating a Cocoa-application using XCode 3.0, if I go to IB and
    > change the NSWindow to a NSPanel, everything is fine. The app starts
    > and I see the panel. But the moment I turn on GC, and launch the app
    > again, the panel flickers in an out of view (and then stays hidden).
    >
    > I wasn't experiencing this when running dev builds of Leopard. Is
    > there something I am missing here, or is this just a bug? This is
    > pretty easy to test. Try it!

    Sound's like a memory management problem. See the discussion in this
    recent thread:

    <http://www.cocoabuilder.com/archive/message/cocoa/2008/1/9/196121>

    (Search for the subject "Garbage collection problem" if the link above
    fails)

    j o a r
  • That must be it. I will give it a try. Thanks for your quick response
    and the link.

    On Jan 11, 2008, at 12:28 PM, j o a r wrote:

    >
    > On Jan 11, 2008, at 9:18 AM, Edison Thomaz wrote:
    >
    >> When creating a Cocoa-application using XCode 3.0, if I go to IB
    >> and change the NSWindow to a NSPanel, everything is fine. The app
    >> starts and I see the panel. But the moment I turn on GC, and launch
    >> the app again, the panel flickers in an out of view (and then stays
    >> hidden).
    >>
    >> I wasn't experiencing this when running dev builds of Leopard. Is
    >> there something I am missing here, or is this just a bug? This is
    >> pretty easy to test. Try it!
    >
    >
    > Sound's like a memory management problem. See the discussion in this
    > recent thread:
    >
    > <http://www.cocoabuilder.com/archive/message/cocoa/2008/1/9/196121>
    >
    > (Search for the subject "Garbage collection problem" if the link
    > above fails)
    >
    >
    > j o a r
    >
previous month january 2008 next month
MTWTFSS
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Go to today