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 255834

Summary: Diff scroll bar doesn't reflect real positions of changes
Product: utilities Reporter: amobilia
Component: DiffAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal CC: git
Priority: P4    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshoot of what happened

Description amobilia 2015-10-09 11:53:39 UTC
Created attachment 156643 [details]
Screenshoot of what happened

Steps to reproduce :
1. Made change on the middle of a (long) file already in the Git system.
2. Go to the commit windows (Team -> Commit...)
3. Double click on the file name to open the Diff window
4. Go with the scroll bar to the blue or green lines


What's happened :
The scroll bar is on the changes mark, but this doesn't display changes which are below
(see screenshoot)

What's expected : 
View the modified lines
Comment 1 amobilia 2015-10-09 11:56:08 UTC
As you click on the textarea, the scroll bar are refreshed and are correctly displayed.

The problem is for the first draw of the scroll bar
Comment 2 Ondrej Vrabec 2015-10-09 13:46:19 UTC
You have line-wrapping on, right? Does it work if you turn it off?
Comment 3 amobilia 2015-10-19 08:54:16 UTC
Hi,

Yes lines  wrapping is on.

No problem if line-wrapping is off.

Regards,
Anael