• 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: Tue, 17 Feb 2009 08:52:10 +0000

Follow up: I filed a bug report on this issue, number 6593625.

Markus


On 16 Feb 2009, at 16:42, Markus Guhe wrote:

Hello all,

I have this problem:

1. Drag and drop a video or audio file into an NSTextView (or set the text storage programmatically to an attributed string with such an attachment)
2. a) Set the attributed string of the view's text storage programmatically to a different string
b) Alternatively: delete the video/audio file
3. The video/audio file is still displayed (it can be played back) but it is definitely not part of the text storage any more. (This can be seen, for example, by moving the insertion point in the text view.)


This only happens if garbage collection is on. Without GC everything works as expected.

Here is a simple example project:
http://markusguhe.net/slipbox/error/NSTextViewVideo.zip

Am I missing something? Any help is greatly appreciated as this messes up my application ...

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



--
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


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

  • Prev by Date: Re: CALayers Lost After Switching Window's ContentView
  • Next by Date: Re: NSTreeController - Remove Children
  • Previous by thread: sticky video/audio files in NSTextView with GC on
  • Next by thread: Re: sticky video/audio files in NSTextView with GC on
  • Index(es):
    • Date
    • Thread