[TC 10.5x] Dragging file issue

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
KoRni
Junior Member
Junior Member
Posts: 6
Joined: 2017-05-18, 10:44 UTC

[TC 10.5x] Dragging file issue

Post 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.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6480
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: [TC 10.5x] Dragging file issue

Post by *Horst.Epp »

Here that works with a dir on top of the target.
Try it with a fresh ini file.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
KoRni
Junior Member
Junior Member
Posts: 6
Joined: 2017-05-18, 10:44 UTC

Re: [TC 10.5x] Dragging file issue

Post by *KoRni »

I'm really surprised, but yeah, it works fine with a clean INI. Will try to pinpoint the root cause.
KoRni
Junior Member
Junior Member
Posts: 6
Joined: 2017-05-18, 10:44 UTC

Re: [TC 10.5x] Dragging file issue

Post 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.
Last edited by KoRni on 2022-10-28, 17:59 UTC, edited 2 times in total.
User avatar
white
Power Member
Power Member
Posts: 4615
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 10.5x] Dragging file issue

Post 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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48074
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.5x] Dragging file issue

Post by *ghisler(Author) »

This should be fixed in TC 11 beta, please test it.
Author of Total Commander
https://www.ghisler.com
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Re: [TC 10.5x] Dragging file issue

Post 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?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48074
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.5x] Dragging file issue

Post 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.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4615
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 10.5x] Dragging file issue

Post 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?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48074
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.5x] Dragging file issue

Post 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?
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4615
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 10.5x] Dragging file issue

Post 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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48074
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.5x] Dragging file issue

Post by *ghisler(Author) »

The problem is that you can actually disable that configuration dialog...
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4615
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 10.5x] Dragging file issue

Post 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.
Post Reply