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.
edit control is not in edit mode after an Enter is pressed. An extra mouse click is needed to get in the edit mode after pressing Enter key on a selected element. Since this is basic functionality of editing element names, the functionality should be similar to the one in NB 6.0. At the moment it blocks test automation.
in general all cases, Enter, F2, start typing do not work now
Since edit control is not on automatically when element is selected, you have to triple click the text to enter inline edit mode. it is hard for automation test to find coordination to click on as different element name has different coordination location.
The problem was two fold. First when the edit control became active, the edit part of the edit control did not get focus. Therefore you could not see you could not simply press Enter then start typing. Since the edit control did not have proper focus, the selected section of the edit control did not appear. Therefore there was no visual clue (or at least very little) that you where actually in edit mode. Second problem was that the element you expected to go into edit mode was not usally the widget to go into edit mode. When you hit the Enter key the last widget node added to the scene would be the node that would be made editable. To make things worse, the last feature on the last node is actually what was made editable. Both problems are now fixed.
I re-open this because I still see other problems. 1. after typing in element name and press the Enter key, the element is still selected & at least it's still highlighted, but pressing the Enter key again does not put it in edit mode. 2. after typing in element name and press the Enter key, the element is still selected. DnD another element from the palette to the diagram. After the new element is dropped (mouse button is released), the previously edited element is now unselected and the newly dropped element is selected. But pressing the Enter key does not get the newly dropped element in edit more. Instead, the previously edited element (even though it's now unselected) is in edit mode. 3. pressing Ctrl-Enter opens up a new line and put the flashing cursor there but can't type in anything. 4. after pressing Ctrl-Enter on the comment element, a mouse click is still needed to get in edit mode. This is the same for the Invocation element in activity diagram.
I have fixed most of the issues in your list. I am confused by point 3, since hitting the CTRL-Enter key before you are in edit mode will beep at you. Change set: http://hg.netbeans.org/uml-meteora/rev/b891723b4590
For #3, when you're already in edit mode.
verified in latest build. major issues have been fixed. As for item #3, a lower priority issue will be opened for tracking instead.