Closed greedyAI closed 1 year ago
@greedyAI is this issue new to winui2.6? I wouldn't expect that to be the case, I'd guess this is present in system xaml as well?
@JesseCol / @Austin-Lamb thoughts on why shift+F10 wouldn't raise the event? Seems like InkCanvas is probably getting first crack at the keyboard event.
Hi @StephenLPeters, I don't think this issue is new to WinUI 2.6. I tested it on an vanilla app for WinUI 2.4 and it also reproed. I reckon this bug may have to do with how the InkPresenter deals with its InputDeviceTypes on your end.
Thanks, @JesseCol @Austin-Lamb and @MikeHillberg who might also know whats going on.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Describe the bug The InkCanvas control responds to right clicks when subscribed to the ContextRequested property, but does not respond to the functionally equivalent Shift+F10 keyboard accelerator.
Steps to reproduce the bug
MainPage.xaml
'sPage.Resources
ContextRequested
property trigger a function in the code behind (say,OnContextRequested
).MainPage.xaml
forOnContextRequested
, make the MenuFlyout appear (eg. using theMenuFlyout.ShowAt
API).Expected behavior The MenuFlyout context menu should appear.
Version Info NuGet package version: 2.6.0-prerelease.210524002
Additional context This bug appears on an insider build for WinUI 2.6. For specific information about the build, please contact me at waley.zhang@microsoft.com.