jakeday / linux-surface

Linux Kernel for Surface Devices
2.59k stars 243 forks source link

Compatibility with Krita. #317

Open Rodgers13 opened 5 years ago

Rodgers13 commented 5 years ago

Hi i really dont know if this belongs here but you folks seem very clever with getting things running proper with the Surface pro 3. I am having an issue with a program called Krita. When doing nothing but drawing lines on a canvas the program crashes and gives me this is the terminal.

WARNING: Tracked tablet buttons are not consistent!
         tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
         expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
         tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
         expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
         tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
         expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
         tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
         expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
         tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
         expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
         tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
         expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
===
WARNING: Tracked tablet buttons are not consistent!
         tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
         expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)
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+]"
krita.lib.flake: "InteractionTool" : action "object_order_lower" conflicts with canvas action "rotate_canvas_left" shortcut: "Ctrl+["
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
===
WARNING: Tracked tablet buttons are not consistent!
         tabletData->buttons = QFlags<Qt::MouseButtons>(NoButton)
         expectedButtons = QFlags<Qt::MouseButtons>(LeftButton)

Is there some configuration for the stylus buttons that im unaware of that might fix this? Thanks.

qzed commented 5 years ago

I think you'll have better luck in the Krita forums, or as this seems to be related to Qt, maybe also the Qt forums.

Edit: Also it does work fine for me (SB2) with Krita version 4.1.7.101. There seems to be an old bug report with the same message (link).

Rodgers13 commented 5 years ago

Thanks qzed. This issue is somewhat solved. I gambled and asked for a new surface pen for a Christmas present. It SEEMS to have been an issue with my pen. New pen SEEMS to have solved the issue. Gotta love that N-trig active stylus.