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 106936

Summary: Please make CVS pop-ups appear on mouseover
Product: versioncontrol Reporter: kirillkh <kirillkh>
Component: CVSAssignee: issues@versioncontrol <issues>
Status: NEW ---    
Severity: blocker CC: josefpavlicek
Priority: P3 Keywords: UI
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description kirillkh 2007-06-17 16:08:40 UTC
Please make all CVS diff/history pop-ups appear on mouseover, as opposed to mouseclick.

Specifically, I refer to the following pop-ups:
1. tags list in Search History
2. commit comments in Search History
3. in-editor diff (the one you get, when clicking a blue stripe in the editor)

The way it works now in Search History requires clicking a column in the line with the interesting revision. The problem
is this has additional effect of changing the selected revision and re-displaying the diff content for it (so you lose
the scroll position, etc.). Additionally, in my opinion mouseover behavior doesn't have any disadvantages over
mouseclick, but is more discoverable and requires less effort (right now it's not only the click to show the pop-up, but
also another click to hide it, and you have to know, where to click).

The way I suggest to do it is waiting for a configurable amount of time (300ms by default) after the mouse has been
positioned over the relevant element, then displaying the pop-up. Similarly, when the mouse is moved out of it, wait for
a configurable amount of time (500ms by default) and, if the mouse is still out, close the pop-up.
Comment 1 kirillkh 2007-06-17 16:14:41 UTC
Additionally, if the user drags the cursor out of the window, start counting the closing timeout only after
mouse_release event.