PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Resize Picture Context menu entries appear twice in context menu

Open Jerriy opened this issue 2 years ago • 10 comments

Untitled - Copy

Microsoft PowerToys version

0.61.1

Running as admin

  • [X] Yes

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

Jerriy avatar Sep 04 '22 00:09 Jerriy

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

LagunaJim avatar Nov 08 '22 22:11 LagunaJim

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

Jay-o-Way avatar Feb 01 '24 14:02 Jay-o-Way

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]

LagunaJim avatar Feb 01 '24 16:02 LagunaJim

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

SFNMutt avatar Mar 07 '24 13:03 SFNMutt

Related to #25361

Jay-o-Way avatar Mar 31 '24 18:03 Jay-o-Way

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]

crutkas avatar Apr 01 '24 18:04 crutkas

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]

LaunchLee avatar Jun 12 '24 12:06 LaunchLee

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

tahayparker avatar Jul 15 '24 04:07 tahayparker

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.

KrisEnigma avatar Jul 25 '24 19:07 KrisEnigma