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 - Diff scroll bar doesn't reflect real positions of changes
Summary: Diff scroll bar doesn't reflect real positions of changes
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-09 11:53 UTC by amobilia
Modified: 2015-10-19 08:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshoot of what happened (79.38 KB, image/png)
2015-10-09 11:53 UTC, amobilia
Details

Note You need to log in before you can comment on or make changes to this bug.
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