Here we go: [textView isVerticallyResizable] == YES [textView isHorizontallyResizable] == NO [[textView textContainer] heightTracksTextView] == NO [[textView textContainer] widthTracksTextView] == YES
Does it mean something? > I'm not sure. It may have something to do with Retina displays. I would > guess that the OS is generating a display configuration change notification > when it wakes, which is causing the view to refresh its layout. You may be > able to reproduce the problem if you manually change the display > configuration on another, otherwise-unaffected system. Interesting idea! This could explain at least why only MacBooks are affected. But I tried Retina resolution emulation on my iMac, and the bug didn't reproduce… Is this the experiment that you mean? Could there be some other experiments that I can ask the user to perform on his MacBook when the bug occasionally reproduces again? Thanks! On Fri, Feb 8, 2013 at 9:19 PM, Ken Thomases <k...@codeweavers.com> wrote: > Hi, > > On Feb 8, 2013, at 12:45 PM, Oleg Krupnov wrote: > >> Thanks! This information sounds relevant, but I'm still puzzled. All I >> do is just use a NSTextView on a window. The text view is resizable by >> width and height, i.e. the text is wrapped when I change the view's >> width, and scroll bar appears when I change its height. All pretty >> standard. I do not delve under the hood, do not assemble my own text >> editor from the components of the text system. I don't use text >> container directly in my code. > > I'm not sure what's going on. You should check the following: > > [textView isVerticallyResizable] > [textView isHorizontallyResizable] > [[textView textContainer] heightTracksTextView] > [[textView textContainer] widthTracksTextView] > > >> Besides, even if this was the reason, why does it not manifest in >> normal use cases, but only in some very rare and obscure >> circumstances? Namely, when MacBook wakes from sleep mode? There were >> no reports even from iMacs or MacMinis, only MacBooks. Mostly it >> happens on 10.8.2, but one report was assumably from 10.7.5. > > I'm not sure. It may have something to do with Retina displays. I would > guess that the OS is generating a display configuration change notification > when it wakes, which is causing the view to refresh its layout. You may be > able to reproduce the problem if you manually change the display > configuration on another, otherwise-unaffected system. > > Regards, > Ken > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com