autocompletion window disappears

2009-01-20 Thread Markus Guhe
Hi all, In my application I get the behaviour that autocompletion windows disappear after a short delay (1 sec or so). This happens with all completions: custom completions in an NSTokenField and an NSTextField as well as the default mechanism in an unmodified NSTextView. Am I missing som

another NSCFDictionary and GC problem?

2009-02-05 Thread Markus Guhe
Hi all, I get the following elusive crash (about once in 20 app launches). It happens while decoding a dictionary using an NSKeyedUnarchiver from a saved file when my application starts. The value of the dictionary that causes this problem is an attributed string, and the crash only occur

Scroll bars in NSTokenField?

2009-02-09 Thread Markus Guhe
Hi list, In Mail.app the token fields for To: and Cc: show scroll bars if there are more than 4 lines to display. Has anybody a hint of how to do this? As far as I can see this is made impossible by the fact that NSTokenTextView (the view displaying the content for NSTokenField) is privat

sticky video/audio files in NSTextView with GC on

2009-02-16 Thread Markus Guhe
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) Alte

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

2009-02-17 Thread Markus Guhe
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

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

2009-02-18 Thread Markus Guhe
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