Application that was launched with everything does not register drag n drop events

Found a bug in "Everything"? report it here
Post Reply
username
Posts: 3
Joined: Mon Mar 25, 2024 5:59 pm

Application that was launched with everything does not register drag n drop events

Post by username »

Take a look at the video https://files.catbox.moe/3woe2h.webm
You can see that when I launch application in regular way, drag'n'drop works, but then I launch same application from everything and drag'n'drop stop working.

I'm not sure but it looks like bug is only reproducible for winforms applications, since another 2 applications that had this issue are also winform applications.

Below is the C# code that I've used for test
https://files.catbox.moe/g7qajl.zip
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: Application that was launched with everything does not register drag n drop events

Post by therube »

Is Everything being run "As Administrator" (rather then using the Everything Service)?

I'll say it wrong, but you cannot d&d between a User level & an Admin level application.
username
Posts: 3
Joined: Mon Mar 25, 2024 5:59 pm

Re: Application that was launched with everything does not register drag n drop events

Post by username »

Re-tested both "As administrator" and regular user, same result.
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: Application that was launched with everything does not register drag n drop events

Post by therube »

(Then I'll assume it has something to do with the C# code, but others will have to look at that end.)
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Application that was launched with everything does not register drag n drop events

Post by void »

Thank you for the video and code.

This issue is most likely caused by running Everything as administrator.

Standard-user windows cannot communicate with administrator windows. (User Interface Privilege Isolation)
This includes drag dropping.



Please check if Everything is running as administrator:
  • In Everything, type in the following search and press ENTER:
    /debug
  • IsAdmin 1 is shown at the top of the debug console if running as admin.
  • IsAdmin 0 is shown at the top of the debug console if running as a standard user.


To hide the debug console:
  • In Everything, type in the following search and press ENTER:
    /debug


Programs you launch from Everything running as admin will also launch as admin.



Please make sure Everything is installed correctly and running as a standard user:
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Check Store settings and data in %APPDATA%\Everything.
  • Uncheck Run as administrator.
  • Check Everything Service. (Please make sure this is tick-checked and not square-checked)
  • Click OK.
  • Exit Everything (right click the Everything tray icon and click Exit).
  • Restart Everything.


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.
Please make sure Everything is running as a standard user:
  • Right click your Everything.exe or a shortcut to Everything
  • Click Properties.
  • Click the Shortcut tab.
  • Click the Advanced button.
  • Uncheck Run as administrator.
  • Click OK.
  • Click OK.
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.
  • Click the Change settings for all users button at the bottom.
  • Uncheck Run this program as an administrator.
  • Click OK.
username
Posts: 3
Joined: Mon Mar 25, 2024 5:59 pm

Re: Application that was launched with everything does not register drag n drop events

Post by username »

Thank you, it was indeed running as administrator this whole time.
Issue solved.
Post Reply