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 254436 - Code hint light bulb prevents setting breakpoint with the mouse click
Summary: Code hint light bulb prevents setting breakpoint with the mouse click
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-17 14:05 UTC by iii
Modified: 2015-08-19 13:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
pic1 (2.22 KB, image/png)
2015-08-17 14:05 UTC, iii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iii 2015-08-17 14:05:54 UTC
Created attachment 155390 [details]
pic1

When the line numbers are disabled, and the cursor is on the line where I want to create a breakpoint, and there is a code hint available, it is impossible to set a breakpoint on that line. See attached picture for more graphic description. I don't know what UI design should be implemented to be able to use both the hint bulb and the breakpoints, but it's definitely a UI defect. And please don't make the margin wider, it's already takes so much place.
Comment 1 Milutin Kristofic 2015-08-17 15:20:34 UTC
You can right click on bulb and choose breakpoint.
Comment 2 iii 2015-08-18 05:06:59 UTC
This is sounds more like a workaround, because it takes more action than a single click.
Comment 3 Milutin Kristofic 2015-08-19 12:56:38 UTC
What are you suggesting then? I think it is very good workaround. I don't want to increase margin.
Comment 4 iii 2015-08-19 13:08:00 UTC
May be add "Set breakpoint here" entry to the code hints list?
Comment 5 Milutin Kristofic 2015-08-19 13:10:06 UTC
That is really same number of actions as right click on bulb. I don't want to mix hints with breakpoints
Comment 6 iii 2015-08-19 13:16:30 UTC
It would take less for me, as I usually click on the margin and see code hints list, and then, confused, try to remember my shortcut for toggling breakpoint. I guess I should learn to use right click more often.