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 214208

Summary: Warning dialog about too large files from inactive diff window
Product: versioncontrol Reporter: _ rkubacki <rkubacki>
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED FIXED    
Severity: normal CC: git
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: stact trace

Description _ rkubacki 2012-06-14 13:04:57 UTC
NB7.2beta, Linux, JDK6_u32

I have Git repository and bunch of files opened in IDE and I have 'diff' window open permanently in the IDE as well though most of the time its tab is not active.

Sometimes I create a temporary file somewhere inside the repository and the IDE wants to read it once it detects that it exists. If the file is large I get a warning. Do not bother me with this: most likely I will delete it sooner than I get back to diff window. It is only a disruption.

The stack trace shows that the reason is diff module.
Comment 1 _ rkubacki 2012-06-14 13:05:27 UTC
Created attachment 120849 [details]
stact trace
Comment 2 Ondrej Vrabec 2013-06-05 09:06:52 UTC
fix: http://hg.netbeans.org/core-main/rev/591c67a773f6
Comment 3 Quality Engineering 2013-06-06 01:50:49 UTC
Integrated into 'main-golden', will be available in build *201306052301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/591c67a773f6
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #214208 - Warning dialog about too large files from inactive diff window
refreshing files only when the view is active, deactivated view should not waste resources and do meaningless work