This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If user resizes diagram element with shortcuts, it is possible to reduce height or width even more then to zero size. Element becomes invisible. steps: - create e.g. class diagram - put class element on diagram - select class element - resize it using shortcut Alt+Shift+Left. after width is reduced to zero, it is still possible to reduce it's size...
this issue is a regression. appeared after fix of issue 83703
New validation routine prevents negative values and OK button is disabled when values are invalid.
As it is said in summary, this issue is about results of using shortcuts. Not about Set Dimensions dialog.
Hey, that's kinda cool ;) I see what you mean now. Fixed. I am stopping at a width of 25 units so that it doesn't completely disappear. Also changed Set Dimensions dialog to validate units are greater or equal than 25 to be consistent. If this minimum should be changed, just let me know, but this seems like a good size for a minimum at 100% zoom.
verified in ide-coco-061108_9 it is now not possible to 'revert' element to make it not visible, but fix has some problems that will be filed as separate issues
see also: 89035 - set dimensions dialog min size is larger that default dimension of some elements 89037 - element minimal size depends on resizing way 89038 - element minimal size may be 6 to 10 if resized with keyboard shortcut
related ENHANCEMENT: issue 89042 - step of element resizing by shortcut should depend on how key is pressed