Bug 330165 - Double clicking the up/down buttons of Opacity/Size/Flow with a tablet causes them to reset to their maximum
Summary: Double clicking the up/down buttons of Opacity/Size/Flow with a tablet causes...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.8 Beta
Platform: Compiled Sources All
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-19 16:36 UTC by Eiko Yumi
Modified: 2014-03-26 11:39 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 16:36:14 UTC
On Krita 2.7.8.5 x64, Windows 8 64bit, when using a pen tablet to alter the opacity, flow or brush size settings on the toolbar by _double clicking_ their built-in up/down buttons, their values get reset to their maximum.

This does not happen when using a mouse; with this, however, double clicking only causes opacity/flow/size to change by one tick, not two.

Clicking the up/down buttons slowly (therefore, by _not triggering a double click_) makes them to correctly work with both a pen tablet and a mouse.

Click-dragging the opacity/flow/size controls directly seems to work correctly with both a pen tablet and a mouse.

Ideally, there should not be a difference between single and double click events on these controls.

Reproducible: Always
Comment 1 Dmitry Kazakov 2014-01-28 06:23:31 UTC
Yes, the same bug is present on Linux :(
Comment 2 Dmitry Kazakov 2014-03-26 08:28:40 UTC
That happens when one does Double Click + Drag. Probably, mouseButtonDown does something weirdly :)
Comment 3 Dmitry Kazakov 2014-03-26 08:44:10 UTC
Git commit fb2facd5a2c282fe347769bf49e88bf62de44396 by Dmitry Kazakov.
Committed on 26/03/2014 at 08:44.
Pushed by dkazakov into branch 'master'.

Fix resetting the slider spinbox when double clicking on it

Double Click event must also generate a usual press event

M  +0    -5    krita/ui/widgets/kis_slider_spin_box.cpp
M  +0    -1    krita/ui/widgets/kis_slider_spin_box.h

http://commits.kde.org/calligra/fb2facd5a2c282fe347769bf49e88bf62de44396
Comment 4 Dmitry Kazakov 2014-03-26 11:39:36 UTC
Git commit 13c23792d135a97575a090ead32c2d5780087d73 by Dmitry Kazakov.
Committed on 26/03/2014 at 08:44.
Pushed by dkazakov into branch 'calligra/2.8'.

Fix resetting the slider spinbox when double clicking on it

Double Click event must also generate a usual press event

M  +0    -5    krita/ui/widgets/kis_slider_spin_box.cpp
M  +0    -1    krita/ui/widgets/kis_slider_spin_box.h

http://commits.kde.org/calligra/13c23792d135a97575a090ead32c2d5780087d73