Page 1 of 1

PowerToys' PowerRename opened twice from FreeCommander XE context menu

Posted: 14.07.2022, 12:56
by stefanmrkvc
Hi,

As title says if I open https://github.com/microsoft/PowerToys PowerRename tool from context menu within FreeCommander:
Image

PowerRename will be opened twice, i.e. two separate windows/processes will be spawned like I actually clicked it twice in context menu. Any idea why this happens? Other things in context menu (e.g. Visual Studio Code) works fine and are being opened only once as expected.

EDIT: I was investigating this a bit and I see that clicking PowerRename context menu item from within FreeCommander actually triggers IContextMenu::InvokeCommand https://docs.microsoft.com/en-us/window ... okecommand method twice, which should not happen.

Thanks!

Re: PowerToys' PowerRename opened twice from FreeCommander XE context menu

Posted: 24.07.2022, 16:41
by Radamand
Is anyone looking into this? It is an annoying problem.

Re: PowerToys' PowerRename opened twice from FreeCommander XE context menu

Posted: 24.07.2022, 19:02
by horst.epp
Radamand wrote: 24.07.2022, 16:41 Is anyone looking into this? It is an annoying problem.
That problem doesn't occur here.
In all file managers including FC only one entry for Power rename is shown.
But this Power toys module crashes after usage with many file managers (Total Commander and Free Commander).
only in Windows Explorer and XYplorer it works without crashes.

Re: PowerToys' PowerRename opened twice from FreeCommander XE context menu

Posted: 24.07.2022, 21:07
by Marek
In all file managers including FC only one entry for Power rename is shown.
That's true, but when you click on the menu item, the PowerRename tool opens twice.
I have fixed it for the next release.

Re: PowerToys' PowerRename opened twice from FreeCommander XE context menu

Posted: 26.07.2022, 15:07
by Radamand
awesome, thank you!

Re: PowerToys' PowerRename opened twice from FreeCommander XE context menu

Posted: 28.12.2022, 17:12
by stefanmrkvc
FYI, this issue is still present with latest version of Free Commander