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 113182 - [Surround with ...] hint is very hard to invoke by mouse-click
Summary: [Surround with ...] hint is very hard to invoke by mouse-click
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
: 113615 (view as bug list)
Depends on:
Blocks: 107254
  Show dependency tree
 
Reported: 2007-08-20 10:25 UTC by Max Sauer
Modified: 2007-08-28 09:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2007-08-20 10:25:42 UTC
'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
Comment 1 Jan Lahoda 2007-08-23 14:30:26 UTC
Honzo, might this be related to the recent changes in mouse event handling in the glyph gutter?
Comment 2 Jan Pokorsky 2007-08-24 15:00:43 UTC
*** Issue 113615 has been marked as a duplicate of this issue. ***
Comment 3 Jan Pokorsky 2007-08-27 15:27:35 UTC
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
Comment 4 Max Sauer 2007-08-28 09:29:14 UTC
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