Bug 411855

Summary: Need to click twice to select vector points with 'Edit Shapes Tool'.
Product: [Applications] krita Reporter: acc4commissions
Component: Tools/VectorAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: ghevan, rojasreinold
Priority: NOR    
Version: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description acc4commissions 2019-09-12 12:22:17 UTC
SUMMARY
git 535ca1f

STEPS TO REPRODUCE
1. Draw a vector Shape.
2. Select 'Edit Shapes Tool', and try to select any shape or any point of it.

OBSERVED RESULT
Need to click twice to select.

EXPECTED RESULT
1 click shoule be enough.

SOFTWARE/OS VERSIONS
Windows: Win7
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 vanyossi 2019-09-12 22:07:29 UTC
I can confirm this bug. Once the shape is selected and shows the nodes. The first click does not alter the shape despite clicking the highlighted node (the node turns red indicating it can be edited). Attempting the same operation a second time works as expected.
Comment 2 acc4commissions 2019-09-13 04:14:10 UTC
And sometimes it takes 2 clicks to select the shape itself. Not always though...
Comment 3 Reinold Rojas 2024-11-21 03:27:21 UTC
Reconfirming this bug for Krita 5.2.6

STEPS TO REPRODUCE
1. Select Calligraphy Tool
2. Draw a shape
3. Select "Edit Shapes tool"
4. Click on Shape (observe nodes now appear)
5. Click on Node and drag

OBSERVED RESULT
Node does not move (and shape does not change). Requires clicking again on the same node twice before an action can take place

EXPECTED RESULT
First click on node should allow it be editable
Comment 4 Dmitry Kazakov 2024-12-13 13:46:48 UTC
Git commit 2b7df579d9efad5142b5361adc9721610138a3aa by Dmitry Kazakov.
Committed on 13/12/2024 at 13:46.
Pushed by dkazakov into branch 'master'.

Remove ignoring of the mouse events in KoPathTool

When we ignore the pointer press event, KisToolProxy does not
emit the corresponding release event. Which breaks the state automata
in KoToolProxy. So we should not do that, since this event will not be
delivered anywhere else anyway.

M  +7    -8    libs/flake/tools/KoPathTool.cpp

https://invent.kde.org/graphics/krita/-/commit/2b7df579d9efad5142b5361adc9721610138a3aa
Comment 5 Dmitry Kazakov 2024-12-13 13:47:30 UTC
Git commit 7f77a88a8c6b86e9b6c4a2557c38ee685967e2ee by Dmitry Kazakov.
Committed on 13/12/2024 at 13:47.
Pushed by dkazakov into branch 'krita/5.2'.

Remove ignoring of the mouse events in KoPathTool

When we ignore the pointer press event, KisToolProxy does not
emit the corresponding release event. Which breaks the state automata
in KoToolProxy. So we should not do that, since this event will not be
delivered anywhere else anyway.

M  +7    -8    libs/flake/tools/KoPathTool.cpp

https://invent.kde.org/graphics/krita/-/commit/7f77a88a8c6b86e9b6c4a2557c38ee685967e2ee