|
|
Cocoa Drag-and-drop time delay constant?
|
|
|
|
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status:
Offline
|
|
Cocoa apps all have a delay from the time a text selection is made until the user may drag it. Anyone know how to change this time constant?
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Mar 2000
Location: Ithaca, NY
Status:
Offline
|
|
Originally posted by Rainy Day:
Cocoa apps all have a delay from the time a text selection is made until the user may drag it. Anyone know how to change this time constant?
Get one of the guys on the Cocoa team drunk and ask him reeeal nice to change it.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status:
Offline
|
|
The only reference i found was this old Mac OS X Developer Release Note:
Text drag and drop
NSTextView now supports drag and drop of text. A text selection will be dragged only if the user clicks and holds on it for a certain period of time.
But i wasn't able to find anything more helpful.
Also poked around Programming Topics: [ID: 10000069i]Drag and Drop, but didn't find anything.
Get one of the guys on the Cocoa team drunk and ask him reeeal nice to change it.
How much beer do you think it'll take?
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Nov 2000
Status:
Offline
|
|
Beer? I'm sure they wouldn't drink anything but top-shelf liquor...
They're Cocoa guys, remember, they're used to the finer things in life.
|
|
|
|
|
|
|
|
|
Mac Enthusiast
Join Date: Dec 2001
Status:
Offline
|
|
Heh. This is one of my long-standing OS X annoyances. Carbon and Cocoa treat drag and drop text and proxy icons. With Carbon, you click and hold on proxy icons, but can drag text immediately. With Cocoa, it is the other way around. Carbon does it right in my opinion --- most often when I've selected text, I've done it correctly and want to do something with the text. Most often when I click in a window title bar, it's because I want to move the window.
I can't count the number of times I've been stuck holding an Omniweb proxy icon when I just wanted to move a window out of the way.
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status:
Offline
|
|
Well, ahhhm, i agree and this is the reason i'm asking. I cannot tell you how many times i've made a selection of text, with the intent to drag it somewhere, only to find myself selecting a new area instead. Very frustrating. I'd like to create a System Preference panel to allow users to select their own delays. Clearly there's a constant someplace. The user ought to be able to control this in the same way key repeat rate or mouse tracking rate can.
This is one of my pet peeves with NeXT's acquisition of Apple (er, i mean the other way around): The NeXT engineers weren't Mac people, and they just don't get it sometimes.
Beer? I'm sure they wouldn't drink anything but top-shelf liquor...
They're Cocoa guys, remember, they're used to the finer things in life.
This, i fear, will become another of my pet peeves about the NeXt guys. A real App[color= fuchsia]l[/color]e Engineer likes beer. And it doesn't even have to be good beer. Corona used to do.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|