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.
'Surround with ...' hint is very hard to invoke by mouse-click, a breakpoint is usually inserted instead when clicking in the bulb. This can be work-arounded by using Alt-Enter. Does not happen for other hints. Steps to reproduce: ------------------- 1) Inside of a method, select a statement, ie. 'System.out.println()' 2) Try to invoke appeared 'Surround With' hint using your mouse --- Product Version: NetBeans IDE Dev (Build 070820) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Linux version 2.6.12-1.1390_FC4smp running on i386; UTF-8; en_US (nb) Userdir: /home/ms159439/.netbeans/dev
Honzo, might this be related to the recent changes in mouse event handling in the glyph gutter?
*** Issue 113615 has been marked as a duplicate of this issue. ***
fixed in /cvs/editor/src/org/netbeans/modules/editor/NbEditorUI.java,v <-- NbEditorUI.java new revision: 1.72; previous revision: 1.71 done Checking in libsrc/org/netbeans/editor/GlyphGutter.java; /cvs/editor/libsrc/org/netbeans/editor/GlyphGutter.java,v <-- GlyphGutter.java new revision: 1.59; previous revision: 1.58
Verified. --- Product Version: NetBeans IDE Dev (Build 070828) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Linux version 2.6.12-1.1390_FC4smp running on i386; UTF-8; en_US (nb) Userdir: /home/ms159439/.netbeans/dev