Skip to content

Conversation

Copy link
Contributor

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.

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 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 🚀

@davidegiacometti davidegiacometti marked this pull request as ready for review October 28, 2025 07:08
@github-actions
Copy link

github-actions bot commented Nov 5, 2025

@check-spelling-bot Report

🔴 Please review

See the 📂 files view, the 📜action log, or 📝 job summary for details.

❌ Errors, Warnings, and Notices Count
ℹ️ candidate-pattern 1
❌ forbidden-pattern 1
⚠️ ignored-expect-variant 4

See ❌ Event descriptions for more information.

These words are not needed and should be removed cabstr CIBUILD djwsxzxb icf installscopeperuser ksa Olllama rap registryroot regroot rtm suntimes TARGETDIR utm

Pattern suggestions ✂️ (1)

You could add these patterns to .github/actions/spell-check/patterns.txt:

# Automatically suggested patterns

# hit-count: 1 file-count: 1
# Amazon
\bamazon\.com/[-\w]+/(?:dp/[0-9A-Z]+|)

Alternatively, if a pattern suggestion doesn't make sense for this project, add a #
to the beginning of the line in the candidates file with the pattern to stop suggesting it.

If the flagged items are 🤯 false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it,
    try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

@zadjii-msft
Copy link
Member

So, this was removed in 53b9898#diff-4095dc55de8a9eebff88733d026d1b9f0d054f7d8bf1688b7ef62c1a06f346d3

but yea looking through that PR, I don't think removing that menu item was intentional.

@zadjii-msft
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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

3 participants