Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting context menu items as tier 1 items in Windows 11 #13168

Closed
Cmdr-Keene opened this issue Sep 11, 2021 · 33 comments
Closed

Getting context menu items as tier 1 items in Windows 11 #13168

Cmdr-Keene opened this issue Sep 11, 2021 · 33 comments
Assignees
Labels
Idea-Enhancement New feature or request on an existing product Priority-1 Bug that is high priority Product-Image Resizer Things regarding image resizing module Product-PowerRename Refers to the PowerRename PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.

Comments

@Cmdr-Keene
Copy link

Cmdr-Keene commented Sep 11, 2021

Crutkas: Extends into

  • Image Resizer
  • PowerRename

Description of the new feature / enhancement

I would like Resize Images option to display when I right-click an image file, without needing to choose "show more options".

Scenario when this would be used?

Helps for multiple uses.

Supporting information

As a workaround I discovered I could place a shortcut to "C:\Program Files\PowerToys\modules\ImageResizer\ImageResizer.exe" on my desktop and then just drag-drop any single/group of picture files onto that to resize them all.

@Cmdr-Keene Cmdr-Keene added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Sep 11, 2021
@franky920920
Copy link
Contributor

Related to #33

@niels9001
Copy link
Contributor

@LtCmdrKeene I think the ask is, for all PowerToys modules that show up in the context menu, is to adopt the 'modern' shellAPIs for Windows 11. More info on that here: https://blogs.windows.com/windowsdeveloper/2021/07/19/extending-the-context-menu-and-share-dialog-in-windows-11/

Fully agree, this would be great to have!

@franky920920
Copy link
Contributor

@niels9001 This enhancement could also apply to PowerRename too.

@Jay-o-Way
Copy link
Collaborator

“Show more options” loads the Windows 10 context menu as-is for access to low-use Shell verbs and apps still working on porting over. No commands have been removed entirely.

"still working on porting" says it.

Note that W11 and W10 context menus are (finally) significantly different, so #33 applies to W10.

@Jay-o-Way
Copy link
Collaborator

This enhancement could also apply to PowerRename too.

Or more general:

Apps with more than 1 verb are grouped into a flyout with app attribution.

@franky920920
Copy link
Contributor

We can group all PT actions in the Windows 11 "modern" context menu.
Something like

PowerToys
└─PowerRename
└─Image Resizer

to keep it clean and simple on the context menu.

@crutkas crutkas changed the title Promote Image Resizer option above "show more options" in Windows 11 Getting context menu items as tier 1 items in Windows 11 Sep 30, 2021
@crutkas crutkas added Idea-Enhancement New feature or request on an existing product Product-Image Resizer Things regarding image resizing module Product-PowerRename Refers to the PowerRename PowerToy and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Sep 30, 2021
@crutkas
Copy link
Member

crutkas commented Sep 30, 2021

@dedavis6797 putting this in .51, if you have an objection, please lets chat. @jaimecbernardo good chance to think with the installer work here with #10126 work that @yuyoyuppe is going to work on

@dedavis6797
Copy link
Contributor

No objections, this aligns well with verbatims I've read on Windows 11 detractors. We should definitely prioritize this.

@niels9001
Copy link
Contributor

Issue related to this: #3904

@Jay-o-Way
Copy link
Collaborator

Also related: #3953

@Jay-o-Way

This comment has been minimized.

@franky920920
Copy link
Contributor

@Jay-o-Way
Windows 11 "First" context menu
image
Windows 11 "Show more options" context menu
image

@xandfis
Copy link

xandfis commented Oct 7, 2021

We should consider making PowerRename a separately installable/uninstallable item so that it can be at the top level of the context menu, not in a flyout, while still complying with the guidance and principles of the W11 context menu. I'm totally OK with them being in a flyout though.

@Cmdr-Keene
Copy link
Author

Cmdr-Keene commented Oct 7, 2021 via email

@xandfis
Copy link

xandfis commented Oct 7, 2021

I’m personally a fan of it being under a PowerToys flyout.

I support this, just offering options.

@rdeveen
Copy link
Contributor

rdeveen commented Oct 30, 2021

The example of the implementation of the new Windows 11 context menu can be found https://github.com/microsoft/AppModelSamples/tree/master/Samples/SparsePackages and https://github.com/M2Team/NanaZip/tree/master/NanaZipShellExtension and https://github.com/ikas-mc/ContextMenuForWindows11

@Jay-o-Way
Copy link
Collaborator

And at what point does this happen? The moment of app installation? What if I update from Win.10 to Win.11, keeping apps/files/settings?

@xandfis
Copy link

xandfis commented May 23, 2022

And at what point does this happen? The moment of app installation? What if I update from Win.10 to Win.11, keeping apps/files/settings?

Sparse manifest registration is supported on up-to-date versions of W10, and it's also supported to register at runtime (e.g. after PowerToys runs after upgrade from W10 to W11)

@lncubus
Copy link
Contributor

lncubus commented May 23, 2022

@Jay-o-Way not a problem in the sample it happens just on first application startup.

@jaimecbernardo
Copy link
Collaborator

This likely means we don't have to install the msix at install time, but rather at runtime like in the sample, is that it?

@lncubus
Copy link
Contributor

lncubus commented May 25, 2022

@jaimecbernardo yes, looks like that. But we will need to restart the process once we register msix.

@jaimecbernardo
Copy link
Collaborator

@lncubus , what process needs to be restarted?

lncubus added a commit to lncubus/PowerToys that referenced this issue May 27, 2022
lncubus added a commit to lncubus/PowerToys that referenced this issue Jun 1, 2022
…osoft#13168

Should be build using MakeAppx command and signed with trusted key.
@lncubus lncubus removed their assignment Jun 4, 2022
@Jay-o-Way
Copy link
Collaborator

#7423

@crutkas crutkas added Status-In progress This issue or work-item is under development and removed Help Wanted We encourage anyone to jump in on these and submit a PR. labels Jun 15, 2022
@jaimecbernardo jaimecbernardo added Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. and removed Status-In progress This issue or work-item is under development labels Jul 1, 2022
@StarNumber12046
Copy link

is this now complete?

@Aaron-Junker
Copy link
Collaborator

is this now complete?

Yes. We will close it as soon as the 0.60 release is out

@crutkas
Copy link
Member

crutkas commented Jul 22, 2022

We released 0.60.1 and this is included in it! https://aka.ms/installpowertoys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-Enhancement New feature or request on an existing product Priority-1 Bug that is high priority Product-Image Resizer Things regarding image resizing module Product-PowerRename Refers to the PowerRename PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

No branches or pull requests