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

Selection tool lags behind #57

Open
HDhotdog opened this issue Nov 17, 2022 · 2 comments
Open

Selection tool lags behind #57

HDhotdog opened this issue Nov 17, 2022 · 2 comments
Labels
bug Something isn't working editor-screen Issues occurring in the EditorScreen next-release This issue must be fixed before the next release

Comments

@HDhotdog
Copy link
Contributor

Describe the bug
Using the selection tool only tracks a few points (not the entire mouse/pen movement) and lags behind up to multiple seconds

To Reproduce
Steps to reproduce the behavior:

  1. select selection tool
  2. make selection

Expected behavior
Selection tool should not lag behind and follow the entire user movement

Desktop (please complete the following information):

Additional context
Commenting out line 504 in EditorScreen.xaml.cs "fixes" the issue

@HDhotdog HDhotdog added the bug Something isn't working label Nov 17, 2022
@sentry-io
Copy link

sentry-io bot commented Nov 17, 2022

Sentry issue: AINOTES-7D

[19:26:54:697] [  3 | Main ] [DEFAULT]  [CustomInkCanvas                    ] StrokeContinued - Exception: System.InvalidCastException: Error 0x2629.  Debugging resource strings are unavailable. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.30319.0&File=mscorrc.dll&Key=0x2629
   at System.StubHelpers.StubHelpers.GetCOMIPFromRCW_WinRT(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget)
   at Windows.UI.Input.PointerPoint.get_Position()
   at AINotes.Controls.CustomInkCanvas.StrokeContinued(InkStrokeInput sender, PointerEventArgs args)

@vincentscode
Copy link
Member

vincentscode commented Nov 17, 2022

Seems caused by not being able to access the position of a pointer event twice.

@vincentscode vincentscode added editor-screen Issues occurring in the EditorScreen next-release This issue must be fixed before the next release labels Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working editor-screen Issues occurring in the EditorScreen next-release This issue must be fixed before the next release
Projects
None yet
Development

No branches or pull requests

2 participants