← All bug reports

FS#2587Draw > Circle > Circle2TP: Escape does not clear indicated point.

Type
Bug
Status
Assigned
Category
QCAD (main)
Severity
Very Low
Priority
Low
Reported version
3.30.1
Operating system
All
Reported
2024-07-18 by CVH
Votes
1

Andrew,

To replicate:
- Start Circle2TP with a few appropriate entities in the drawing
- Indicate 2 entities
- Indicate a point (pos3) => Previews all solutions
- Trigger an escape event
- Move to near another second shape

Before even picking the other second shape ...
... all possible solutions with former pos3 are displayed.
After picking the other entity the solutions 'jump' to solutions with the current position.
The current position will be rather near entity 2 than near the last picked position.
Not critical, just annoyed

Reason:
this.pos3 is not cleared in Circle2TP.State.ChoosingShape2 and Circle2TP.State.ChoosingShape1

It is thus retained after an escape event setting state Circle2TP.State.ChoosingShape2

this.pos1 and this.pos2 are retained too after escape events but serve no further purpose.

Regards
CVH