TailBlazer
TailBlazer copied to clipboard
Drag and Drop has no effect
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.
Can you open a file by pressing the open file button (one of the buttons on the title bar)
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.
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.
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?
That's definitely a clue. I will do some research
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.
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.
Any ideas about how I work around this one?
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 @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...
I also have this. Found this bug report with the workaround, everything works here as well when I don't run as admin.