-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InkCanvas doesn't work #9261
Comments
Thanks for filing this issue @FrancescoCarraro. I can't seem to reproduce this in the app (see picture below). Are you using the latest Store version of the app? |
I'm inclined to say this is rather an issue with InkCanvas, I don't think there is much we do in the WinUI Gallery that could cause this. |
I can reproduce the same issue with WinUI 2 Gallery (Version: 1.2.26.0). On Windows 10 22H2 (build19045.3693), both InkCanvasPage and InkToolbarPage do not work. However, when testing with Windows 11 22H2 (build 22621.2715), everything works well. This issue doesn't seem to be an InkCanvas/InkToolbar issue as if I use these controls directly in my test project, they all work well. |
InkCanvas codebehind is shipped with the OS, WinUI2 simply re-templates to update the styles, thus I believe this is most likely a InkCanvas issue, thus transferring. |
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you! Closed similar issues:
|
When using a InkCanvas component, mouse movement is not apparently captured and no line is drawn.
Steps to reproduce the bug
Open XAML controls Gallery app, select InkCanvas, try drawing something....nothing happens. The same happens when using InkCanvas in my developed UWP app.
Expected behavior
I expect that a line following the pointer movement is drawn
Version Info
Windows version:
21H2 version, build 19044.1645 (also on previous ones)
Device form factor:
The text was updated successfully, but these errors were encountered: