Skip to content

CmdPal: Fix missing app context menu actions on the main page#46293

Merged
zadjii-msft merged 2 commits intomainfrom
dev/jpolasek/f/46285-cmdpal-add-pin-to-app-search-result-item
Mar 24, 2026
Merged

CmdPal: Fix missing app context menu actions on the main page#46293
zadjii-msft merged 2 commits intomainfrom
dev/jpolasek/f/46285-cmdpal-add-pin-to-app-search-result-item

Conversation

@jiripolasek
Copy link
Copy Markdown
Collaborator

@jiripolasek jiripolasek commented Mar 19, 2026

Summary of the Pull Request

This PR fixes missing Pin to ... menu items on app search result.

MainListPage reuses AppListItem instances from the All Apps page, but their context menus were being built with the main page provider context instead of the All Apps provider context.

PR Checklist

  • Communication: I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected
  • Tests: Added/updated and all pass
  • Localization: All end-user-facing strings can be localized
  • Dev docs: Added/updated
  • New binaries: Added on the required places
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

MainListPage reuses AppListItems from the All Apps page, but CommandPaletteContextMenuFactory didn't know how to handle them. But since its not an old dog, we can teach it a few new tricks.
@jiripolasek jiripolasek added Product-Command Palette Refers to the Command Palette utility CmdPal - Dock Issues related to the Command Palette Dock 0.98.1 labels Mar 19, 2026
@jiripolasek jiripolasek marked this pull request as ready for review March 19, 2026 15:11
@jiripolasek
Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@jiripolasek jiripolasek requested a review from zadjii-msft March 23, 2026 09:27
Copy link
Copy Markdown
Member

@zadjii-msft zadjii-msft left a comment

Choose a reason for hiding this comment

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

Yea this is better

@zadjii-msft zadjii-msft merged commit 84ce86c into main Mar 24, 2026
15 checks passed
zateutsch added a commit that referenced this pull request Mar 25, 2026
Cherry-picked commits:
- Make KBM Editor pinnable (#46482)
- CmdPal: Fix missing primary context command for late-bound items (#46131)
- CmdPal: Ensure DockWindow property cleans up after itself (#46303)
- CmdPal: Hotfix commonCallbacks array initial count to prevent negative number (#46215)
- CmdPal: Fix missing app context menu actions on the main page (#46293)
- CmdPal: Fix dock popup XamlRoot handling on DockControl (#46305)
- CmdPal: Reduce DockWindow backdrop switching and visual artifacts (#46309)
- Always On Top: The opacity should be able to configure the hotkey individually (#46410)
- [OOBE] Ensure the Settings button on the SCOOBE page opens Home, not a blank page (#46203)
- CmdPal: Fix scroller scrolling and down glyph (#46447)
- [Settings] Decouple Settings.UI.Library from PowerDisplay.Lib to fix (#46325)
@michaeljolley michaeljolley deleted the dev/jpolasek/f/46285-cmdpal-add-pin-to-app-search-result-item branch March 25, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.98.1 CmdPal - Dock Issues related to the Command Palette Dock Product-Command Palette Refers to the Command Palette utility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CmdPal: Pin to... context items are missing on app items in the top-level search results CmdPal: App search results can't be pinned

3 participants