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.
Summary: | CVS Commit dialog: Modality really gets in the way | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | eskild <eskild> |
Component: | CVS | Assignee: | issues@versioncontrol <issues> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
eskild
2008-07-28 12:40:47 UTC
There is a third way forward: use a separate tool to perform the diffs. This is exceedingly kludgy, but works - so long as you have another tool that works. Options include TortoiseCVS, WinCVS, and Cygwin's CVS. I'm certain there are others. I tend to use a modified version of the second - copy the commit message thus far, cancel the dialog, paste the commit message into a new file, then use that new file to write up the whole commit message. After that's finished, copy said message, delete the file, go back into commit, paste it, and submit. In any event, it's not the kind of issue a refined product would have. Worse, modal windows aren't the norm in this application, so it's clearly an issue that has been deliberately placed in the application. I think I understand the issue that the coder who made the dialog modal was trying to solve, and I have three alternate solutions, which I feel are much better: - Simply check the files for updates between the time the commit is initiated and when it is submitted, and if the files have been updated, then abort. This is the same behavior as the open source CVS command-line. - Mark all of the files being committed as read-only until after the commit completes or is canceled. - Don't stress about it - if the files are updated between when the commit is initiated and when the commit is submitted, prompt the user to re-edit the commit text, submit anyway, or cancel. Personally, I prefer this approach. |