Drag and Drop through Windows Taskbar

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
duarte.framos
Posts: 23
Joined: 14 Jan 2016 05:19
Location: Lisbon, Portugal
Contact:

Drag and Drop through Windows Taskbar

Post by duarte.framos »

Hello, my first post here
I purchased XYPlorer pro version a few month ago and have been using it daily ever since and I couldn't be happier.
Excellent application, I dropped FreeCommander and haven't looked back ever since, congrats for the great software!

Now to the problem at hand, believe I have found a glitch/bug as previously reported here
I am under Windows 7 64bits with XYplorer Pro running as a portable application and I've been having trouble dragging and dropping to hidden windows for quite a few versions now. Just downloaded the latest 16.60.0200 and the problem is still present.

Drag and drop works fine on most occasions, and works reliably if I drag and drop directly to any window, but if for some reason I want to drag to a hidden or out of view window, I do the regular procedure of dragging to the Windows taskbar (so the the target window pops up to the front) and drop it there but this frequently fails. The cursor flickers for a few a brief moment and then often draws a "forbidden sign", or a transparent "ghost outline" of the dragged files remains on the cursor, but the mouse button release never registers and I have to manually either press escape or return to the XYplorer window to cancel the operation. Meanwhile clicking anywhere stops working until the operation is properly canceled.

I have tested this with many different applications Windows Explorer, Thunderbird email, different web browsers etc., and it seems to be application independent, direct dragging always works fine, but fails if the taskbar is involved.
I have also tested this in a "clean" not customized fresh install of XYplorer, to see if this was a problem of any combination of settings I might inadvertently have done done, but it fails in a fresh install too.


One other unrelated problem I have found, not sure if it is a bug most likely just a limitation of the current system, but when the "Manual Sorting" option is activated, I cannot drag and drop files anywhere outside that tab or pane.
It always drags the file position in the list no matter what, you can't even move/copy files to other tab or pane.
It would be nice if dragging a certain distance away from said pane area, or dragging over the tabs header/breadcrumb bar/other pane/other window would cancel custom sorting and fired the proper file operation instead.
Maybe this could be triggered by distance dragged away from, or by a hovering time counter that would trigger file operations after a certain amount of time...

Let me know if you need additional information, thanks
Last edited by duarte.framos on 20 Apr 2016 17:04, edited 1 time in total.

admin
Site Admin
Posts: 67299
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Drag and Drop through Windows Taskbar

Post by admin »

Hi and welcome to the club!

1) I'm doing this all day long with XYplorer and never saw such a problem. I hope others have better answers...

2) "Manual Sorting": This is technically unavoidable. Before the drag starts I have to decide whether it's a sorting drag or a copying drag. This decision cannot be revised later during the same drag operation.

Don

duarte.framos
Posts: 23
Joined: 14 Jan 2016 05:19
Location: Lisbon, Portugal
Contact:

Re: Drag and Drop through Windows Taskbar

Post by duarte.framos »

Thanks for the quick answers

About number #2 well that's unfortunate but it's what I suspected. I guess i can live with that, I don't manually sort that often so I'll probably keep it off anyway until needed.

About #1 I do have a dual monitor setup, I use two Dell 2560x1600 displays on my home computer, not sure if the dragg&drop probel related to that, since not everyone seem to experience it.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Drag and Drop through Windows Taskbar

Post by TheQwerty »

Welcome to the club!
admin wrote:1) I'm doing this all day long with XYplorer and never saw such a problem. I hope others have better answers...
I generally don't have problems but I am still able to recreate problems mentioned in that other thread:
TheQwerty wrote:I can see the same behavior and what seems to be happening is that XY is getting confused on the possible drop actions when dragging across various controls. Maybe related to not quite catching when the cursor has left the Window? :?

Using VLC and a fresh XY v16.20.0004 I can get it to work sometimes, refuse to drop others, and sometimes attempt to move the file instead. All without touching the keyboard.

EDIT 2: In fact once I've activated VLC but before dropping, if I move the mouse over other controls until I get the + cursor back I can get it to perform the correct action again. :veryconfused:

EDIT 3: A good way to achieve EDIT 2 is to hover over an inactive tab in the active pane, causing XY to activate that tab without activating the window. Then carefully move the mouse back over VLC - in my case VLC overlaps the active pane so I'm just moving from inactive tab > breadcrumb bar > column headers > list pane > vlc.
I most often can trigger the bug by dragging slowly up from the list to the toolbar and then more quickly dragging to the taskbar then other window.

Though I now realize the drop action and cursor is controlled by the receiving application so I'm really not sure how things are getting so mixed up.

duarte.framos
Posts: 23
Joined: 14 Jan 2016 05:19
Location: Lisbon, Portugal
Contact:

Re: Drag and Drop through Windows Taskbar

Post by duarte.framos »

Ok did some further testing, it seems to be unrelated to my dual monitor setup, but I was able to narrow it down to a few specific cases.

I was not able to reproduce the problem reliably, it some times failed some times not, but I can now reliably recreate the problem: it only fails if I drag from the top pane, that means I am dragging over the bottom pane, and my cursor hovers the lower tab before hovering other applications.
Even further testing:
  • Dragging directly to other applications always works
    Dragging from bottom pane to the Windows task bar works
    Dragging from upper pane to the Windows taskbar fails
    Dragging from upper pane arround over the catalog works
    Dragging from upper pane arround over the mini tree works
    Dragging from upper pane arround over the top toolbar fails
So my guess is either hovering over the breadcrumbs bar or the tab bar is triggering whatever makes it fail.
Here is a screen capture illustrating it:

Image

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Drag and Drop through Windows Taskbar

Post by highend »

That's an interesting image, very ascii like. Oldschool! :titter:
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 67299
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Drag and Drop through Windows Taskbar

Post by admin »

duarte.framos wrote:So my guess is either hovering over the breadcrumbs bar or the tab bar is triggering whatever makes it fail.
Wow, I can confirm it for the breadcrumbs bar! (Not for the tab bar.)

Totally fascinating. Now let's see if I can fix it.

duarte.framos
Posts: 23
Joined: 14 Jan 2016 05:19
Location: Lisbon, Portugal
Contact:

Re: Drag and Drop through Windows Taskbar

Post by duarte.framos »

admin wrote:Wow, I can confirm it for the breadcrumbs bar! (Not for the tab bar.)
Totally fascinating. Now let's see if I can fix it.
Ah great to know it's not just a local problem, I'm sure you'll be able to fix it :wink:
Thanks
highend wrote:That's an interesting image, very ascii like. Oldschool! :titter:
Are you talking about the "Attachment" image I was dragging and dropping +highend?

Just something I am currently working on and randomly grabbed as example.
It's not oldschool or ASCII, but it is quite delicious, check it out here: Pop Chart Labs - Plethora of Pasta Permutations

admin
Site Admin
Posts: 67299
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Drag and Drop through Windows Taskbar

Post by admin »

Fixed. :beer:

duarte.framos
Posts: 23
Joined: 14 Jan 2016 05:19
Location: Lisbon, Portugal
Contact:

Re: Drag and Drop through Windows Taskbar

Post by duarte.framos »

Many thanks, much appreciated! :tup:

Post Reply