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.
Somewhere in my code I have following: this.addCriteria= function(key, value, type){ this.criteria.push({ schemaproperty: key, value: value, type: type }); }; The object being pushed to the array is displayed as Anonym$X in Navigator window. If I double click on it (in the Navigator) cursor in editor is correctly moved to the specified piece of code (this.addCriteria). However immediately after that function addCriteria is focused in Navigator window which (at least for me) causes lost of context and it is confusing. The "distance" between addCriteria and Anonym$ in Navigator is longer than visible part of Navigator so the window scrolls up/down and the original Anonym$ is "lost" Would be great to either omit focusing the addCriteria or order items in Navigator better Product Version: NetBeans IDE Dev (Build 2012-06-29_00-38-59 ) Java: 1.7.0_05; Java HotSpot(TM) Client VM 23.1-b03 System: Linux version 3.0.0-21-generic-pae running on i386; UTF-8; en_US (nb)
Lado, is this issue still valid? Anonymous objects aren't displayed in the Navigator for a while and the this.addCriteria navigation works well to me. Please could you take a look on that once more and let us know if it's all right or if it requires still any change? Thanks a lot...
Created attachment 124782 [details] sample file I see, Anonyms are gone :) However the "refocusing" is still there. Try to open the attached file and and adjust height of Navigator window so you have a vertical scroll bar and Pes() and kocka are not visible at the same time in Navigator. No double click on kocka in Navigator and see that function Pes() is focused a moment after which causes Navigator to scroll up. I think it should stay on "kocka" since it is the place where cursor is.
This is known issue. It's problem in CLS, need to be more investigated.
I think this is already fixed.
Yes, the Navigator content is fine, but the refocusing is still there. I'll report it to CSL then. Thanks
(In reply to Vladimir Riha from comment #5) > Yes, the Navigator content is fine, but the refocusing is still there. I'll > report it to CSL then. > > Thanks reported as issue 250226