Re: bound textview display glitch
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Thread-index: AccsOZga1p7xupgsEdusnQANk7gcZA== Thread-topic: bound textview display glitch User-agent: Microsoft-Entourage/11.2.3.060209 On Fri, 29 Dec 2006 11:03:27 -0800, Matt Neuburg <matt@tidbits.com> said:
I have two windows, both containing various interface items bound to the selection of an NSArrayController.
When both windows are open and, in one of them, I navigate the selection, the other window (visible in the background) shows a display glitch in its NSTextViews. I've put a screen shot of the glitch here:
<http://www.tidbits.com/matt/images/glitch.png>
The screen shot shows the NSTextView in three states.
* First, before: the word "igne" appears in the text view.
* Second, after: I have changed the NSArrayController's selection using selectNext, and the word "Euclioni" appears in the text view, except that the descenders from "igne" are still present. That's the glitch. (If I had used a different word, you would also see that descenders from the new word are cut off. It is as if only the main part of the first line changes - its descenders, and all subsequent lines, forget to change.)
* Third, after after: I have clicked on the background window, bringing it to the front. As soon as I do this, the display glitch disappears.
Perhaps someone has dealt with this and has some advice on avoiding the glitch? Thx - m.
Looks like what I've hit is an instance of the problem noted here: <http://www.cocoabuilder.com/archive/message/cocoa/2004/5/3/106055> I can't be certain because the OP (Steve Spencer) has taken down his example. m. -- matt neuburg, phd = matt@tidbits.com, <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! <http://www.amazon.com/gp/product/0596102119> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... This email sent to site_archiver@lists.apple.com
participants (1)
-
Matt Neuburg