Context menu action triggered twice

Discussion related to "Everything" 1.5 Alpha.
Post Reply
dele
Posts: 10
Joined: Sat Feb 16, 2013 8:57 am

Context menu action triggered twice

Post by dele »

I've been using the tool "PowerPro" for many years now, and you can do a lot of useful things with it; among other things, you can set up your own context menu for files, which then appears in the Windows Explorer context menu. I use this possibility among other things to be able to execute portable applications from the Windows Explorer context menu. In Windows Explorer (or alternatives such as Q-Dir), this works as desired.

However, when I call a Powerpro context menu function from the Everything file overview or results list, these functions are always executed twice. With other "non-Powerpro" context menu functions, there are no problems in Everything.
I have tested this with Everything 1.4.1.1022 and 1.5.0.1340a, but I'm pretty sure the problem has been around for a while.

Does anyone have a tip for me?
therube
Posts: 5003
Joined: Thu Sep 03, 2009 6:48 pm

Re: Context menu action triggered twice

Post by therube »

This, PowerPro?

I guess so. And the associated discussion, Context menu for file - action is triggered twice.
dele
Posts: 10
Joined: Sat Feb 16, 2013 8:57 am

Re: Context menu action triggered twice

Post by dele »

The offical PowerPro site is "https://groups.io/g/PowerPro" and yes, it's this discussion.
For a long time I thought it was a PowerPro problem that I finally wanted to solve. So I posted a question in the Powerpro forum.
But then I noticed, that the problem only occurs when called from Everything. So I asked here.
Meanwhile the developer of Powerpro noticed something strange in his code: "...the context dll may mistakenly return an error code to explorer (or Everything) after it runs a command. Perhaps Explorer ignores this error code while Everything tries again exactly once more.". He published an experimental version yesterday which fixed the bug.
So it is not an Everything issue.
Post Reply