<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>330172</bug_id>
          
          <creation_ts>2014-01-19 22:20:07 +0000</creation_ts>
          <short_desc>Using the stylus eraser after using space-bar panning causes the brush size selection to get disabled</short_desc>
          <delta_ts>2014-02-04 08:27:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krita</product>
          <component>General</component>
          <version>2.8 Beta</version>
          <rep_platform>Microsoft Windows</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>release_blocker</keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eiko Yumi">esdouzewa</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>halla</cc>
          
          <cf_commitlink>http://commits.kde.org/calligra/6728a561b66798e5c351517965e085bf7f683bad</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1425782</commentid>
    <comment_count>0</comment_count>
    <who name="Eiko Yumi">esdouzewa</who>
    <bug_when>2014-01-19 22:20:07 +0000</bug_when>
    <thetext>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&apos;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&apos; tip end
Actual Results:  
The brush size becomes locked to the brush preset&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1425784</commentid>
    <comment_count>1</comment_count>
    <who name="Eiko Yumi">esdouzewa</who>
    <bug_when>2014-01-19 22:25:15 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1426518</commentid>
    <comment_count>2</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2014-01-23 18:38:26 +0000</bug_when>
    <thetext>I think that this is the same issue as 326441

*** This bug has been marked as a duplicate of bug 326441 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1427513</commentid>
    <comment_count>3</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2014-01-28 19:24:38 +0000</bug_when>
    <thetext>No, I was definitely wrong there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1428325</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2014-02-02 15:28:42 +0000</bug_when>
    <thetext>Git commit a693d6ebff94574cb69744ad4815378e30571779 by Dmitry Kazakov.
Committed on 02/02/2014 at 15:28.
Pushed by dkazakov into branch &apos;master&apos;.

Disable Calligra-wide global Esc and Space shortcuts

We don&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1428625</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2014-02-04 08:27:25 +0000</bug_when>
    <thetext>Git commit 6728a561b66798e5c351517965e085bf7f683bad by Dmitry Kazakov.
Committed on 02/02/2014 at 15:28.
Pushed by dkazakov into branch &apos;calligra/2.8&apos;.

Disable Calligra-wide global Esc and Space shortcuts

We don&apos;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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>