microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.96k stars 6.48k forks source link

Power rename showing twice in the context menu when clicking on an empty space #25361

Open GitExploraa opened 1 year ago

GitExploraa commented 1 year ago

Microsoft PowerToys version

0.69.0

Installation method

Microsoft Store

Running as admin

Yes

Area(s) with issue?

PowerRename

Steps to reproduce

Right click on an empty space in file explorer

✔️ Expected Behavior

expect the power rename entry to show there once

❌ Actual Behavior

it shows twice image

Other Software

No response

xip0rt commented 1 year ago

I just noticed this one myself, 0.70.1.

I see the aforementioned double, and also see it twice when right clicking on a file:

  1. under "open with...", and
  2. under "share"

I have Windows 11's default mini menu BS disabled, and shell integration>show powerrename in: default & extended

e-t-l commented 1 year ago

The following info was described in #26743 but I don't see it here, so to keep all progress in one place: The two entries seen when right-clicking folders or directories correspond to the Registry keys Computer\HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\PowerRenameExt and Computer\HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\PowerRenameExt.

There is a THIRD context menu entry that appears only for QUICK ACCESS MENU objects. I haven't identified a Registry key that controls it.

GitExploraa commented 1 year ago

The following info was described in #26743 but I don't see it here, so to keep all progress in one place: The two entries seen when right-clicking folders or directories correspond to the Registry keys Computer\HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\PowerRenameExt and Computer\HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\PowerRenameExt.

There is a THIRD context menu entry that appears only for QUICK ACCESS MENU objects. I haven't identified a Registry key that controls it.

Manually deleting the corresponding registery entry did solve this issue for me, but i dont know if it'll show again once i update the app, hoping for a fix directly from Microsoft

CMGS commented 9 months ago

image anyone know where to find this PowerRename?

bel57 commented 6 months ago

So much space wasted.. it's not just PowerRename.. all modules are at fault here. Blaming File Locksmith and Image Resizer too. None other than 3 dupes. v0.79.0 please fix this ASAP and make sure the code doesn't allow dupe shell context menu entries anymore. Also would be great if you could add as an option a cascading style regrouping all PowerToys entries into 1 submenu. powertoys_v0 79 0_context_menu_dupe_entries Edit: performed a check with Sysinternals Autoruns and I can't find dupe registry entries. How come? Is the registered extension itself faulty and containing double references? 🤔 PTshell

admiralspeedy commented 6 months ago

So much space wasted.. it's not just PowerRename.. all modules are at fault here. Blaming File Locksmith and Image Resizer too. None other than 3 dupes. v0.79.0 please fix this ASAP and make sure the code doesn't allow dupe shell context menu entries anymore. Also would be great if you could add as an option a cascading style regrouping all PowerToys entries into 1 submenu. powertoys_v0 79 0_context_menu_dupe_entries Edit: performed a check with Sysinternals Autoruns and I can't find dupe registry entries. How come? Is the registered extension itself faulty and containing double references? 🤔 PTshell

It wasn't actually all modules until recently, I believe they made a change the made it happen for all modules.

Truthfully I don't understand how this can be that hard to fix, this is the only piece of software I've ever seen do something this dumb and it's literally developed my Microsoft...

I have uninstalled it now because I find it so annoying.

d3xMachina commented 6 months ago

Same issue on latest version, the right click menu is bloated with dupe entries. (the same as bel57) I have to uninstall the software I can't use it like this...

Jay-o-Way commented 5 months ago

@jaimecbernardo @crutkas We should totally go after this.

crutkas commented 5 months ago

from #32152, note AllFilesystemObjects and Directory\Background

[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\FileLocksmithExt]
[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\PowerRenameExt]
[-HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\PowerRenameExt]
spaccie commented 3 months ago

V0.81.1 - Issue remains. Shameful! image

acarrazzoni-qontigo commented 1 month ago

I have the same issue with Image Resizer and on top of that the extended context menu gets corrupted when I right click on a file stored in OneDrive

https://github.com/user-attachments/assets/9f03ba36-7511-42e9-bb25-c900f80e44ba

FERViborg commented 1 month ago

For me, it only appears double when the option "Default and extended context menu" is on:

image

RayKoopa commented 2 weeks ago

Same issue, deleting the PowerToys entries in Sysinternals Autoruns and reselecting Shell integration options deduplicates the entries for me.