Page 1 of 1

[TC 10.5x] Dragging file issue

Posted: 2022-10-28, 12:24 UTC
by KoRni
Hi,

I encountered an issue with copying or moving files using mouse dragging. If the target directory is on the top of the list (except when it's [..] "go up"), releasing the mouse button doesn't trigger copying / moving popup window - the cursor stays with the "+" sign (for copying) or "-" sign (for alt-drag moving) until I move the cursor over any other directory. It doesn't matter whether target directory is in the same pane or the other one.

Confirmed affected versions: 10.51 x64, 10.52 x64
OS: Windows 7 Ultimate SP1
Workaround: very easy, resize TC window to make the destination directory not to be on top of the list or just use the system clipboard.

Re: [TC 10.5x] Dragging file issue

Posted: 2022-10-28, 14:16 UTC
by Horst.Epp
Here that works with a dir on top of the target.
Try it with a fresh ini file.

Re: [TC 10.5x] Dragging file issue

Posted: 2022-10-28, 17:26 UTC
by KoRni
I'm really surprised, but yeah, it works fine with a clean INI. Will try to pinpoint the root cause.

Re: [TC 10.5x] Dragging file issue

Posted: 2022-10-28, 17:34 UTC
by KoRni
That was a quick one - the directories / files names must be long enough that there's only one column of directories/files visible in one pane (i.e. you need to scroll horizontally to see the next column of dirs / files). If you see two+ columns in one pane, it works fine.

EDIT: The issue is also there when the dirs/files are short, but there's enough of them that you no longer see [..] after scrolling right, and attempt the dragging after scrolling. In other words, the issue shows up when [..] is no longer visible in the pane - when this condition is met, it doesn't matter to which column's first directory you try to drag to.

Re: [TC 10.5x] Dragging file issue

Posted: 2022-10-28, 17:52 UTC
by white
Confirmed.
* Use Brief show mode (Ctrl+F1)
* Enter a folder with enough files/folders or resize the window to very small so you have a horizontal scroll bar in the file panel.
* Scroll file panel horizontally.
* Drag a file or folder on one of the folders listed at the top of the file panel.

Re: [TC 10.5x] Dragging file issue

Posted: 2023-05-03, 19:16 UTC
by ghisler(Author)
This should be fixed in TC 11 beta, please test it.

Re: [TC 10.5x] Dragging file issue

Posted: 2023-05-04, 01:24 UTC
by nice
1. use FULL view, which is, of course, default
2. Enter a folder with enough files/folders or resize the window to very small so you have a VERTICAL scroll bar in the file panel.
3. Scroll file panel VERTICALLY "so that [..] is no longer visible in the pane"
4. Drag a file or folder on FIRST folder listed at the top of the file panel.
you will see a good animation of folders scrolling up
and "copy/move dialog" will be opened to PARENT folder (..)

TC 11 b1
scroll horizontally
How is anyone supposed to guess?

Re: [TC 10.5x] Dragging file issue

Posted: 2023-05-04, 07:31 UTC
by ghisler(Author)
2nice
This is not a bug. Dragging over the first item in full view scrolls up, dragging over the last item in full view scrolls down. You can simply follow the scrolled folder down to drop the file on it.

This bug report was about brief view, where you could not drop files on the first row of the second, third etc. column.

Re: [TC 10.5x] Dragging file issue

Posted: 2023-05-04, 11:11 UTC
by white
ghisler(Author) wrote: 2023-05-04, 07:31 UTC This bug report was about brief view, where you could not drop files on the first row of the second, third etc. column.
Tested OK using TC 11.00b1.
ghisler(Author) wrote: 2023-05-04, 07:31 UTC 2nice
This is not a bug. Dragging over the first item in full view scrolls up, dragging over the last item in full view scrolls down. You can simply follow the scrolled folder down to drop the file on it.
It is weird though that the scrolling doesn't stop when releasing the mouse button. Furthermore, it is problematic that when the mouse button is released and the scrolling continues, key presses are buffered. If you drag a file to top or bottom and the scrolling starts, then release the mouse button and the scrolling continues, then press Enter for example, then move the mouse cursor until scrolling stops, then the file is copied to where?

Re: [TC 10.5x] Dragging file issue

Posted: 2023-05-04, 14:58 UTC
by ghisler(Author)
It's indeed strange that the scrolling doesn't stop when releasing the mouse button. But what should happen instead? Should the operation be cancelled?

Re: [TC 10.5x] Dragging file issue

Posted: 2023-05-04, 18:35 UTC
by white
ghisler(Author) wrote: 2023-05-04, 14:58 UTC It's indeed strange that the scrolling doesn't stop when releasing the mouse button. But what should happen instead? Should the operation be cancelled?
If the scrolling stops when you release the mouse button, I don't think it's necessary to cancel the operation (you still get the confirmation dialog). But either way would be intuitive I think.

Re: [TC 10.5x] Dragging file issue

Posted: 2023-05-04, 19:53 UTC
by ghisler(Author)
The problem is that you can actually disable that configuration dialog...

Re: [TC 10.5x] Dragging file issue

Posted: 2023-05-04, 20:27 UTC
by white
ghisler(Author) wrote: 2023-05-04, 19:53 UTC The problem is that you can actually disable that configuration dialog...
You mean confirmation dialog ;)
In that case it might be unwanted if the user didn't expect the scrolling. That said, with no confirmation with drag & drop, people can always copy or move files somewhere accidentally.