Getting name of clicked object in OnClick handler
I have some dynamically created polygons that all shall react to a click in similar ways.
In the OnClick -Script of each polygon, I pass the name of the clicked polygon to a variable and call the OnClick-Script of an invisible DummyButton that executes my actual code (depending on the name of the clicked polygon).
All polygons have the following GeoGebra-Script as OnClick-Script:
NameOfClickedObject = Name(%0) SkriptBeiMausklickAusführen(DummyButton) // english: RunClickScript(DummyButton)
This works pretty well until the construction gets updated. Then all these scripts are automatically changed to
NameOfClickedObject = Name(% 0) SkriptBeiMausklickAusfü hren(DummyButton)
with an extra space in each line (after % and after the german ü). This results in two error messages because both lines can't be parsed anymore.
Now my questions:
1. This seems to be a bug in GeoGebra. Could someone please add it to the bugs list?