FROM : Sean McBride
DATE : Tue Aug 01 16:57:19 2006
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_removed>
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
DATE : Tue Aug 01 16:57:19 2006
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_removed>
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
| Related mails | Author | Date |
|---|---|---|
| Jerry Krinock | Jul 27, 21:53 | |
| I. Savant | Jul 27, 22:13 | |
| Jerry Krinock | Aug 1, 07:26 | |
| Aaron Burghardt | Aug 1, 14:28 | |
| Sean McBride | Aug 1, 16:57 | |
| Jerry Krinock | Aug 1, 17:06 | |
| Corbin Dunn | Aug 1, 20:59 |






Cocoa mail archive

