[Cuis-dev] Changeset to make GUI code more robust

Hilaire Fernandes hfern at free.fr
Tue Jan 27 08:53:42 PST 2026


Hi Juan,

This issue is very special and most of the time unlikely. It occurs  
when editing by code an attribute which is normally set by GUI.

As I don't want the user to be restricted by the GUI choice of color 
when editing by code, this issue will raise.

The question is do we want this kind of situation to be fixed downstream 
or upstream. Upstream it will be useful in other similar situation. 
Fixing downstream can help to make some smart things, as adding the a 
morph color to the dropdownlist, but it will not be a generic solution.

It can be handled in DropDownButtonMorph by catching the error, but I 
find this inelegant, but may be it is not the case.

Hilaire

-- 
http://mamot.fr/@drgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260127/7274d68e/attachment.htm>


More information about the Cuis-dev mailing list