https://bugs.kde.org/show_bug.cgi?id=363443
Bug ID: 363443 Summary: Pen pressure not recognised on UGEE 19" Tablet Monitor Product: krita Version: 3.0 Release Candidate Platform: Mint (Ubuntu based) OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: tablet support Assignee: krita-bugs-n...@kde.org Reporter: j...@oss-ltd.com This is almost identical to a previous bug detailing the situation for a UC-LOGIC tablet (https://bugs.kde.org/show_bug.cgi?id=359642). I believe that UGEE tablets are rebranded UC-LOGIC devices. As with the previous bug report, this problem is only showing up with the latest version of Krita, however, I did have to patch the previous version to get it to recognise the pen pressure. This was achieved by adding a check for WizardPenTablet to the file kis_tablet_support_x11.cpp. The only issue I can find is that the new appimage does not recognise pen pressure. I've tried adding the same fix to the kis_tablet_support_x11.cpp, but it's not working. I noticed in a recent update to the code that there is a block in qxcbconnection_xi2.cpp: ... dbgType = QLatin1String("pen"); } else if (name.contains("uc-logic") && isTablet) { isTablet = true; tabletData.pointerType = QTabletEvent::Pen; dbgType = QLatin1String("pen"); } else { ... I think the isTablet = true is redundant because isTablet is checked as part of the if. I think that my tablet is only meeting the first part of this test because it is not recognised as "isTablet" from the earlier tests for AbsX, etc. Reproducible: Always Steps to Reproduce: 1. Create a new file in Krita 2. Choose any pen with pressure sensitivity (eg. the basic soft tip) 3. Draw. Actual Results: A solid, 100% opaque line is drawn. Expected Results: Varying opacity with pressure. I have attached the output from the following command in order to (hopefully) help: QT_LOGGING_RULES='qt.qpa.input.devices.debug=true' ./krita-3.0-RC-1-master-6f75b0f-x86_64.appimage QCoreApplication::arguments: Please instantiate the QApplication object first krita.lib.pigment: Compiled for arch: ::Vc::AVXImpl krita.lib.pigment: Features supported: krita.lib.pigment: "SSE2" --- yes krita.lib.pigment: "SSSE3" --- yes krita.lib.pigment: "SSE4.1" --- yes krita.lib.pigment: "AVX " --- yes qt.qpa.input.devices: XInput version 2.2 is available and Qt supports 2.2 or greater qt.qpa.input.devices: input device Virtual core XTEST pointer qt.qpa.input.devices: has 10 buttons qt.qpa.input.devices: has valuator "Rel X" recognized? true qt.qpa.input.devices: has valuator "Rel Y" recognized? true qt.qpa.input.devices: it's a scrolling device qt.qpa.input.devices: input device UC-Logic 19" Tablet Monito qt.qpa.input.devices: has 6 buttons qt.qpa.input.devices: has valuator "" recognized? false qt.qpa.input.devices: has valuator "" recognized? false qt.qpa.input.devices: has valuator "" recognized? false qt.qpa.input.devices: it's a scrolling device qt.qpa.input.devices: input device UC-Logic 19" Tablet Monito qt.qpa.input.devices: has 13 buttons qt.qpa.input.devices: has valuator "Rel X" recognized? true qt.qpa.input.devices: has valuator "Rel Y" recognized? true qt.qpa.input.devices: has valuator "Rel Horiz Wheel" recognized? true qt.qpa.input.devices: has valuator "Rel Vert Wheel" recognized? true qt.qpa.input.devices: it's a scrolling device qt.qpa.input.devices: input device Logitech USB Receiver qt.qpa.input.devices: has 24 buttons qt.qpa.input.devices: has valuator "Rel X" recognized? true qt.qpa.input.devices: has valuator "Rel Y" recognized? true qt.qpa.input.devices: has valuator "Rel Horiz Wheel" recognized? true qt.qpa.input.devices: has valuator "Rel Vert Wheel" recognized? true qt.qpa.input.devices: it's a scrolling device qt.qpa.input.devices: input device Logitech USB Receiver qt.qpa.input.devices: has 7 buttons qt.qpa.input.devices: it's a keyboard qt.qpa.input.devices: has valuator "Rel X" recognized? true qt.qpa.input.devices: has valuator "Rel Y" recognized? true qt.qpa.input.devices: has valuator "Rel Horiz Wheel" recognized? true qt.qpa.input.devices: it's a scrolling device qt.qpa.input.devices: input device ETPS/2 Elantech Touchpad qt.qpa.input.devices: has 12 buttons qt.qpa.input.devices: has valuator "Rel X" recognized? true qt.qpa.input.devices: has valuator "Rel Y" recognized? true qt.qpa.input.devices: has valuator "Rel Horiz Scroll" recognized? true qt.qpa.input.devices: has valuator "Rel Vert Scroll" recognized? true qt.qpa.input.devices: it's a scrolling device qt.qpa.input.devices: has touch class with mode 2 qt.qpa.input.devices: it's a touchpad with type 1 capabilities 0x40 max touch points 2 size 3260000.000000 x 1630000.000000 Set style "Fusion" OpenGL Info Vendor: ATI Technologies Inc. Renderer: AMD Radeon HD 7400M Series Version: 3.2.13399 Compatibility Profile Context 15.20.1013 Shading language: 4.40 Requested format: QSurfaceFormat(version 3.2, options QFlags(0x4), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 0, profile 2) Current format: QSurfaceFormat(version 3.2, options QFlags(0x4), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 0, profile 2) GL Version: 302 0 2 krita has opengl true Setting XDG_DATA_DIRS "/tmp/.mount_xHZFeE/usr/bin/../share:./share/:/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/" Available translations QSet("bg", "hne", "se", "fr", "uz@cyrillic", "oc", "sk", "sl", "fy", "br", "bs", "sq", "sv", "ga", "kk", "pt_BR", "km", "ko", "en_GB", "ca", "ta", "xh", "zh_CN", "gl", "tg", "th", "pa", "zh_TW", "ca@valencia", "cs", "tr", "pl", "cy", "he", "pt", "da", "hi", "de", "lt", "lv", "ug", "hr", "uk", "hu", "ia", "mk", "en_US", "uz", "mai", "mr", "ms", "is", "el", "vi", "it", "af", "nds", "eo", "nb", "es", "et", "eu", "ne", "ro", "ja", "ar", "nl", "ru", "nn", "fa", "wa", "ast", "fi", "be") Available domain translations QSet("bg", "hne", "se", "fr", "uz@cyrillic", "oc", "sk", "sl", "fy", "br", "bs", "sq", "sv", "ga", "kk", "pt_BR", "km", "ko", "en_GB", "ca", "ta", "xh", "zh_CN", "gl", "tg", "th", "pa", "zh_TW", "ca@valencia", "cs", "tr", "pl", "cy", "he", "pt", "da", "hi", "de", "lt", "lv", "ug", "hr", "uk", "hu", "ia", "mk", "en_US", "uz", "mai", "mr", "ms", "is", "el", "vi", "it", "af", "nds", "eo", "nb", "es", "et", "eu", "ne", "ro", "ja", "ar", "nl", "ru", "nn", "fa", "wa", "ast", "fi", "be") QCommandLineParser: option not defined: "profile-filename" qt.qpa.input.devices: XInput version 2.2 is available and Qt supports 2.2 or greater qt.qpa.input.devices: input device Virtual core XTEST pointer qt.qpa.input.devices: has 10 buttons qt.qpa.input.devices: has valuator "Rel X" recognized? true qt.qpa.input.devices: has valuator "Rel Y" recognized? true qt.qpa.input.devices: it's a scrolling device qt.qpa.input.devices: input device UC-Logic 19" Tablet Monito qt.qpa.input.devices: has 6 buttons qt.qpa.input.devices: has valuator "" recognized? false qt.qpa.input.devices: has valuator "" recognized? false qt.qpa.input.devices: has valuator "" recognized? false qt.qpa.input.devices: it's a scrolling device qt.qpa.input.devices: input device UC-Logic 19" Tablet Monito qt.qpa.input.devices: has 13 buttons qt.qpa.input.devices: has valuator "Rel X" recognized? true qt.qpa.input.devices: has valuator "Rel Y" recognized? true qt.qpa.input.devices: has valuator "Rel Horiz Wheel" recognized? true qt.qpa.input.devices: has valuator "Rel Vert Wheel" recognized? true qt.qpa.input.devices: it's a scrolling device qt.qpa.input.devices: input device Logitech USB Receiver qt.qpa.input.devices: has 24 buttons qt.qpa.input.devices: has valuator "Rel X" recognized? true qt.qpa.input.devices: has valuator "Rel Y" recognized? true qt.qpa.input.devices: has valuator "Rel Horiz Wheel" recognized? true qt.qpa.input.devices: has valuator "Rel Vert Wheel" recognized? true qt.qpa.input.devices: it's a scrolling device qt.qpa.input.devices: input device Logitech USB Receiver qt.qpa.input.devices: has 7 buttons qt.qpa.input.devices: it's a keyboard qt.qpa.input.devices: has valuator "Rel X" recognized? true qt.qpa.input.devices: has valuator "Rel Y" recognized? true qt.qpa.input.devices: has valuator "Rel Horiz Wheel" recognized? true qt.qpa.input.devices: it's a scrolling device qt.qpa.input.devices: input device ETPS/2 Elantech Touchpad qt.qpa.input.devices: has 12 buttons qt.qpa.input.devices: has valuator "Rel X" recognized? true qt.qpa.input.devices: has valuator "Rel Y" recognized? true qt.qpa.input.devices: has valuator "Rel Horiz Scroll" recognized? true qt.qpa.input.devices: has valuator "Rel Vert Scroll" recognized? true qt.qpa.input.devices: it's a scrolling device qt.qpa.input.devices: has touch class with mode 2 qt.qpa.input.devices: it's a touchpad with type 1 capabilities 0x0 max touch points 2 size inf x inf KoJsonTrader will load its plugins from "/tmp/.mount_xHZFeE/usr/lib/kritaplugins" falling back on QIcon::FromTheme: "document-properties" libpng warning: iCCP: too many profiles libpng warning: iCCP: too many profiles libpng warning: iCCP: too many profiles libpng warning: iCCP: too many profiles KoJsonTrader will load its plugins from "/tmp/.mount_xHZFeE/usr/lib/kritaplugins" initTemplates(); "templates/" GL Version: 302 0 2 libpng warning: iCCP: too many profiles krita.lib.flake: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+[" krita.lib.flake: "InteractionTool" : action "object_order_raise" conflicts with canvas action "rotate_canvas_right" shortcut: "Ctrl+]" krita.lib.flake: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+[" krita.lib.flake: "InteractionTool" : action "object_order_raise" conflicts with canvas action "rotate_canvas_right" shortcut: "Ctrl+]" glVersion -- You are receiving this mail because: You are watching all bug changes.