PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

[Hosts] Workaround for context menu not opening

Open davidegiacometti opened this issue 3 years ago • 2 comments

Summary of the Pull Request

Workaround for context menu not opening after selecting an entry. Repro here: https://github.com/microsoft/PowerToys/issues/21263#issuecomment-1279979507

Side-effect of the workaround is that FlyoutShowMode.Transient doesn't focus the opened flyout. Already addressed the issue: https://github.com/microsoft/microsoft-ui-xaml/issues/7838 Let's keep the issue opened.

PR Checklist

  • [x] Closes: #21263
  • [ ] Communication: I've discussed this with core contributors already. If 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

Context menu is opening as expected

davidegiacometti avatar Nov 15 '22 21:11 davidegiacometti

/azp run

crutkas avatar Nov 16 '22 15:11 crutkas

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Nov 16 '22 15:11 azure-pipelines[bot]