• 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: Close box not showing as dirty when the doc says it's dirty
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Close box not showing as dirty when the doc says it's dirty


  • Subject: Re: Close box not showing as dirty when the doc says it's dirty
  • From: Graham Cox <email@hidden>
  • Date: Thu, 07 Feb 2013 10:13:23 +1100

On 07/02/2013, at 5:21 AM, Steve Mills <email@hidden> wrote:

> So it's like updating that state during drawing is not allowing the window's isDocumentEdited state to change.
>
> Since we do have that bug that causes non-dirty docs to become dirty during their first draw, I'm not going to worry about this too much. But it still seems to me like a Cocoa bug where the window state isn't getting changed when it should.


No, it's your bug. You should never update state during drawing. Drawing should always be the (final) result of a state change, not the cause.

--Graham


_______________________________________________

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: 
 >Close box not showing as dirty when the doc says it's dirty (From: Steve Mills <email@hidden>)
 >Re: Close box not showing as dirty when the doc says it's dirty (From: Markus Spoettl <email@hidden>)
 >Re: Close box not showing as dirty when the doc says it's dirty (From: Steve Mills <email@hidden>)
 >Re: Close box not showing as dirty when the doc says it's dirty (From: Lee Ann Rucker <email@hidden>)
 >Re: Close box not showing as dirty when the doc says it's dirty (From: Steve Mills <email@hidden>)

  • Prev by Date: iOS TVC graphic customization +
  • Next by Date: Re: Framework methods not recognized
  • Previous by thread: Re: Close box not showing as dirty when the doc says it's dirty
  • Next by thread: Autoscrolling in NSDraggingDestination
  • Index(es):
    • Date
    • Thread