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.
To reproduce: - open and run some html file in Chrome or Embedded browser (e.g. sample project) - in index.html, click on some closing tag, </div>, or some text content => cursor jumps to <div>. If you repeat the same again, it is OK unless you click to some other element and then try the first </div> again. - If page is not running in browser, the problem is not there - If I use keyboard to get cursor to requested position (or press some key right after mouse click), it stays there so it happens only "on click" action Product Version: NetBeans IDE 7.3 Beta 2 (Build 201211052012) Updates: NetBeans IDE is updated to version NetBeans 7.3 Beta 2 Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11 System: Linux version 3.2.0-32-generic-pae running on i386; UTF-8; en_US (nb)
This could be a beta2 stopper. Marku, could you look at it? It might belong to Inspection component, but I'm not sure
Seems like closing Navigator window helps
I know what the problem is, will be fixed ASAP
searching for changes summary: #221532 - Cursor jumps to start tag if page is running in browser Honzo, please review. IMHO the solution is not ideal , but I couldn't find more reasonable place where to hook the code.
> Honzo, please review. I have reviewed the changeset. I am fine with this change, it is a reasonable fix of this problem.
The relevant changeset: http://hg.netbeans.org/web-main/rev/1d78b17441e8
Thanks for quick fix, verified. Please transplant it to beta2 Product Version: NetBeans IDE Dev (Build web-main-9125-on-20121106) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11 System: Linux version 3.2.0-32-generic-pae running on i386; UTF-8; en_US (nb)
Just for the record: Cursor no longer jumps to start tag, elements are properly highlighted in Navigator and CSS rules are propagated into CSS Styles based on cursor position, Inspect Mode in browser also seems to be fine.
changeset: 246022:cc8eca9f157b branch: release73_beta2 date: Tue Nov 06 15:40:23 2012 +0100 summary: #221532 - Cursor jumps to start tag if page is running in browser
Integrated into 'releases', will be available in build *201211062253* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/cc8eca9f157b User: Marek Fukala <mfukala@netbeans.org> Log: #221532 - Cursor jumps to start tag if page is running in browser
Integrated into 'main-golden', will be available in build *201211070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1d78b17441e8 User: Marek Fukala <mfukala@netbeans.org> Log: #221532 - Cursor jumps to start tag if page is running in browser
verified in beta2 Product Version: NetBeans IDE 7.3 Beta 2 (Build 201211062253) Updates: NetBeans IDE is updated to version NetBeans 7.3 Beta 2 Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11 System: Linux version 3.2.0-32-generic-pae running on i386; UTF-8; en_US (nb)
*** Bug 221646 has been marked as a duplicate of this bug. ***