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 258591 - Ctrl - Click go to definition is not scrolling the page
Summary: Ctrl - Click go to definition is not scrolling the page
Status: RESOLVED DUPLICATE of bug 258564
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 8.2
Hardware: PC Linux
: P2 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-30 15:40 UTC by adam_felix_fps
Modified: 2016-06-08 13:48 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
only left pane is wrapped (87.87 KB, image/png)
2016-04-01 13:44 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adam_felix_fps 2016-03-30 15:40:53 UTC
This appears to be a regression as it is working fine in NetBeans 8.1.  I have tested this with an empty profile on the latest dev version and the issue is still present.  When you Ctrl-Click on something that is in a different file NetBeans opens the file but no longer scrolls the page.  The cursor is on the correct definition but the page has not scrolled to show it.  Once you are in a file or if the method etc is in the same file then it behaves normally and scrolls correctly.
Comment 1 Tomas Mysik 2016-03-31 13:02:36 UTC
Could you please test it also in other languages like JavaScript and/or Java?

Thanks.
Comment 2 adam_felix_fps 2016-03-31 15:08:14 UTC
I have tried this in a Java project and it appears to be OK but in a PHP project it is not :(  My JavaScript projects are mainly node so they don't really have a lot of things to jump around to...  I will try with something that has jQuery
Comment 3 adam_felix_fps 2016-03-31 15:15:26 UTC
Just tried in a JavaScript file and this appears to be happening in there too.  So it happens for PHP and JS files but not for Java files
Comment 4 Tomas Mysik 2016-04-01 05:51:52 UTC
Thanks for your investigation!

Reassigning to CSL, please evaluate. Thanks.
Comment 5 Vladimir Voskresensky 2016-04-01 09:48:10 UTC
looks like https://netbeans.org/bugzilla/show_bug.cgi?id=258564
Comment 6 adam_felix_fps 2016-04-01 09:54:29 UTC
Yep these look like they could be the same thing...
Comment 7 Vladimir Voskresensky 2016-04-01 13:44:55 UTC
Created attachment 159087 [details]
only left pane is wrapped

Still reproducible for HG in:
Product Version: NetBeans IDE Dev (Build 20160401-276710bb7b4c)
Java: 1.8.0_72; Java HotSpot(TM) 64-Bit Server VM 25.72-b15
Runtime: Java(TM) SE Runtime Environment 1.8.0_72-b15
System: SunOS version 5.11 running on amd64; UTF-8; en_US (nb)
User directory: /export/home/vv159170/.netbeans/dev
Cache directory: /tmp/nb_cache_dev
Comment 8 Vladimir Voskresensky 2016-04-01 13:45:40 UTC
Interesting: if I use Tools->Diff to compare two files => both panes are not wrapped
Comment 9 Vladimir Voskresensky 2016-04-01 13:47:18 UTC
Comment on attachment 159087 [details]
only left pane is wrapped

Sorry, it is for another issue
Comment 10 Vladimir Voskresensky 2016-04-01 13:47:52 UTC
(In reply to Vladimir Voskresensky from comment #8)
> Interesting: if I use Tools->Diff to compare two files => both panes are not
> wrapped
sorry, it is comment for another issue
Comment 11 Miloslav Metelka 2016-06-08 13:48:48 UTC
This should be in fact dup of issue #258564 which is already fixed.

*** This bug has been marked as a duplicate of bug 258564 ***