I cannot drag and drop files / folders anymore from the result list.

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

I cannot drag and drop files / folders anymore from the result list.

Post by Biff »

I cannot drag and drop files / folders anymore from the result list. Nothing happens when I try it. What am I missing, how could I copy / move items?
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: I cannot drag and drop files / folders anymore from the result list.

Post by NotNull »

That behaviour is controlled by the allow_drag_drop INI-entry.
It is unlikely that you accidentally changed that, but to be sure:
Enter this:
/allow_drag_drop=1
in the Everything search bar (+ Enter)
Does drag/drop now work again?


If not: another possibility is that your Everything and the program that you want to drag to are running with different credentials. Especially when that drop-program is running with administrator credentials ("Lower security" programs/accounts are not allowed to start talking to "higher security" accounts/programs. That is by Windows (secuity) design.
What happens when you can drag and drop a file to File Explorer?


And yet another possibility: Everything 'sees' all files, whereas some of them are inaccessible with your normal account. Or you selected a file from an off-line volume. Maybe you selected one of those files? Try drag/drop with a file from your Documents folder.
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: I cannot drag and drop files / folders anymore from the result list.

Post by void »

Everything might be running as an administrator, which would prevent drag dropping to programs running as a standard user.

Please try running Everything as a standard user:
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Check Everything service.
  • Uncheck Run as administrator.
  • Click OK.
  • Restart Everything (right click the Everything tray icon and click Exit).
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Re: I cannot drag and drop files / folders anymore from the result list.

Post by Biff »

Sorry for the late reply, no e-mail notification anymore.
Enter this:
/allow_drag_drop=1
in the Everything search bar (+ Enter)
Does drag/drop now work again?
Yes, now it works again. I had to re-install Win 10 three weeks ago after I had opened this thread, so may be that might be the cause it works again or the line above.
If not: another possibility is that your Everything and the program that you want to drag to are running with different credentials. Especially when that drop-program is running with administrator credentials ("Lower security" programs/accounts are not allowed to start talking to "higher security" accounts/programs. That is by Windows (secuity) design.
So when the programs have the same credentials / security levels drag and drop work. And when they don't have drag and drop do not. Is there a method to give all of one's programs the same security level with a single step or two?
What happens when you can drag and drop a file to File Explorer?
It now works.
And yet another possibility: Everything 'sees' all files, whereas some of them are inaccessible with your normal account. Or you selected a file from an off-line volume. Maybe you selected one of those files? Try drag/drop with a file from your Documents folder.
I only have one account. Off-line volume, I do not think so, but who knows?
Everything might be running as an administrator, which would prevent drag dropping to programs running as a standard user.

Please try running Everything as a standard user:

In Everything, from the Tools menu, click Options.
Click the General tab on the left.
Check Everything service.
Uncheck Run as administrator.
Click OK.
Restart Everything (right click the Everything tray icon and click Exit).
Works well with both settings, checked like this or vice versa.
jrlaff
Posts: 4
Joined: Thu Feb 28, 2019 9:30 am

Re: I cannot drag and drop files / folders anymore from the result list.

Post by jrlaff »

Since the last update (Version 1.4.1.935 (x86)), I cannot drag-and-drop files anymore from Everything to the following applications:
  • Notepad
  • Sublime Text
... While it is working fine to:
  • Explorer
  • Firefox
None of these are running as Administrator. I have tried running Everything as a service or not, running Everything as Administrator or not, it does not work. Again, it was working fine before the update.

I have tried the other suggestions above:
  • I have typed /allow_drag_drop=1 in the Search box and ENTER
  • allow_drag_drop=1 is properly set in my Everything.ini file
Any idea?

Thanks,
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: I cannot drag and drop files / folders anymore from the result list.

Post by void »

Please check if Everything is still running as an administrator:
  • In Everything, type in the following search and press ENTER:
    /debug
  • Look at the top of the console for the following line:
    IsAdmin 1
  • Is IsAdmin 1 or 0? -If it is 1, Everything is running as administrator.
To close the debug console:
  • In Everything, type in the following search and press ENTER:
    /debug
Please make sure Everything is running as a standard user:
  • Right click your Everything.exe or a shortcut to Everything
  • Click Properties.
  • Click the Compatibility tab.
  • Uncheck Run this program as an administrator.
  • Click OK.
jrlaff
Posts: 4
Joined: Thu Feb 28, 2019 9:30 am

Re: I cannot drag and drop files / folders anymore from the result list.

Post by jrlaff »

Code: Select all

Everything
Version 1.4.1.935 (x86)
Windows NT 6.2
Processors 8
IsAdmin 0
AppData 1
Service 1
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: I cannot drag and drop files / folders anymore from the result list.

Post by NotNull »

Could you try it with the 64-bit vrsion of Everything 1.4.1.935?
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: I cannot drag and drop files / folders anymore from the result list.

Post by void »

Thanks for the IsAdmin info.

Everything is definitely running as a standard user.

What about notepad? -Could you please open your Task Manager with Ctrl + Shift + ESC.
Find Notepad.exe under the Details tab.
What is shown under the User Name column, is it your user name or Administrator?

Could you please run Everything in debug mode again and perform a drag drop operation to notepad:
  • In Everything, type in the following search and press ENTER:
    /debug
  • Perform a drag drop operation to notepad.
  • You should see the following in the debug console:
  • dragdrop <x> <y>
  • create shell object.
  • drop effect 1
  • Do you see something similar?
  • When dragging a file from Everything, do you see an image of the file with your mouse cursor?
To close the debug console:
  • In Everything, type in the following search and press ENTER:
    /debug
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: I cannot drag and drop files / folders anymore from the result list.

Post by therube »

Win7 x64, Everything x86

Using the Everything Service

If I open Vim, as Administrator (after UAC prompt)
Task Manager / Process Hacker shows User as ruben7/ruben
only difference is that Elevation is Full vs Limited

Dragging a file from (Limited) Everything into (Full) Vim
results in drop effect 0, i.e., the drag&drop fails


I suppose all that is expected.
Only difference is what Task Manager shows as the User, where I took it that you were suggesting that the User would show something like Administrator rather then ruben.

(I've always disliked the way that Windows elevates.)

The thing is that even though TM/PH show ruben7/ruben, that would seem to not be correct, well to my thinking.
Owner: of the elevated Vim shows as, BUILTIN\Administrators.
Owner: of Limited Vim shows as, RUBEN7\RUBEN.
Likewise RUBEN shows on the (PH, Token Properties) Security tab (& missing in the elevated Vim).
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: I cannot drag and drop files / folders anymore from the result list.

Post by void »

Dragging a file from (Limited) Everything into (Full) Vim
results in drop effect 0, i.e., the drag&drop fails
This is expected.
drop effect 0 means the drop failed, or no drop took place.
1 = copy, 2 = move, 4 = link
this is the "reported drop effect" and it's not always accurate.

Please try disabling User Interface Privilege Isolation (UIPI):
If you don't want to disable UAC, you could try just disabling UIPI (User Interface Privilege Isolation).

Open regedit and go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

Add a new DWORD (32-bit) Value called EnableUIPI and set it to 0.

Restart the machine and see if it behaves as you want it to.
https://serverfault.com/questions/39600/why-cant-i-drag-drop-a-file-for-editing-in-notepad-in-windows-server-2008
jrlaff
Posts: 4
Joined: Thu Feb 28, 2019 9:30 am

Re: I cannot drag and drop files / folders anymore from the result list.

Post by jrlaff »

Thank you very much all for your suggestions.

I installed the x64 version of Everything (Version 1.4.1.935 (x64)) and drag-and-drop is now working with all the apps I need.

I guess that either:
  • Something has changed in Everything that handles the drag-and-drop, but I think it is unlikely
  • My Windows account has been change (I don't handle it) here
  • A recent windows update has been applied and has changed the behavior
  • When I updated Everything a few days ago, it installed the x86 version instead of the x64, but that means that the auto-updater installed an x86 version over an x64 one ?
Thanks anyway.
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: I cannot drag and drop files / folders anymore from the result list.

Post by void »

Seems to be a bug with Windows.
https://stackoverflow.com/questions/39612616/drag-and-drop-from-32-to-64-bit#
When I updated Everything a few days ago, it installed the x86 version instead of the x64, but that means that the auto-updater installed an x86 version over an x64 one ?
Yes, normally there can only be one instance of Everything, so the installer will replace the existing x64/x86 version.
jrlaff
Posts: 4
Joined: Thu Feb 28, 2019 9:30 am

Re: I cannot drag and drop files / folders anymore from the result list.

Post by jrlaff »

Makes sense. Thank you.
Post Reply