Re: Icon in window title
Re: Icon in window title
- Subject: Re: Icon in window title
- From: Tom Waters <email@hidden>
- Date: Thu, 24 May 2001 18:25:24 -0700
Ok, yes, that's odd: either cocoa should require the hold-for-a-second,
or finder shouldn't.
Now back to my original question. The icon that finder sets in the
title bar is for the currently selected folder, and now I see how you
can drag it as a proxy. For example, select the OSX disk, drag it to
Terminal, and see that a "/" gets pasted.
So, now what is the Computer icon a proxy for? When you drag it, Finder
itself does drag highlighting, like if you drag it over the OSX disk
icon in finder, but if you drag it to Terminal, it gets rejected and
nothing is pasted. The type for the drag when dragging a regular folder
proxy includes "NSFilenamesPboardType" and "Apple Uniform Resource
Locator (file)", but when dragging Computer, neither of these is present.
Any thoughts on what file Finder is setting as the proxy? If I wanted
to duplicate this behavior, should I just create some temp file that has
the computer icon? Seems kinda lame.
On Thursday, May 24, 2001, at 01:19 PM, Forest Hill wrote:
YOU have to click and hold the mouse button down for a second before
you start the drag. This is how it works for all carbon apps (probably
because it worked that way on Mac OS 9), I believe. I wasn't aware that
cocoa behaved differently. Seems like one of those things that needs
to be addressed one way or another.
At 12:49 PM -0700 5/24/01, Tom Waters wrote:
You can? I can't.
If I drag in the title of a Finder window, the window moves.
If I drag on the icon in the title of a Finder window, the window
doesn't move, but there's no drag icon, and no drag highlighting if I
drag the mouse around.
Is there something wrong with my 10.0.3 install?
On Thursday, May 24, 2001, at 12:28 PM, Forest Hill wrote:
At 11:31 AM -0700 5/24/01, Tom Waters wrote:
Finder's window titles don't behave as proxies for anything... They
are inconsistent with all cocoa apps.
I'm afraid I don't understand what you mean. You can drag a finder
window's proxy it to move the folder represented by the window to
another location, so in that regard, the seem like proper proxies for
the folder to me.