• 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: Help me fix a bug: endless recursion in NSTextView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help me fix a bug: endless recursion in NSTextView?


  • Subject: Re: Help me fix a bug: endless recursion in NSTextView?
  • From: Ken Thomases <email@hidden>
  • Date: Fri, 08 Feb 2013 14:40:08 -0600

On Feb 8, 2013, at 2:35 PM, Oleg Krupnov wrote:

> Here we go:
>
> [textView isVerticallyResizable] == YES
> [textView isHorizontallyResizable] == NO
> [[textView textContainer] heightTracksTextView] == NO
> [[textView textContainer] widthTracksTextView] == YES
>
> Does it mean something?

It looks good to me.  The important thing is that in each direction (horizontal and vertical) only one or the other of the properties is enabled.


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

Well, I just meant change your display configuration while the program is running.  For example, change the display resolution.


> Could there be some other experiments that I can ask the user to
> perform on his MacBook when the bug occasionally reproduces again?

Not that I can think of.  It may be a framework bug, although if the setup is as straightforward as you described, I would expect it to happen all the time.

Regards,
Ken


_______________________________________________

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


References: 
 >Help me fix a bug: endless recursion in NSTextView? (From: Oleg Krupnov <email@hidden>)
 >Re: Help me fix a bug: endless recursion in NSTextView? (From: Ken Thomases <email@hidden>)
 >Re: Help me fix a bug: endless recursion in NSTextView? (From: Oleg Krupnov <email@hidden>)
 >Re: Help me fix a bug: endless recursion in NSTextView? (From: Ken Thomases <email@hidden>)
 >Re: Help me fix a bug: endless recursion in NSTextView? (From: Oleg Krupnov <email@hidden>)

  • Prev by Date: Re: Help me fix a bug: endless recursion in NSTextView?
  • Next by Date: Keychain issues with public key on iOS
  • Previous by thread: Re: Help me fix a bug: endless recursion in NSTextView?
  • Next by thread: Timeline control like in ScreenFlow...how i can implement?
  • Index(es):
    • Date
    • Thread