Bug 297470

Summary: Direct manipulation of Bézier curves doesn't always work
Product: [Applications] karbon Reporter: Antoine <alecail>
Component: usabilityAssignee: Jan Hambrecht <jaham>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Karbon displaying a rubberband when I shoud not

Description Antoine 2012-04-04 13:56:33 UTC
Created attachment 70147 [details]
Karbon displaying a rubberband when I shoud not

This is not easy to reproduce, but here is how I generally observe this behaviour:

Create a closed Bézier curve with 6 points.
Play with the location of control points and with the handles a little.
Manipulate the curve directly: click and drag on the curve.

Instead of a modification of the curve, you sometimes have a blue rubberand; therefore you're unable to modify the curve. The situation sometimes comes back to normal after one click. This is unpredictable.

There should be a visual indication that a drag from this point with allow a direct modification of the curve.
Comment 1 Jan Hambrecht 2012-06-02 13:01:22 UTC
Git commit 20b1d819faa126a05b85e6b394a26bdbc901ce75 by Jan Hambrecht.
Committed on 02/06/2012 at 14:59.
Pushed by jaham into branch 'master'.

improve visual feedback when dragging path curve

when changing a path curve directly by dragging it,
there was no real feedback for the user to see if
starting to drag would change the curve or doing a
rubberbanbd selection. now the cursor is being updated
to reflect if the mouse is onb a path segment. additionally
a status text is shown in the status bar.
i also refactored the corresponding code a little to reuse
the result of the path segment under the mouse cursor.

M  +59   -76   libs/flake/tools/KoPathTool.cpp
M  +7    -6    libs/flake/tools/KoPathTool.h

http://commits.kde.org/calligra/20b1d819faa126a05b85e6b394a26bdbc901ce75
Comment 2 Antoine 2012-08-19 14:20:20 UTC
The visual feedback  has been improved, but curves still can not be edited from any points on the curve. 

I could not find a way to reproduce this problem reliably, but basically when I create a random curve and begin playing with it, it always happens.