Right click to undo last path point.
ClosedPublic

Authored by abrahams on Aug 14 2015, 1:41 AM.

Details

Summary

The path tool and select path tool will install an event filter to inctercept right click events and right double click events.

Diff Detail

Repository
R8 Calligra
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
abrahams updated this revision to Diff 550.Aug 14 2015, 1:41 AM
abrahams retitled this revision from to Right click to undo last path point..
abrahams updated this object.
abrahams edited the test plan for this revision. (Show Details)
abrahams added reviewers: dkazakov, rempt.

The impetus for this was the magnetic lasso tool. It would be straightforward to extend the right click interface to KoCreatePathTool. (Currently KoCreatePathTool maps both right click and shift-click to end the path without connecting last point.)

How about adding this functionality directly to KoCreatePathTool. Then it will have the same functionality in all applications.

abrahams updated this revision to Diff 551.Aug 14 2015, 1:58 PM

Add right click behavior to KoCreatePathTool

In D243#4352, @zachmann wrote:

How about adding this functionality directly to KoCreatePathTool. Then it will have the same functionality in all applications.

Done. Krita still needs a workaround because it doesn't pass right clicks to the tool by default.

rempt accepted this revision.Aug 17 2015, 7:31 AM
rempt edited edge metadata.

I'm happy with this version.

This revision is now accepted and ready to land.Aug 17 2015, 7:31 AM
This revision was automatically updated to reflect the committed changes.