Bug 343774

Summary: Wish: Eraser tool for presentation mode
Product: [Applications] okular Reporter: Oliver Sander <oliver.sander>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: aacid
Priority: NOR    
Version: 0.21.60   
Target Milestone: ---   
Platform: Compiled Sources   
OS: All   
Latest Commit: Version Fixed In:

Description Oliver Sander 2015-02-04 15:13:32 UTC
When viewing pdf files in presentation mode, okular allows to do freehand-drawing on the slides.  This is quite useful to make lectures and presentations a bit more lively.  However, the only way (apparently) to delete the drawings is to delete the entire drawing for a slide (by hitting the button right next to the draw tool).  Hence, any small mistake I make while drawing forces me to start from scratch.  It would be helpful to have an additional "eraser" tool that allows to delete parts of the drawing selectively with the pen, just like a real-world eraser.

I don't have the time/skills to implement this myself, but am I willing to donate a reasonable amount of money, chocolate or beer to anybody who implements this.

Reproducible: Always
Comment 1 Albert Astals Cid 2015-02-04 20:57:44 UTC
Makes sense, Peter Grasch started implementing something similar a while ago but never finished, there's still some code in reviewboard if somebody wants to give it a try.
Comment 2 Christoph Feck 2015-02-04 22:03:29 UTC
(... at https://git.reviewboard.kde.org/r/109632/ )
Comment 3 Oliver Sander 2015-02-05 05:19:55 UTC
The discussion at reviewboard ended with "let's wait till the undo/redo stuff is merged".  AFAIK that has been merged a while ago, right?
Comment 4 Albert Astals Cid 2015-02-05 18:53:15 UTC
Yeah, changes were needed after undo/redo landed, noone could find time for them
Comment 5 Oliver Sander 2015-09-17 04:56:01 UTC
commit b44d70a6f2d7ab1b508c203764be4170567a4d83
Author: Tobias Koenig <tobias.koenig@kdab.com>
Date:   Mon Aug 10 13:05:12 2015 +0200

    Implement eraser tool for presentation view
    
    Extend the drawing tool section in top bar with an eraser tool,
    which removes parts of the lines that have been drawn before.
    
    FEATURE: 343774
    REVIEW: 124689