Bug 282916 - Kig should abort a construction when right mouse is pressed
Summary: Kig should abort a construction when right mouse is pressed
Status: RESOLVED FIXED
Alias: None
Product: kig
Classification: Applications
Component: general (other bugs)
Version First Reported In: v1.0
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Pino Toscano
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 16:10 UTC by Ommi
Modified: 2017-10-09 16:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 17.12
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ommi 2011-09-27 16:10:29 UTC
Version:           1.0 (using KDE 4.6.0) 
OS:                Linux

When in the middle of e construction like a line from two points or a triangle from its corner points one can abort the construction only by hitting the red cross in the middle of the task bar (abort construction). This is inconvienient. One should be able to abort a construction by clicking the right mouse button.

Reproducible: Always

Steps to Reproduce:
Start a construction like a line from 2 points. Click for the first point. Now you decide not to construct the line. Click right mouse.

Actual Results:  
The line disappears but reappears as soon as the button is released.

Expected Results:  
The construction of the line is aborted.
Comment 1 David E. Narvaez 2017-10-08 15:36:20 UTC
Git commit 01eb87efb3697529ce2c12ea18a1e673f42b0667 by David E. Narváez.
Committed on 07/10/2017 at 10:10.
Pushed by narvaez into branch 'master'.

Support Canceling a Construction Using Right-Click

Seems sensible since we are not using right-click for anything else
anyhow. I'm not sure why I did not look into this when I first worked in
canceling constructions.

M  +3    -7    modes/construct_mode.cc

https://commits.kde.org/kig/01eb87efb3697529ce2c12ea18a1e673f42b0667
Comment 2 David E. Narvaez 2017-10-09 16:32:20 UTC
Git commit 27ac86d299d73dd1ae92d6b9f7c819515d6d6082 by David E. Narváez.
Committed on 09/10/2017 at 10:19.
Pushed by narvaez into branch 'master'.

Cancel Point Construction with Right-Click

This should have been part of 01eb87, but I guess the real thing to
evaluate is why doesn't PointConstructMode inherit BaseConstructMode.

M  +1    -1    modes/construct_mode.cc

https://commits.kde.org/kig/27ac86d299d73dd1ae92d6b9f7c819515d6d6082