Entity attributes can have a default value, which is currently entered into a simple edit field in the related property dialog. This works for simple types but not for enum types, where a list box or combobox showing the available literals would be much better. STEPS TO REPRODUCE 1. start umbrello 2. create a new enum name 'new_enum' with some literals 3. Add an entity diagram 4. Add an entity 5. Add an entity attribute 6. Open property dialog for entity attribute 7. enter 'new_enum' as type 8. try to select an enum literal from new_enum OBSERVED RESULT You need to close the property dialog, search for the enum in the tree view and inspect a look at the literals. EXPECTED RESULT For enum types the default value parameter for entity attributes should have a list with enum literals in the property dialogs
Git commit cbe838228a5615354b40e84985df49d80991f12f by Ralf Habacker. Committed on 08/11/2018 at 13:18. Pushed by habacker into branch 'master'. Add widget for choosing default values The input field has a different structure depending on the UML object type. In case the type is UMLEnum a list box with the available entries is used, otherwise a simple input field. FIXED-IN:2.26.80 (KDE Applications 18.11.80) M +1 -0 umbrello/CMakeLists.txt M +8 -7 umbrello/dialogs/parameterpropertiesdialog.cpp M +4 -2 umbrello/dialogs/parameterpropertiesdialog.h M +5 -6 umbrello/dialogs/umlentityattributedialog.cpp M +2 -0 umbrello/dialogs/umlentityattributedialog.h A +191 -0 umbrello/dialogs/widgets/defaultvaluewidget.cpp [License: GPL (v2+)] A +54 -0 umbrello/dialogs/widgets/defaultvaluewidget.h [License: GPL (v2+)] M +1 -0 umbrello/dialogs/widgets/umldatatypewidget.cpp M +4 -0 umbrello/dialogs/widgets/umldatatypewidget.h https://commits.kde.org/umbrello/cbe838228a5615354b40e84985df49d80991f12f
Git commit 47e2fce438a0abe9728694c9059a7b827de67800 by Ralf Habacker. Committed on 08/11/2018 at 17:01. Pushed by habacker into branch 'master'. Do not limit size of entity attribute dialog The setting limited the vertical height of the widget to the default value for smaller screens. Fixup of commit cbe838228 M +0 -2 umbrello/dialogs/parameterpropertiesdialog.cpp https://commits.kde.org/umbrello/47e2fce438a0abe9728694c9059a7b827de67800