Bug 330172 - Using the stylus eraser after using space-bar panning causes the brush size selection to get disabled
Summary: Using the stylus eraser after using space-bar panning causes the brush size s...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.8 Beta
Platform: Microsoft Windows Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: release_blocker
Depends on:
Blocks:
 
Reported: 2014-01-19 22:20 UTC by Eiko Yumi
Modified: 2014-02-04 08:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eiko Yumi 2014-01-19 22:20:07 UTC
Many users find convenient to flip the tablet stylus pen and use the eraser to erase portion of a drawing. As of the latest build of krita, however (2.7.9.5 Win64), using the eraser causes the brush size selection to get locked/disabled (the setting in the toolbar becomes gray and unselectable) under certain conditions.

One of these is that as soon as the spacebar canvas panning is used (default key: spacebar), flipping the pen and using the eraser causes the brush size selection to get disabled as soon as the tip end of the pen is used again.

So far I haven't been able to easily reproduce this bug without using the spacebar canvas panning function first.

Reproducible: Always

Steps to Reproduce:
1. Create a new image 
2. Paint something
3. Press spacebar to pan the canvas at least once
4. Lift the pen, give proximity to the eraser end of the stylus
5. Hover the pen/erase something
6. Lift the pen, give proximity to the stylus' tip end
Actual Results:  
The brush size becomes locked to the brush preset's default setting, no matter the preset selected.

Expected Results:  
Brush size should never get locked.

Restarting Krita or reloading the current image gets around this problem.
Comment 1 Eiko Yumi 2014-01-19 22:25:15 UTC
Using the spacebar panning function when the eraser has proximity causes the brush size to get locked in eraser mode too, once it regains proximity after the pen has been flipped.
Comment 2 Halla Rempt 2014-01-23 18:38:26 UTC
I think that this is the same issue as 326441

*** This bug has been marked as a duplicate of bug 326441 ***
Comment 3 Halla Rempt 2014-01-28 19:24:38 UTC
No, I was definitely wrong there.
Comment 4 Dmitry Kazakov 2014-02-02 15:28:42 UTC
Git commit a693d6ebff94574cb69744ad4815378e30571779 by Dmitry Kazakov.
Committed on 02/02/2014 at 15:28.
Pushed by dkazakov into branch 'master'.

Disable Calligra-wide global Esc and Space shortcuts

We don't need it since we use a different shortcut handling.

M  +10   -0    krita/ui/canvas/kis_canvas_controller.cpp
M  +1    -0    krita/ui/canvas/kis_canvas_controller.h

http://commits.kde.org/calligra/a693d6ebff94574cb69744ad4815378e30571779
Comment 5 Dmitry Kazakov 2014-02-04 08:27:25 UTC
Git commit 6728a561b66798e5c351517965e085bf7f683bad by Dmitry Kazakov.
Committed on 02/02/2014 at 15:28.
Pushed by dkazakov into branch 'calligra/2.8'.

Disable Calligra-wide global Esc and Space shortcuts

We don't need it since we use a different shortcut handling.

M  +10   -0    krita/ui/canvas/kis_canvas_controller.cpp
M  +1    -0    krita/ui/canvas/kis_canvas_controller.h

http://commits.kde.org/calligra/6728a561b66798e5c351517965e085bf7f683bad