bouton script problem

zied shared this problem 4 years ago
New

GeoGebra 5.0.240.0-3D (21 May 2016)

Java: 1.7.0_40

OS: Windows 7

Architecture: x86 / x86


le script par clic ne fonctionne pas pour un bouton

Comments (8)

photo
1

Please post a link

photo
1

button script works perfectly with GeoGebra 5.0.236.0 and earlier

photo
2

Bonjour, est-ce que cela marche ?

Le problème semble venir quand la fenêtre de propriété est ouverte.

photo
1

Bonjour Michel, ça marche tant que la fenêtre proprietés est fermé

photo
1

Je confirme, même avec simplement :


  1. A=(0,1)

dans un bouton.Cela ne marche pas dès que la fenêtre de propriété du bouton est ouverte (attachée ou pas à la fenêtre générale)

photo
1

That seems reasonable to me:


* click with properties window open -> button is selected

* click with properties window closed -> script is run

photo
1

This way leads to the situation, that the properties window will be opened and closed again and again. This limits the work flow when you create a complexer arrangement! My suggestion would be: The properties window should be stay opened during the hole session (which is sometimes 10 hours and more!) so that on has an overview to the behaviour of all elements! It is disconcerting when this overview is lost 10 times in a minute!

photo
1

My suggestion

Please, let a click on a button or any other object that triggers a script, start the script no matter if the properties windows are open or not.

There is a pain in the neck to always have close the properties window to test a script.

People who uses script know they right-click to go to the properties.

I think this was how it worked in early versions of Geogebra.

Thanx

© 2021 International GeoGebra Institute