Re: sticky video/audio files in NSTextView with GC on
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