Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Oct 20, 2025

Summary

Restores the "Quick access" menu item that was accidentally removed from the PowerToys tray icon context menu.

Issue

Fixes #[issue_number]

The "Quick access" menu item was missing from the tray icon's right-click context menu, preventing users from accessing this feature via the tray menu.

Expected menu:

Expected menu

Actual menu (before this fix):

Actual menu

Changes

  • Added the missing MENUITEM "Quick access\tLeft-click", ID_QUICK_ACCESS_MENU_COMMAND entry as the first menu item in the ID_TRAY_MENU definition in src/runner/runner.base.rc

Details

The menu item was accidentally removed in commit f5797a0. This PR restores it to its correct position as the first item in the tray menu.

All supporting code was already in place:

  • The resource ID ID_QUICK_ACCESS_MENU_COMMAND (40006) is defined in resource.base.h
  • The resource string QUICK_ACCESS_MENU_TEXT is defined in Resources.resx
  • The menu command handler in tray_icon.cpp opens the Quick Access flyout window
  • The localization code updates the menu text at runtime

Testing

  • ✅ Verified the menu item syntax is correct and matches existing patterns
  • ✅ Confirmed all supporting resource IDs and handler code exist
  • ✅ CI build verification pending

After this fix, the tray menu will correctly display:

  1. Quick access (Left-click)
  2. Settings (Double-click)
  3. Documentation
  4. Report Bug
  5. Close
Original prompt

This section details on the original issue you should resolve

<issue_title>Quick Access missing in tray menu</issue_title>
<issue_description>### Microsoft PowerToys version

0.95.0

Installation method

PowerToys auto-update

Area(s) with issue?

System tray interaction

Steps to reproduce

  1. Right click the tray icon
  2. Look at the list of items which can be selected
  3. Notice that the "Quick access" is missing

Expected menu ("Exit" is now "Close" I took this image from initial implementation):

Image

Actual menu right now:

Image

✔️ Expected Behavior

The "Quick access" menu item should be there

❌ Actual Behavior

The menu item is missing

Additional Information

Windows 10 Pro 22H2 19045.6332

(Also it is the same on my other computers)

Other Software

No response</issue_description>

<agent_instructions>restore

MENUITEM "Quick access\tLeft-click", ID_QUICK_ACCESS_MENU_COMMAND

as first menu item of ID_TRAY_MENU MENU in src/runner/runner.base.rc</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@niels9001 @davidegiacometti is this a regression from the PR where we updated the string names? @davidegiacometti Hi @niels9001 I just realized that the menu was missing in https://github.com//pull/40714 screenshots, but the regression was caused by https://github.com/microsoft/PowerToys/commit/f5797a065a5c2c448fd2b1780bd1353d712103c3. Unfortunately, many of the `.rc` files in the PT codebase have UTF16-LE encoding and GitHub doesn't show diff.

Fixes #42618


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: davidegiacometti <25966642+davidegiacometti@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Fix missing quick access in tray menu Restore missing "Quick access" menu item in tray icon context menu Oct 20, 2025
@Copilot Copilot AI requested a review from davidegiacometti October 20, 2025 18:27
Copilot finished work on behalf of davidegiacometti October 20, 2025 18:27
Copy link
Collaborator

@davidegiacometti davidegiacometti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

Quick access menu is back 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quick Access missing in tray menu

2 participants