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 doesn't work #9261

Closed
2 tasks
FrancescoCarraro opened this issue Apr 20, 2022 · 6 comments
Closed
2 tasks

InkCanvas doesn't work #9261

FrancescoCarraro opened this issue Apr 20, 2022 · 6 comments
Labels
area-External Not owned by the WinUI team, not actionable in this repository. closed-Won'tFix Described behavior will not be fixed.

Comments

@FrancescoCarraro
Copy link

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

  • Xaml Controls Gallery - Downloaded from Store
    • version 1.2.22

Windows version:
21H2 version, build 19044.1645 (also on previous ones)

Device form factor:

  • Desktop
@gregwoo-microsoft
Copy link

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?
image

@HuHe86
Copy link

HuHe86 commented May 23, 2022

I have the same problem and it doesn't work with my pen too.
image

@marcelwgn
Copy link
Collaborator

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.

@JayZuo
Copy link

JayZuo commented Nov 27, 2023

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.

@karkarl
Copy link
Contributor

karkarl commented Jan 18, 2024

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.

@karkarl karkarl transferred this issue from microsoft/WinUI-Gallery Jan 18, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jan 18, 2024
Copy link

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:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@bpulliam bpulliam added area-External Not owned by the WinUI team, not actionable in this repository. and removed needs-triage Issue needs to be triaged by the area owners labels Jan 22, 2024
@llongley llongley closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2024
@llongley llongley added the closed-Won'tFix Described behavior will not be fixed. label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-External Not owned by the WinUI team, not actionable in this repository. closed-Won'tFix Described behavior will not be fixed.
Projects
None yet
Development

No branches or pull requests

8 participants