Xournalpp: Rubber resets drawing color

Created on 5 May 2020  路  4Comments  路  Source: xournalpp/xournalpp

(Please complete the following information, and then delete this line)

Affects versions :

  • OS: Linux (KDE Neon)
  • X11
  • Which version of libgtk do you use No idea
  • Version of Xournal++: Xournal++ 1.1.0+dev
  • Installation method: PPA

Describe the bug
When having the briwse-tool selected (the one with which I can move the screen) if I activate the rubber (via button on my stylus) the drawing color gets reset to black.

To Reproduce
See description

Expected behavior
The color selected drawing color should not be affected

Input bug papercut medium

All 4 comments

I can confirm the bug and add the following info:

To reproduce the bug:

  1. map the first stylus button to the eraser
  2. select a color different from black in the toolbar
  3. select the hand tool
  4. press and release the first stylus button

Then the pen tool will be selected and the color in the toolbar will be reset to black.
Interestingly, if black is already the selected color, then the hand tool will be selected again, not the pen tool.

I think that regardless of the selected color pressing and releasing the stylus button should bring back the previously chosen tool.

@Krzmbrzl : I think the issue is resolved by my Pull Request #2004

Following the instructions form @rolandlo :

xournalpp-hand-bug

That is the behaviour you would expect right?

_Of course apart from the fact that changing the colour while the handtool is active and the eraser is selected via the button does not have any effect._

Yes that's what I'd expect :+1:
(You linked to an issue instead to your PR though - but the video shows the expected behavior :D )

Great :tada: (and yes the issue was a typo :sweat_smile: ... fixed it)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andrewchenshx picture andrewchenshx  路  3Comments

aureooms picture aureooms  路  5Comments

terencode picture terencode  路  5Comments

coldspark29 picture coldspark29  路  3Comments

andrewchenshx picture andrewchenshx  路  5Comments