[BLUEJ-1206] New project dialog flashes error when mouse over ok button
The "new project" dialog initially has the name field empty (which is fine), with the "ok" button enabled. When the mouse moves over the "ok" button, the button is disabled and a red error highlight surrounds the name field, and a wobbling red "name must not be empty" message is displayed.
I see two clear issues:
The "ok" button should certainly not be initially enabled
The error highlight appearing on mouse-over is an odd behaviour. In particular, a fairly arbitrary mouse movement might happen to move over the ok button and cause the error highlight to appear.
Two possible solutions to the latter: always display the error label when the name field is empty (but make it less distracting), or only display it upon actually clicking the "ok" button.
In general I also think the red message is harsh and the wobbling effect distracting. I think it would be better to have a light grey or black message with no animation, or a "pulsing" animation rather than a movement.
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 5.0.0