[calligra] krita/ui/tool: end gesture when shift key is released

Boudewijn Rempt boud at valdyas.org
Thu Dec 27 12:16:49 UTC 2012


On Thu, 27 Dec 2012, Sven Langkamp wrote:

> On Mon, Dec 24, 2012 at 7:05 PM, Dmitry Kazakov <dimula73 at gmail.com> wrote:
>> Hi!
>>
>> Didn't it finish the gesture when the mouse button was released? Because I
>> remember I wanted it to allow user to to the following kind of gesture:
>>
>> 1) Press Shift key
>> 2) Start Mouse Drag operation
>> 3) Release Shift key or press *any* other keys --- the dragging will persist
>> till you release the mouse.
>> 4) Release the moube button --- this is the point when the gesture is
>> stopped.
>>
>> I guess, this was quite a convenient approach.
>>
>> This patch breaks this behavior. Could you tell, which bug did you fix?#
>
> I changed that based on feedback from Roey on IRC. He wanted to also
> have the gesture abort when the key is released.
>

Hm... I'm not sure actually that the original behaviour Dmitry implemented 
wasn't exactly what Deevad and Animtim had asked for.

Boudewijn


More information about the kimageshop mailing list