XP-Pen Right Click Cancel Problem #110357

Closed
opened 2023-07-21 20:33:32 +02:00 by Ajlan Altug · 10 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 4070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 535.98

Blender Version
Broken: version: 3.6.0, branch: blender-v3.6-release, commit date: 2023-06-27 08:08, hash: c7fc78b81ecb

@nicholas_rishel
Please see the attached video for detailed demonstration of the problem. I've had the exact same issue with my old Wacom Tablet before and Wacom support could find no solution except telling me that this has to with how Blender handles tablet input. XP-Pen also got back with almost the same diagnosis.

I am pretty much used to using Right-Click Cancel quite a lot and I do NOT wanna have to give it up as I use Blender with a desktop tablet exclusively.

PS: I tried every possible combination with parameters in both Blender (Preferences / Input / Tablet / tried toggling Wintab or Windows Ink) and on the Driver side as well, to absolutely no avail... {:-(

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 4070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 535.98 **Blender Version** Broken: version: 3.6.0, branch: blender-v3.6-release, commit date: 2023-06-27 08:08, hash: `c7fc78b81ecb` @nicholas_rishel Please see the attached video for detailed demonstration of the problem. I've had the exact same issue with my old Wacom Tablet before and Wacom support could find no solution except telling me that this has to with how Blender handles tablet input. XP-Pen also got back with almost the same diagnosis. I am pretty much used to using Right-Click Cancel quite a lot and I do NOT wanna have to give it up as I use Blender with a desktop tablet exclusively. PS: I tried every possible combination with parameters in both Blender (Preferences / Input / Tablet / tried toggling Wintab or Windows Ink) and on the Driver side as well, to absolutely no avail... {:-(
Ajlan Altug added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2023-07-21 20:33:33 +02:00

Could you try running blender with the --debug-events option?
Optionally, you can use this attached file, just paste it in the directory where Blender is installed, open it and press Enter to start.
It will run Blender with the --debug-events command and generate debug logs which can be attached here.
Replicate the bug once or twice and close Blender.
That way we can better understand what is happening (for example, we can determine if RMB is really being detected).

Could you try running blender with the `--debug-events` option? Optionally, you can use this attached file, just paste it in the directory where Blender is installed, open it and press Enter to start. It will run Blender with the `--debug-events` command and generate debug logs which can be attached here. Replicate the bug once or twice and close Blender. That way we can better understand what is happening (for example, we can determine if RMB is really being detected).
Germano Cavalcante added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-07-22 02:53:06 +02:00
Author

Could you try running blender with the --debug-events option?
Optionally, you can use this attached file, just paste it in the directory where Blender is installed, open it and press Enter to start.
It will run Blender with the --debug-events command and generate debug logs which can be attached here.
Replicate the bug once or twice and close Blender.
That way we can better understand what is happening (for example, we can determine if RMB is really being detected).

Hi Germano;

Thank you so much for your reply. Here are the log files that were saved. I did a heap of right-click cancels so here's hoping they all got registered :)

> Could you try running blender with the `--debug-events` option? > Optionally, you can use this attached file, just paste it in the directory where Blender is installed, open it and press Enter to start. > It will run Blender with the `--debug-events` command and generate debug logs which can be attached here. > Replicate the bug once or twice and close Blender. > That way we can better understand what is happening (for example, we can determine if RMB is really being detected). Hi Germano; Thank you so much for your reply. Here are the log files that were saved. I did a heap of right-click cancels so here's hoping they all got registered :)

This might not be Blender related.

My old Wacom Bamboo, and newer Huion Right-Click cancel as expected in Blender.

However, my old MS Surface does not.

After some experimentation, I notice that my Wacom and Huion both are able to hover Right-Click in the Windows OS, but the Surface pen is not able to. For the Surface to right click in Windows it has to touch the screen with the right click button pressed, and maybe that is why it is not able to Right-Click cancel in Blender.

@ajlanaltug
Are you able to hover Right-Click in the Windows OS, or does the XP-Pen stylus have to touch the tablet for Windows to acknowledge the right click?

This might not be Blender related. My old Wacom Bamboo, and newer Huion Right-Click cancel as expected in Blender. However, my old MS Surface does not. After some experimentation, I notice that my Wacom and Huion both are able to hover Right-Click in the Windows OS, but the Surface pen is not able to. For the Surface to right click in Windows it has to touch the screen with the right click button pressed, and maybe that is why it is not able to Right-Click cancel in Blender. @ajlanaltug Are you able to hover Right-Click in the Windows OS, or does the XP-Pen stylus have to touch the tablet for Windows to acknowledge the right click?
Author

Hi Funty.

Just tested it out, I can hover and right-click with this tablet and actually, this is how I right-click all the time.

I must also note, as I did in the video, that my Wacom Intuos BT M tablet behaved exactly the same way with the latest drivers installed.

Hi Funty. Just tested it out, I can hover and right-click with this tablet and actually, this is how I right-click all the time. I must also note, as I did in the video, that my Wacom Intuos BT M tablet behaved exactly the same way with the latest drivers installed.

I am using the latest drivers for the Wacom and Huion. Intuos is a higher model than a Bamboo, but the XP-Pen Deco is on par with the Huion.
Furthermore, I have a Ugee tablet that has different behavior than the rest of them. In Windows 10 the Ugee will not only not Right-Click cancel, but it also brings up the Right-Click context menu, after it has failed to cancel.

So, from my limited knowledge based on my experience with my tablets, I still say its more likely a tablet behavior. But of course I am not a Blender developer and they may have more esoteric knowledge about this.

I am using the latest drivers for the Wacom and Huion. Intuos is a higher model than a Bamboo, but the XP-Pen Deco is on par with the Huion. Furthermore, I have a Ugee tablet that has different behavior than the rest of them. In Windows 10 the Ugee will not only not Right-Click cancel, but it also brings up the Right-Click context menu, after it has failed to cancel. So, from my limited knowledge based on my experience with my tablets, I still say its more likely a tablet behavior. But of course I am not a Blender developer and they may have more esoteric knowledge about this.
Author

Hi @mano-wii, were you able to take a peek at the files? Any luck?

Hi @mano-wii, were you able to take a peek at the files? Any luck?

Well, the debug file does not show any RMB events.
It's like the button wasn't even touched.
There is only press and release LMB event.

Check if your device comes with tools for mapping keys, and if there is any custom mapping keys for Blender.

Most reports involving tablets/pens show that the problem is not really in Blender. But some setting or drivers version.

See #110072 for example.

Well, the debug file does not show any RMB events. It's like the button wasn't even touched. There is only press and release LMB event. Check if your device comes with tools for mapping keys, and if there is any custom mapping keys for Blender. Most reports involving tablets/pens show that the problem is not really in Blender. But some setting or drivers version. See #110072 for example.
Author

I simply tried everything @mano-wii to absolutely no avail. Like I said before, this is not XP-Pen centric. I experienced the same issue with my old Wacom Intuos BT M tablet, with its latest drivers installed. I had to revert back to old 2011 drivers to fix the problem. I wrote to XP-Pen multiple times this week and so far I haven't gotten any response from those jerk-offs. Might it be that the driver is unable to overlap LMB press and RMB Click you think?

I simply tried everything @mano-wii to absolutely no avail. Like I said before, this is not XP-Pen centric. I experienced the same issue with my old Wacom Intuos BT M tablet, with its latest drivers installed. I had to revert back to old 2011 drivers to fix the problem. I wrote to XP-Pen multiple times this week and so far I haven't gotten any response from those jerk-offs. Might it be that the driver is unable to overlap LMB press and RMB Click you think?
Germano Cavalcante added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-07-26 01:53:18 +02:00
Author

Hi @mano-wii

I finally got a response from XP-Pen support and here's what they had to say:

"Hello, After doing some testing with the tablets that you have it seems like what you want to do with the the pen and the right click cancel operation is not possible.
This is due to the fact that the tablet and pen detect the clicks as independent from each other so when you right click, the left click is released first and then the right click happens as opposed to both at the same time which is what causes the cancel. I apologize since I know this isn't the answer you were looking for"

It seems that they designed the tablet without Blender in mind. And it also seems that they made it so that the button presses are Boolean in nature, whereas only one button press at a time is possible :( Which is, in my book, nothing but farcical >:-(

I wrote to Blender Artists forum to see if this is the general case with XP-Pen products and got a reply from someone telling me that Right-Click Cancel works just fine on his side on his XP-Pen Artist 24 without a hitch, but then he told me that he's using older drivers, just as the case was with my old Wacom Intuos BT. I found and installed those drivers but to no avail :( I mean, this is just sad :(

Anyways, thank you for your time and looking into the matter. The way they approached the matter makes it quite unsolvable although it is my belief that this could have been addressed through a driver tweak :-/

Lotsa cheers;

AJ

Hi @mano-wii I finally got a response from XP-Pen support and here's what they had to say: _"Hello, After doing some testing with the tablets that you have it seems like what you want to do with the the pen and the right click cancel operation is not possible. This is due to the fact that the tablet and pen detect the clicks as independent from each other so when you right click, the left click is released first and then the right click happens as opposed to both at the same time which is what causes the cancel. I apologize since I know this isn't the answer you were looking for"_ It seems that they designed the tablet without Blender in mind. And it also seems that they made it so that the button presses are Boolean in nature, whereas only one button press at a time is possible :( Which is, in my book, nothing but farcical >:-( I wrote to Blender Artists forum to see if this is the general case with XP-Pen products and got a reply from someone telling me that Right-Click Cancel works just fine on his side on his XP-Pen Artist 24 without a hitch, but then he told me that he's using older drivers, just as the case was with my old Wacom Intuos BT. I found and installed those drivers but to no avail :( I mean, this is just sad :( Anyways, thank you for your time and looking into the matter. The way they approached the matter makes it quite unsolvable although it is my belief that this could have been addressed through a driver tweak :-/ Lotsa cheers; AJ
Member

Just tested it out, I can hover and right-click with this tablet and actually, this is how I right-click all the time.
it seems like what you want to do with the the pen and the right click cancel operation is not possible.

Hi, guess we can close the report if root problem is tablet design itself.
Feel free to reopen though if there is misunderstanding :)

> Just tested it out, I can hover and right-click with this tablet and actually, this is how I right-click all the time. > it seems like what you want to do with the the pen and the right click cancel operation is not possible. Hi, guess we can close the report if root problem is tablet design itself. Feel free to reopen though if there is misunderstanding :)
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-07-27 06:50:27 +02: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
4 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#110357
No description provided.