https://bugs.kde.org/show_bug.cgi?id=410723

--- Comment #15 from independent-squirrel 
<bm-2cvrl7bnxuqqsfvg4jigmkmmnzafzgp...@bitmessage.ch> ---
bug report log (debugging)

AnnotatorEngine::decodeEvent for tabletEvents is called when
  - using mouse
  - using finger
  - using pen
AnnotatorEngine::decodeEvent for mouseEvents
  - using pen

Assumption: Calling both mouse end tablet event decode causes the double point
bug resulting in fuzzy drawings
Test: comment out decodeEvent for tablet events
Expected Result: Smooth paths when using pen
Implementation: added lines to PageViewAnnotator::routeTabletEvent: 
```
// primitive always ignore in hopes to fix bug 410723
e->ignore();
return QRect();
```
Result: smooth paths when using pen

Assumption: the caller of PageViewAnnotator::routeTabletEvent could prevent the
duplicate points
Result: the caller PageView::tabletEvent is logically solid, the problem must
lei somewhere else

Assumption: the caller of PageView::tabletEvent could prevent the duplicate
points
Result: could not locate the caller.



Conclusion: I couldn't fix the bug properly but the described workaround works
for me...
For those wo cannot wait for the fix I suggest compiling the project yourself
its very easy:
$ git clone https://invent.kde.org/kde/okular.git
$ cd okular
$ cmake .
$ make -j # '-j' will use a lot of cpu power but is faster
$ sudo make install

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to