[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Drag and drop ignored in repo browser in some cases

From: Kevin Radke <kmradke_at_gmail.com>
Date: Thu, 15 Sep 2011 20:25:58 -0500

On 9/15/2011 12:09 PM, Stefan Küng wrote:
> On 15.09.2011 15:57, Kevin Radke wrote:
>> Using TortoiseSVN 1.6.99, build 21923 on Windows XP.
>>
>> If you open the repo-browser to a directory containing lots of files
>> and drag and drop a new file from the desktop to the right pane, the
>> add action will be ignored with no error message or dialog if you
>> "drop" the file on top of another file. If you drop it on white space
>> in the right pane (at the end of the file list), the file add dialog
>> appears correctly.
>>
>> Is this intended behavior?
>
> Yes, that's intended behavior, and the default behavior of explorer
> (TSVN can not interfere here, it's the explorer that decides what to do
> with stuff that's dropped on it!).
> If you drop something onto another file then the dropped item is sent to
> the dropped file. In case of an exe file, the dropped file is opened
> with the exe. Not sure what happens if you drop something on a document
> file though, never tried. But it opens the associated app for the
> document type and then its up to the app to decide whether to just open
> the file or merge it with the one dropped on or ....

I realized this was the default behavior of windows explorer, but the
repo-browser window is already highly customized in functionality. (has
different columns, has different right click menus, even has a different
background image, etc.)

I just noticed on my Windows 7 x64 machine using 1.6.99 build 21779, the
drag/drop cursor is changed to the "unable to drag and drop here" when
you are hovering over a file in the right pane of the repo-browser.
This is exactly what I wanted, so possibly this is just a limitation
with XP not updating the drag and drop cursor correctly...

Kevin R.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2839592

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-09-16 03:26:11 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.