• 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: sticky video/audio files in NSTextView with GC on
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sticky video/audio files in NSTextView with GC on


  • Subject: Re: sticky video/audio files in NSTextView with GC on
  • From: Markus Guhe <email@hidden>
  • Date: Wed, 18 Feb 2009 20:13:05 +0000


On 17 Feb 2009, at 17:41, Bill Bumgarner wrote:

On Feb 17, 2009, at 12:52 AM, Markus Guhe wrote:
Follow up: I filed a bug report on this issue, number 6593625.

Thank you for the bug and especially for the easily reproducible test case. Very much appreciated.


I stole the bug out of the inbound queue and had a look.

That's great, Bill, thanks so much!

[...]
Thus, what happens if we just rip it out?

Well... that works, but the movie view isn't actually gone if you poke about in memory.

Yes, that works (by setting the subviews array of the NSTextView to an empty array, for example), although it's a bit ugly -- considering that movies can require quite a lot of memory.


It appears that the attachment cell helper is hanging on to it; somewhere in the bowels of the layout manager. To fully workaround the issue, you'd probably need to muck about with the layout manager's APIs to reset it.

That sounds like a lot of work. And it looks like an issue that might be fixed soon anyway. But, do you have a suggestion of where I could start with this? (Just to see whether it makes sense to try it ...)


Markus

--
email@hidden
http://markusguhe.net/prof/




The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.

_______________________________________________

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


References: 
 >sticky video/audio files in NSTextView with GC on (From: Markus Guhe <email@hidden>)
 >Re: sticky video/audio files in NSTextView with GC on (From: Markus Guhe <email@hidden>)
 >Re: sticky video/audio files in NSTextView with GC on (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Getting a Unique File ID from MDItem
  • Next by Date: Re: Running out of memory on stack in C++ routine invoked within Cocoa NSOperation
  • Previous by thread: Re: sticky video/audio files in NSTextView with GC on
  • Next by thread: Elements of Garageband Tutor window?
  • Index(es):
    • Date
    • Thread