Tablet device gives as quite a lot of events, which are not needed most of the time. Basically, the only tool that needs them is freehand painting tool.
This compression has been removed from the codebase while porting to Qt5. Now it should be recovered again.
How to test the patch:
- Try to use Shift+Gesture with your tablet. It should not make your computer almost hang-up when reaching the brush size around 100px
- Tablet support should not break in other places: brushes should work fine, including after switching applications, windows or tablet styluses.
The patch is also available in a git branch: kazakov-tablet-compression