Skip to content
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 not working on WinUi 2.7 #6021

Closed
1 of 2 tasks
mixturify opened this issue Oct 3, 2021 · 3 comments
Closed
1 of 2 tasks

InkCanvas not working on WinUi 2.7 #6021

mixturify opened this issue Oct 3, 2021 · 3 comments
Labels
area-InkCanvas duplicate This issue or pull request already exists team-Controls Issue for the Controls team

Comments

@mixturify
Copy link

mixturify commented Oct 3, 2021

Describe the bug

With a pen or a mouse inking on the InkCanvas not working anymore.

Steps to reproduce the bug

It's easy to reproduce the bug.

You can just download a default example like on Windows Template Studio with InkDraw option and test it on the default 2.5 version: it will work. Then update the packages to 2.7: it's may not work. Even on Xaml Control Gallery which look like to have the 2.7 version it's not inking.

Maybe it's because of my recent update to optional cumulative preview for Windows 10 Version 21H1 for x64 or just something is not support from my hardware's on 2.7 version. But it's not seem common among others developers using the latest WinUI framework with usual InkCanvas.

Expected behavior

Ink strokes should be draw on the InkCanvas.

Screenshots

No response

NuGet package version

Microsoft.UI.Xaml 2.7.0

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

May 2021 Update (19043)

Additional context

I am using the latest Windows version with all cumulative updates (required and optional) and also Visual Studio with last version.

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Oct 3, 2021
@Nazgul37
Copy link

@mixturify, you're not alone with this issue. I too have had the same problem with the inkCanvas not working for some users, but working fine from others, and have found that it functions fine in WinUI 2.5, but is broken in WinUI 2.6/2.7 . I'd really appreciate (and my customers would too!) it if someone took a look at this case.

@StephenLPeters
Copy link
Contributor

Duplicate root cause of #5299

@StephenLPeters StephenLPeters added area-InkCanvas duplicate This issue or pull request already exists team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Oct 20, 2021
@mixturify
Copy link
Author

@StephenLPeters, @Nazgul37
Look like with the workaround from the comment #5299 (comment) the InkCanvas work again.
Well, what was a tricky issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-InkCanvas duplicate This issue or pull request already exists team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

3 participants