Do not enter Qt's tablet event loop after seeing a tablet event.
We are not bad for eating tablet events! Stand proud, believe in ourselves.
dkazakov | |
rempt |
Do not enter Qt's tablet event loop after seeing a tablet event.
We are not bad for eating tablet events! Stand proud, believe in ourselves.
Lint Skipped |
Unit Tests Skipped |
Hehe, sounds good! For the comment "Check if this is still the case in Qt5" you should check if clicking with any tablet buttons on the Right-click popup widget doesn't paint anything on a canvas.
I wiped out the WM_ACTIVATE code and didn't see any drawing when opening and closing the popup palette with the side button on my tablet.
Hi, Michael!
Could you also check the popup of the Advanced Color Selector docker (it should be activated in its settings manually, it shows up either on hover or on click). The tablet should be able to close it on click correctly and not paint anything on the canvas. If it works fine I'm ok with pushing this patch into frameworks :)
Yes, the color selection options dialog is capturing all tablet input - nothing gets sent to the canvas even if you try to draw on it.
Can we push this for now? I'm sure we'll be revisiting tablet support in the future, but I'd like to get ahead now.
It needs to be changed, it generates a segfault when moving from the canvas to the UI and back.
I'm going to try and look at the input manager and tablet patches today, but I'm confused which ones I should apply...