Bug 386536 - Crash on moving the half line of independent points in "absolute value" as locus
Summary: Crash on moving the half line of independent points in "absolute value" as locus
Status: RESOLVED FIXED
Alias: None
Product: kig
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: David E. Narvaez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-04 21:21 UTC by Nora Mastroeni
Modified: 2020-12-20 15:37 UTC (History)
1 user (show)

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


Attachments
screenshot of the final construction (19.26 KB, image/png)
2017-11-04 21:21 UTC, Nora Mastroeni
Details
construction described in report (5.78 KB, application/kig)
2017-11-06 22:42 UTC, Maurizio Paolini
Details
kig file with "cartesian equation" added to the reported construction (6.49 KB, application/kig)
2017-11-06 22:48 UTC, Maurizio Paolini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nora Mastroeni 2017-11-04 21:21:36 UTC
Created attachment 108708 [details]
screenshot of the final construction

1) Draw a horizontal half line.
2) Draw a point P on it (bonded).
3) Make a Python script: select this point P as argument. The script will look like this: 
    
    x=arg1.coordinate().x 
    y=abs(x)
    return(DoubleObject(y))

4) Create a point Q by numeric labels: the x-coordinate of Q is the x-coordinate of P, and the y-coordinate of Q is the result of Python script made in (3).
5) Create a locus: dependent point is Q and independent point is P.
6) Move the origin of the half line in order to make the half line vertical. Suddenly kig crashes.
Comment 1 Maurizio Paolini 2017-11-06 22:42:32 UTC
Created attachment 108730 [details]
construction described in report

kig construction as described in the bug report
Comment 2 Maurizio Paolini 2017-11-06 22:46:58 UTC
I attached the 'kig' saved file corresponding to the report construction.
With that construction I cannot confirm the crash, however if I add the
"cartesian equation" of the locus:
1. right-click on locus
2. select "add text label", then "cartesian equation"
then as soon as I move one of the two points defining the half line I get
a crash!
Comment 3 Maurizio Paolini 2017-11-06 22:48:58 UTC
Created attachment 108731 [details]
kig file with "cartesian equation" added to the reported construction

This is the same construction, but with the added "cartesian equation" text
to the locus
Comment 4 Justin Zobel 2020-12-17 05:32:47 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 5 Maurizio Paolini 2020-12-20 11:50:39 UTC
Tested on the latest kig source (21.03.70).  I do no longer experience kig crashes and the construction works as expected.
In my opinion the bug can be marked as resolved.