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 269877 - ToolTip information prevents clicking on item being hovered over
Summary: ToolTip information prevents clicking on item being hovered over
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-20 14:45 UTC by DaveBolt
Modified: 2017-02-20 14:45 UTC (History)
0 users

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 DaveBolt 2017-02-20 14:45:55 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_91
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.91-b14

Reproducibility: Happens every time

STEPS:
  * Open dialog Foo
  * Click on button "Click me"

ACTUAL:
  nothing happens

EXPECTED:
  message pops up

Don't know where the information above came from. Not sure if it's relevant.

To See The Problem:
Perform a file search in the ide.
Hover over a line of code in the results and a ToolTip pops up with information about the line in question.
This is expected behaviour, so all good so far.
Try to click on the line of code. The ToolTip is under the cursor so nothing happens.

Suggested solution: Arrange that the nearest edge of the ToolTip is offset from the cursor by at least 5 pixels so the actual code is clicked on.

The only time I do not get this problem is when I manage to click on the code before the ToolTip shows.

An alternative solution would be to increase the delay before the ToolTip shows. I would not consider this a good solution.