Cursor jumping to edge of screen when lifting pen from tablet area (wintab) #92787

Open
opened 2021-11-03 14:07:43 +01:00 by Lillya · 22 comments

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.89

Blender Version
Broken: version: 3.0.0 Beta, branch: master, commit date: 2021-10-28 23:23, hash: b43077ba3a
Worked: 2.93

Short description of error
Tablet model: Huion h950p
Tablet api: Wintab

When lifting the pen away from the tablet area, the cursor occasionally jumps to the edge of the screen, causing unexpected camera jumps or preventing hotkeys from being used in the 3d view.

The problem only happens with the Wintab api.

Exact steps for others to reproduce the error

  • Set the tablet api to Wintab

  • Start creasing some edges and repeatedly lift and return the pen to the tablet area

cursorjump.mp4

**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.89 **Blender Version** Broken: version: 3.0.0 Beta, branch: master, commit date: 2021-10-28 23:23, hash: `b43077ba3a` Worked: 2.93 **Short description of error** Tablet model: Huion h950p Tablet api: Wintab When lifting the pen away from the tablet area, the cursor occasionally jumps to the edge of the screen, causing unexpected camera jumps or preventing hotkeys from being used in the 3d view. The problem only happens with the Wintab api. **Exact steps for others to reproduce the error** - Set the tablet api to Wintab - Start creasing some edges and repeatedly lift and return the pen to the tablet area [cursorjump.mp4](https://archive.blender.org/developer/F11696266/cursorjump.mp4)
Author

Added subscriber: @Lillya

Added subscriber: @Lillya
Author

This is apparently the same bug from this task https://developer.blender.org/T84855
It was solved for 2.93 but the problem returned.

This is apparently the same bug from this task https://developer.blender.org/T84855 It was solved for 2.93 but the problem returned.
Nicholas Rishel self-assigned this 2021-11-10 20:18:12 +01:00
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Hi @PrototypeNM1 , are you able to reproduce?
Was this issue fixed in 60c0b79256?

Hi @PrototypeNM1 , are you able to reproduce? Was this issue fixed in 60c0b79256?

@PratikPB2123 This is a driver specific issue (not locally reproducible). I don't generally close these until I can verify the issue isn't "the driver's behavior is weird but not invalid".

This wasn't fixed by the fallback. The fallback heuristic compares Wintab button presses to Win32 button presses to see if the two agree. In this case the issue is the cursor moving when the pen leaves, so there isn't a similar "sync point" to check.

@PratikPB2123 This is a driver specific issue (not locally reproducible). I don't generally close these until I can verify the issue isn't "the driver's behavior is weird but not invalid". This wasn't fixed by the fallback. The fallback heuristic compares Wintab button presses to Win32 button presses to see if the two agree. In this case the issue is the cursor moving when the pen leaves, so there isn't a similar "sync point" to check.

Added subscriber: @Aubert

Added subscriber: @Aubert

Same thing happens with my Huion Kamvas 22plus. I’ll try to see if there is a driver update, but I think it already is updated. And it worked fine with Blender 2.93.

Same thing happens with my Huion Kamvas 22plus. I’ll try to see if there is a driver update, but I think it already is updated. And it worked fine with Blender 2.93.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

In #92787#1306902, @PrototypeNM1 wrote:
@PratikPB2123 This is a driver specific issue (not locally reproducible). I don't generally close these until I can verify the issue isn't "the driver's behavior is weird but not invalid".

@PrototypeNM1: So is there anything the #triaging team can do here?

> In #92787#1306902, @PrototypeNM1 wrote: > @PratikPB2123 This is a driver specific issue (not locally reproducible). I don't generally close these until I can verify the issue isn't "the driver's behavior is weird but not invalid". @PrototypeNM1: So is there anything the #triaging team can do here?

@lichtwerk nothing for #triaging to do at the moment.

@lichtwerk nothing for #triaging to do at the moment.

Added subscriber: @sakuramurai

Added subscriber: @sakuramurai

The problem still exists ( Blender 3.1). The keyboard does not work when lifting pen from tablet area ( wintab ). With windows ink there is no such problem, but there is another problem with shift,ctrl,alt pop up, that microsoft does not want to fix. My tablet is huion kamvas 13.

The problem still exists ( Blender 3.1). The keyboard does not work when lifting pen from tablet area ( wintab ). With windows ink there is no such problem, but there is another problem with shift,ctrl,alt pop up, that microsoft does not want to fix. My tablet is huion kamvas 13.

@Lillya @sakuramurai Can you run the current nightly from command line with the argument blender.exe --debug-wintab, recreate the bug, and copy the command line output here, and link the resulting paste to this report?

@Lillya @sakuramurai Can you run the current nightly from command line with the argument `blender.exe --debug-wintab`, recreate the bug, and copy the command line output [here](https://developer.blender.org/paste/edit/form/default/), and link the resulting paste to this report?
Author

@PrototypeNM1 I tested on the build 12217714c7. Here's the output https://developer.blender.org/P2914

@PrototypeNM1 I tested on the build 12217714c717. Here's the output https://developer.blender.org/P2914

@Lillya I don't think this build will fix the issue, but could you try it with the same instructions as before? I noticed something invalid in the logs that should be fixed now. Heads up that if pressure doesn't work it's because it turns off in the case of some failures in this build.

@Lillya I don't think [this build](https://builder.blender.org/download/experimental/blender-3.3.0-alpha+wintab.6abc638a8b90-windows.amd64-release.zip) will fix the issue, but could you try it with the same instructions as before? I noticed something invalid in the logs that should be fixed now. Heads up that if pressure doesn't work it's because it turns off in the case of some failures in this build.
Author
@PrototypeNM1 Here's the new debug https://developer.blender.org/P2926

Added subscriber: @jasonklee

Added subscriber: @jasonklee

Could you try this build, and if things are still broken then same instructions as before for getting the log.

Note for self: this build tests if using PK_CHANGED filters invalid data.

Could you try [this build](https://builder.blender.org/download/experimental/blender-3.3.0-alpha+wintab.2ffd8cfd3a9d-windows.amd64-release.zip), and if things are still broken then same instructions as before for getting the log. Note for self: this build tests if using PK_CHANGED filters invalid data.

Removed subscriber: @jasonklee

Removed subscriber: @jasonklee

@Lillya see above (I accidentally tagged the wrong person. :B )

@Lillya see above (I accidentally tagged the wrong person. :B )
Author

Hi @PrototypeNM1 , The new build still has the same problem unfortunately, here's the debug https://developer.blender.org/P2965

Hi @PrototypeNM1 , The new build still has the same problem unfortunately, here's the debug https://developer.blender.org/P2965
Philipp Oeser removed the
Interest
Platforms, Builds & Tests
label 2023-02-10 08:58:23 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#92787
No description provided.