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.
In the new NB 5 beta cvs, sometimes I cannot edit the commit message at all. (Committing itself works perfectly, just the commit message is the problem.) With "cannot edit" I mean: The commit dialog comes up with the previous message (that's OK), and the string is selected (OK), but when I type the new message or hit backspace, the old message remains highlighted and nothing changes. With "sometimes" I mean: - When I choose CVS>Commit from the IDE's main menu, editing the commit message is possible _every time_. - But when I choose Commit from a right-click contextual menu (within the Editor by clicking the files tab, or within Files/Favorites/Projects/Versioning View etc), the message is editable in circa two-thirds of the cases. In circa one third of the cases, the commit message remains uneditable, even if I cancel and try committing the same file again. In those cases, I need to choose Commit from the main menu if I ever want to edit the message before commiting. I'm sorry I don't know how to reproduce it on purpose, I don't see any pattern. What could be the difference between calling the same command from the Main Menu and from the context menu? It's far from being a showstopper, just annoying if I can't rely on the handy context-menu.
Looks like pure Swing issue. There is no setEnabled(), etc. Main menu and popup menu actions are identical. JDK version?
[rik:~]> java -version java version "1.5.0_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05) Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing) [rik:~]>
> java -version java version "1.5.0_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05) Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
Just happened to me. Looks like broken internal Swing keyboard focus logic (changing focus with mouse works). Checking in CommitSettings.java; /shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/actions/commit/CommitSettings.java,v <-- CommitSettings.java new revision: 1.9; previous revision: 1.8 done