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.

Bug 41744 - View Branches -> Diff action blocks AWT thread
Summary: View Branches -> Diff action blocks AWT thread
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: PC All
: P2 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords: PERFORMANCE, SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2004-04-06 15:22 UTC by Antonin Nebuzelsky
Modified: 2006-03-24 09:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2004-04-06 15:22:31 UTC
The Diff action invoked from the dialog "CVS
Branches of foo.java" (opened via CVS / Branching
And Tagging / View Branches) is doing its job in
AWT thread effectively blocking the IDE completely
until it finishes.

This is unacceptable and must instead schedule
execution of CVS Diff command in a separate
thread, leaving AWT immediately.
Comment 1 Martin Entlicher 2004-04-06 16:11:38 UTC
This is quite old action, so it looks like not much attention was paid
to threading. This should be simple to fix.
Comment 2 Martin Entlicher 2004-04-06 16:12:08 UTC
Moving to vcsgeneric module.
Comment 3 Richard Gregor 2004-04-16 09:44:38 UTC
Fixed.

Checking in CvsBranchFrame.java;
/cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsBranchFrame.java,v
 <--  CvsBranchFrame.java
new revision: 1.7; previous revision: 1.6
done
Comment 4 Antonin Nebuzelsky 2004-04-28 17:20:38 UTC
Verified.