TailBlazer icon indicating copy to clipboard operation
TailBlazer copied to clipboard

Drag and Drop has no effect

Open zolrath opened this issue 9 years ago • 11 comments
trafficstars

When I attempt to drag and drop a file onto Tail Blazer end up with the :no_entry_sign: cursor. I've tried a variety of file types and the results have been the same on all of them.

Running Windows 10 and I do have .NET 4.6.1 installed.

zolrath avatar Feb 12 '16 08:02 zolrath

Can you open a file by pressing the open file button (one of the buttons on the title bar)

RolandPheasant avatar Feb 12 '16 08:02 RolandPheasant

Yes! I can path to it and everything performs as expected once open, it's only the drag and drop functionality that doesn't work.

zolrath avatar Feb 12 '16 10:02 zolrath

This is odd and I have never seen it before. Also drag and drop is code that was writen in week 1 of the project so I am perplexed.

RolandPheasant avatar Feb 12 '16 10:02 RolandPheasant

Another diagnostic point is that I'm using a Surface Book, if the presence of touch + pen input interferes with your drag and drop in some way?

zolrath avatar Feb 12 '16 18:02 zolrath

That's definitely a clue. I will do some research

RolandPheasant avatar Feb 12 '16 18:02 RolandPheasant

Could it be that you are running Tail Blazer as Administrator and the file is owned by someone else, or vice versa? I observe the same behaviour, navigating to the file works but drag and drop does not when this is the case.

pinscript avatar Feb 14 '16 07:02 pinscript

Yes! If I launch Tail Blazer from an Administrator cmd prompt Drag and Drop doesn't work but non-Administrator did allow me to drag and drop.

zolrath avatar Feb 14 '16 17:02 zolrath

Any ideas about how I work around this one?

RolandPheasant avatar Feb 14 '16 17:02 RolandPheasant

This article is quite old but seems to explain the the issue. http://blogs.msdn.com/b/patricka/archive/2010/01/28/q-why-doesn-t-drag-and-drop-work-when-my-application-is-running-elevated-a-mandatory-integrity-control-and-uipi.aspx

It seems to be a security feature but you can explicitly opt-in to allowing specific messages through from lower-level processes.

zolrath avatar Feb 14 '16 18:02 zolrath

@zolrath @alexandernyquist interesting. I tried running TB as an administrator and sure enough drag and drop failed. As stated, I could use ChangeWindowsMessageFilterEx but that is not recommended and frankly is sucks. Need to have a think about this one...

RolandPheasant avatar Feb 21 '16 13:02 RolandPheasant

I also have this. Found this bug report with the workaround, everything works here as well when I don't run as admin.

alexanderfast avatar Aug 04 '16 15:08 alexanderfast