• 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: Checkbox in NSOutlineView. Must move mouse > 3 pixels to toggle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checkbox in NSOutlineView. Must move mouse > 3 pixels to toggle


  • Subject: Re: Checkbox in NSOutlineView. Must move mouse > 3 pixels to toggle
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 1 Aug 2006 10:57:19 -0400
  • Organization: Rogue Research

On 2006-07-31 22:26, Jerry Krinock said:

>> However, I find that once I click in a checkbox, clicking again does not
>> re-send outlineView:setObjectValue:forTableColumn:byItem: unless I have
>> moved my mouse by greater than 3 pixels in any direction from where it was
>> during the previous click which successfully toggled it.
>
>It's not just my app.  Try this on an Intel Mac:
>
>1.  In Safari, menu > Bookmarks > Show All Bookmarks.
>2.  Show a folder that has some subfolders.
>3.  Click a disclosure triangle.  It expands.
>4.  Without moving the mouse, click again.  It collapses.
>5.  Without moving the mouse, click a third time.
>
>Expected result: It expands again.
>Actual result: Nothing happens.
>
> *SNIP*
>
>Can anyone reproduce this or guess what the problem might be?

I can repro it, in fact I just noticed it in an app of mine yesterday.
As you say, moving a few pixels 'fixes' it, however, clicking at slower
intervals also 'fixes' it.  So to me, it sounds like some kind of double-
click detection code in there.  I think you are clicking (to toggle)
fast enough that it thinks you are double-clicking, and the checkbox/
disclosure triangle controls ignore double clicks (apparently).  Does
this hypothesis fit what you see?

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Checkbox in NSOutlineView. Must move mouse > 3 pixels to toggle
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: Custom Bundle types
  • Next by Date: Re: Checkbox in NSOutlineView. Must move mouse > 3 pixels to toggle
  • Previous by thread: Re: Checkbox in NSOutlineView. Must move mouse > 3 pixels to toggle
  • Next by thread: Re: Checkbox in NSOutlineView. Must move mouse > 3 pixels to toggle
  • Index(es):
    • Date
    • Thread