microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.12k stars 6.54k forks source link

Resize Picture Context menu entries appear twice in context menu #20255

Open Jerriy opened 2 years ago

Jerriy commented 2 years ago

Untitled - Copy

Microsoft PowerToys version

0.61.1

Running as admin

Area(s) with issue?

Image Resizer

Steps to reproduce

right click

✔️ Expected Behavior

one instance of "resize image"

❌ Actual Behavior

two instances of "resize image". This is also the case for PowerRename but at least that one has an option in its settings titled "default and extended context menu" (where you can choose to display either two or one only), whereas Image Resizer doesn't have that option.

Other Software

OS = Windows 11

LagunaJim commented 1 year ago

Me too.

As a workaround it seems that deleting this reg key removes one of the duplicates on the context menu:

[HKEY_CLASSES_ROOT\PackagedCom\ClassIndex{8F491918-259F-451A-950F-8C3EBF4864AF}]

Untitled-1 @ 133% (Layer 1, RGB_8) _ 2022-11-08 14_59_11

Jay-o-Way commented 9 months ago

Is this still an issue with the latest version? /needinfo

LagunaJim commented 9 months ago

Thanks for asking! Yes I just installed Powertoys x64 in a Windows Sandbox (so a clean environment) and this is the result. Note that this is the “Show More Options” menu – on the initial “new context menu” it appears only once.

In my regular environment (non-sandbox) I have the “new Show More Options” version of the menu disabled – but this doesn’t carry over into the Sandbox.

/jim

[A screenshot of a computer Description automatically generated]

SFNMutt commented 8 months ago

Me too.

As a workaround it seems that deleting this reg key removes one of the duplicates on the context menu:

[HKEY_CLASSES_ROOT\PackagedCom\ClassIndex{8F491918-259F-451A-950F-8C3EBF4864AF}]

Untitled-1 @ 133% (Layer 1, RGB_8) _ 2022-11-08 14_59_11

this will also remove the Win11 Context menu entry

Jay-o-Way commented 7 months ago

Related to #25361

crutkas commented 7 months ago

from https://github.com/microsoft/PowerToys/issues/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]
LaunchLee commented 4 months ago

For the classic menu entry, what I found that can be recognized as duplicates is the following:

Windows Registry Editor Version 5.00

; FileLockSmith
[-HKEY_CLASSES_ROOT\AllFileSystemObjects\shellex\ContextMenuHandlers\FileLocksmithExt]

; ImageResizer
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.bmp\ShellEx\ContextMenuHandlers\ImageResizer]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.dib\ShellEx\ContextMenuHandlers\ImageResizer]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.gif\ShellEx\ContextMenuHandlers\ImageResizer]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.jfif\ShellEx\ContextMenuHandlers\ImageResizer]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.jpe\ShellEx\ContextMenuHandlers\ImageResizer]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.jpeg\ShellEx\ContextMenuHandlers\ImageResizer]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.jpg\ShellEx\ContextMenuHandlers\ImageResizer]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.jxr\ShellEx\ContextMenuHandlers\ImageResizer]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.png\ShellEx\ContextMenuHandlers\ImageResizer]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.rle\ShellEx\ContextMenuHandlers\ImageResizer]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.tif\ShellEx\ContextMenuHandlers\ImageResizer]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.tiff\ShellEx\ContextMenuHandlers\ImageResizer]
[-HKEY_CLASSES_ROOT\SystemFileAssociations\.wdp\ShellEx\ContextMenuHandlers\ImageResizer]

; PowerRename
[-HKEY_CLASSES_ROOT\AllFileSystemObjects\shellex\ContextMenuHandlers\PowerRenameExt]
[-HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\PowerRenameExt]
tahayparker commented 3 months ago

can confirm that this issue still persists in v0.82 image

KrisEnigma commented 3 months ago

Hi, here to confirm this issue with version 0.82.1:

image

I disabled the default Windows 11 menu; I don't know if that's causing an issue.

Thane5 commented 2 months ago

For me it now appears only once in the old context menu, but still not at all in the new Win11 context menu. (Using v0.83.0)