Skip to content

Issue #7715: Close path with single click in Design Mode

Alx Sa requested to merge alxsa-path-tool-interaction-change into master

This patch attempts to resolve issue #7715.

The Path tool has three modes - Design, Edit, and Move. You can create paths in Design, but only join them in Edit. This means in order to close a path, you must hold Ctrl and click the start node to complete the path. @prokoudine's research shows this is "default behavior" in comparable applications - you normally just click the start node to complete without having to hold down a key.

This patch attempts to resolve the issue by adding the Join code to the design mode conditions. A video of the new interaction is shown below:

GIMP_Path_Tool_Change

As this is an interaction change, feedback and descriptions of use cases (especially where you'd want to move the start node instead of connect it) would be much appreciated!

Edit: While working with the Interactive Scissors tool in !959, I noticed that it also behaves this way - you click the start node to close the path rather than holding down a key. I don't know if both tools should have this same behavior, but I thought it was good to note it.

Edited by Alx Sa

Merge request reports

Loading