Bug 405823 - Cursor offset on Cintiq 16 (only on canvas)
Summary: Cursor offset on Cintiq 16 (only on canvas)
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Tablets (tablet issues are only very rarely bugs in Krita!) (show other bugs)
Version: 4.1.7
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-24 18:35 UTC by Heston
Modified: 2019-03-29 23:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Visual output of Krita tablet tester utility (140.93 KB, image/png)
2019-03-24 18:35 UTC, Heston
Details
Dxdiag output with display driver info (31.33 KB, text/plain)
2019-03-24 18:51 UTC, Heston
Details
DebugView output (19.21 KB, text/plain)
2019-03-24 18:53 UTC, Heston
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heston 2019-03-24 18:35:24 UTC
Created attachment 119003 [details]
Visual output of Krita tablet tester utility

SUMMARY
Tools on canvas are offset 20 pixels to the left of cursor position when using Wacom Cintiq 16.  Cursor reticle/crosshair displays in correct position, but tool /brush tips are offset on canvas.

Krita works perfectly on same machine when using Wacom Intuos 4 with a standard monitor.  The brush offset bug is not exhibited.  When both tablets are connected, Krita window can be dragged from montior to Cintiq.  Brush offset problem consistently exhibited on Cintiq, but not on standard monitor + Intuos input.

When cursor movement is sourced from the mouse, tool/brush tips align with cursor, even when displayed on Cintiq.

Not a driver/calibration issue:
-All other software working perfectly (GIMP, Photoshop, etc.) with Cintiq on same setup.
-Cursor tracks perfectly within Krita outside of canvas (i.e. menus, toolbars, etc.).  Only the tool/brush tips on the Krita canvas are offset. (see attached PNG)
-All other tablet functions working perfectly in Krita (pressure, tilt, pen buttons, etc).
-Re-calibrating in Wacom driver has no effect on bug.
-Multiple Wacom pens tested.  Same result on all.

A config work-around would be a sufficient temporary solution (e.g. Setting a manual offset to brush tips / tools).

STEPS TO REPRODUCE
1. Install latest Krita.
2. Install latest Wacom Cintiq 16 + drivers.  Calibrate drivers normally.
3. Launch Krita.  Display app window on Cintiq.  Attempt to use normally with Cintiq pen.

OBSERVED RESULT
Brush/tool tips are offset ~20 pixels to the left of cursor on the Krita canvas.
Please see attached PNG (output from tablet tester utility).

EXPECTED RESULT
Brush/tool tips aligned perfectly with cursor on Krita canvas.

SOFTWARE/OS VERSIONS
Krita
  Version: 4.1.7

Qt
  Version (compiled): 5.9.3
  Version (loaded): 5.9.3

OS Information
  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 6.1.7601
  Pretty Productname: Windows 7 SP 1 (6.1)
  Product Type: windows
  Product Version: 7sp1

OpenGL Info
  **OpenGL not initialized**

ADDITIONAL INFORMATION
Wacom Cintiq 16 DTK-1660/K0-AX
Wacom Driver version: 6.3.33-3 (latest at time of writing)
Comment 1 Heston 2019-03-24 18:51:52 UTC
Created attachment 119006 [details]
Dxdiag output with display driver info

Display driver info from Dxdiag.exe
Comment 2 Heston 2019-03-24 18:53:52 UTC
Created attachment 119007 [details]
DebugView output

DebugView output recording the following actions:
1. Start DebugView, start recording.
2. Launch krita.
3. Drag Krita to 3rd monitor (Wacom Cintiq 16).
4. Create new blank document.
5. With brush tool selected, draw one single long stroke on canvas.
6. Stop recording, export log.
Comment 3 Heston 2019-03-24 18:54:35 UTC
Supplemental info:

Windows ink: disabled
Windows Tablet PC Input Service: disabled
Desktop scaling (or anything similar): disabled
Comment 4 Heston 2019-03-24 18:58:38 UTC
"-Multiple Wacom pens tested.  Same result on all."

What I mean here is that I tested multiple pens on the Cintiq.  Same problem for all.

But when using a different tablet on same setup (I.e. Intuos 4) offset goes away and everything performs perfectly.
Comment 5 Heston 2019-03-29 23:16:05 UTC
<PLEASE SEE SUGGESTION BELOW>
This bug was due to multiple mixed-resolution monitor setup in windows.  Steps outlined in FAQ* + trial and error yield a hacked solution, however application must be re-launched and offsets manually adjusted every time switching monitors.

*Shift+click on new session to access the secret "Choose screen resolution" dialogue box, where tablet offsets can be manually adjusted.

SUGGESTION:
1.  Have the tablet offsets discoverable in settings menu.
2.  Make it possible to access tablet offsets during a session (rather than only on launch).  This could allow dragging application window to another monitor and continued use without having to re-launch app to change tablet offsets.