• 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: Question to Apple: When do GetThemeImage() or GetThemePattern get called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question to Apple: When do GetThemeImage() or GetThemePattern get called


  • Subject: Re: Question to Apple: When do GetThemeImage() or GetThemePattern get called
  • From: Darkshadow <email@hidden>
  • Date: Tue, 8 Mar 2005 08:22:20 -0500

NSThemeFrame and NSFrameView in your stack trace have to do with windows - those are parts of the window used internally. As the others said, what are the other threads doing? It appears that something is messing up the display of the items in your window (and the window itself) from the trace.

Darkshadow (aka Michael Nickerson)

On Mar 07, 2005, at 10:35 AM, schneider wrote:

it seems that
GetThemeImage()
or
GetThemePattern()

and a few others GetThemeXXX functions do notoriously hang my app in
the most inappropriate places
e.g.
when a "do you want to save changes to your document" happens
or when an NSAlertPanel is displayed.
or when a NSTableView is recharged with new data.
or when the preference pane is displayed
or when a file open / file save dialog is displayed.

i know it's not directly my fault (see the backtrace below, there is no
classes of mine in it!!)

Is it because i had once Ape installed (is deinstalled now again, due
to this stuff). if yes, cool, i'll just wait for tiger and will never
install a them changer again.

if no, i'm in big trouble.

i'm on the latest panther of course, with Xcode 1.5

Thank you!
christian



0x90016f48 in semaphore_wait_signal_trap ()
(gdb) backtrace
#0 0x90016f48 in semaphore_wait_signal_trap ()
#1 0x9000e790 in _pthread_cond_wait ()
#2 0x909f1384 in -[NSRecursiveLock lock] ()
#3 0x92dd1ed8 in _NSAppKitImgLock ()
#4 0x92e0f1c4 in GetThemePattern ()
#5 0x92e74d5c in -[NSScroller drawKnobSlotInRect:highlight:] ()
#6 0x92e23c28 in -[NSScroller drawRect:] ()
#7 0x92dc7c2c in -[NSView _drawRect:clip:] ()
#8 0x92dc40d0 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect: rectIsVisibleRectForView:topView:]
()
#9 0x92dc4360 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect: rectIsVisibleRectForView:topView:]
()
#10 0x92dc4360 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect: rectIsVisibleRectForView:topView:]
()
#11 0x92dc4360 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect: rectIsVisibleRectForView:topView:]
()
#12 0x92dc4360 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect: rectIsVisibleRectForView:topView:]
()
#13 0x92dc4360 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect: rectIsVisibleRectForView:topView:]
()
#14 0x92dc4360 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect: rectIsVisibleRectForView:topView:]
()
#15 0x92e10ef0 in -[NSFrameView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect: rectIsVisibleRectForView:topView:]
()
#16 0x92df808c in -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect: rectIsVisibleRectForView:topView:]
()
#17 0x92dd5244 in -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] ()
#18 0x92dee274 in -[NSView displayIfNeeded] ()
#19 0x92dfef4c in -[NSWindow displayIfNeeded] ()
#20 0x92ddf5ac in _handleWindowNeedsDisplay ()
#21 0x90191ca0 in __CFRunLoopDoObservers ()
#22 0x9019153c in __CFRunLoopRun ()
#23 0x90195e8c in CFRunLoopRunSpecific ()
#24 0x927d5f60 in RunCurrentEventLoopInMode ()
#25 0x927dc640 in ReceiveNextEventCommon ()
#26 0x927fe6a0 in BlockUntilNextEventMatchingListInMode ()
#27 0x92dd2e44 in _DPSNextEvent ()
#28 0x92de98c8 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#29 0x92dfdc30 in -[NSApplication run] ()
#30 0x92eba2b8 in NSApplicationMain ()
#31 0x0428cf74 in main (argc=1, argv=0xbffffdd0) at
/Users/galzv/Workspace/HMT/Hagakure/src/Hagakure_main.m:17
(gdb)





Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Question to Apple: When do GetThemeImage() or GetThemePattern get called
      • From: Jason Harris <email@hidden>
References: 
 >Learning Cocoa/ObjectiveC and wondering why I had to do this. (From: Tom Boucher <email@hidden>)
 >Re: Learning Cocoa/ObjectiveC and wondering why I had to do this. (From: "M. Uli Kusterer" <email@hidden>)
 >Question to Apple: When do GetThemeImage() or GetThemePattern get called (From: schneider <email@hidden>)

  • Prev by Date: Minimum window size?
  • Next by Date: help viewer displays blank page
  • Previous by thread: Re: Question to Apple: When do GetThemeImage() or GetThemePattern get called
  • Next by thread: Re: Question to Apple: When do GetThemeImage() or GetThemePattern get called
  • Index(es):
    • Date
    • Thread