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 239578 - Not able to move to the diff location. Navigation button required
Summary: Not able to move to the diff location. Navigation button required
Status: RESOLVED WORKSFORME
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-17 21:25 UTC by adithyank
Modified: 2013-12-18 15:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot showing the need of one click navigation to diff location (184.08 KB, image/png)
2013-12-17 21:29 UTC, adithyank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adithyank 2013-12-17 21:25:45 UTC
Product Version: NetBeans IDE 7.4 (Build 201310111528)
Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 2
Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 2.6.32-431.1.2.0.1.el6.i686 running on i386; UTF-8; en_US (nb)
User directory: /root/.netbeans/7.4
Cache directory: /root/.cache/netbeans/7.4

This is not an issue with nb 8.0. But a general issue.

When any file is shown, if the diff count is saying 1/1, then we cannot move direct to that spot unless i scroll the diff view manually.
Sample screen shot is attached with this issue.

So, as a general feature, there can be a button near to that. If we click a button, then whatever the number is shown in there (ex : 1/1) the view should scroll to that place.
It is a must to have feature with respect to the navigation.

You can say that the diff is highlighted in the right side bar so that we can click it to navigate to that place. But, when there are some warnings or hints in those place, then this diff color is overridden by that warning. So, it is always better to have a button to navigate the diff place whose number is shown in the top (ex: 1/1)
Comment 1 adithyank 2013-12-17 21:29:37 UTC
The screen shot shows the diff count as 1/1. But, I am seeing some other code. Now, If i want to see the diff, then I have to move my scrollbar slowly to locate myself where the diff is available....

So there can be a navigation button nearby the component that shows 1/1 or the navigation can be enabled by clicking the component itself.

This is a must to have feature as per my opinion
Comment 2 adithyank 2013-12-17 21:29:45 UTC
Created attachment 143274 [details]
Screenshot showing the need of one click navigation to diff location
Comment 3 Ondrej Vrabec 2013-12-18 15:32:10 UTC
works for me. When i run Tools -> Diff To... and diff to the second file, the view automatically jumps to the first (in this case the only one) difference. Does it not work the same for you? If you click on the refresh button in the view, does it jump then?
Comment 4 Ondrej Vrabec 2013-12-18 15:33:25 UTC
if it really does not automatically jump to the first diff, then please attach the messages.log right after the view opens on the wrong lines.