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 257503 - Diff window no longer scrollable
Summary: Diff window no longer scrollable
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P2 normal with 2 votes (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
: 258500 262192 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-10 17:15 UTC by _ gtzabari
Modified: 2016-07-13 17:43 UTC (History)
4 users (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 _ gtzabari 2016-01-10 17:15:19 UTC
Product Version: NetBeans IDE Dev (Build 201512240002)
Updates: Updates available
Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b17
Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b17
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

In the past, users were able to scroll either side of the diff window using the wheel mouse. It looks like in Netbeans 8.1 the left side of the diff (the old version of the file) is no longer scrollable.

I am expecting to be able to scroll the left side such that even if I use the wheel mouse in the left window, it applies to the scrollbar in the right window.
Comment 1 Jiri Prox 2016-01-14 13:56:57 UTC
Can you please try the newest build?
I've seen this issue in some old dev build, but in the newest daily build it works fine for me. 

Unfortunately I cannot find any fixed issue related to this, so I'd like to know if it relay work in the current daily build or it it is somehow "random"

Thanks
Comment 2 _ gtzabari 2016-01-14 14:18:47 UTC
I can reproduce it consistently in build 201601130002. Does this help?

To reproduce:

1. Open a Java file in the editor.
2. Click History (meaning, local history)
3. You should be able to scroll on the right panel, but not on the left.
Comment 3 Jiri Prox 2016-01-14 17:07:01 UTC
Thanks for info, I can it reproduce now. 
The trick is to use diff in local history. Diff for two files (from context menu->Tools->Diff) work fine for me.
Comment 4 Ondrej Vrabec 2016-04-01 13:19:34 UTC
*** Bug 258500 has been marked as a duplicate of this bug. ***
Comment 5 Ondrej Vrabec 2016-04-01 13:22:02 UTC
Milo, this seems to be caused by your recent changes in DocumentViewOp: adding MouseWheelDelegator. I don't know how it should work but it kind of disconnects scrolling from all our diff views. If I comment all lines in MouseWheelDelegator.install, it starts working again. Can you please take a look?
Comment 6 Ondrej Vrabec 2016-05-25 17:23:25 UTC
*** Bug 262192 has been marked as a duplicate of this bug. ***
Comment 7 Ralph Ruijs 2016-06-13 11:23:24 UTC
changeset:   8db732a762b4
user:        Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date:        Mon Jun 13 13:21:30 2016 +0200
summary:     #257503 - Diff window no longer scrollable
Comment 8 markiewb 2016-07-13 17:43:01 UTC
Verified 
Product Version: NetBeans IDE Dev (Build 201607100002)