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.
Editor hints are recomputed unnecessarily in the following scenarios: (1) Each time I move cursor within the line where a hint is displayed, the hint icon disappears and then appears again after I stop moving the cursor. The icon should stay displayed until I make a change or until I move cursor out of the line. (2) Repetitively moving cursor to a certain line makes the hint icon appear on that line with the same delay, several hundreds of milliseconds, as the first time I go to the line. I guess the hint is computed again and again each time. It should be cached for the line until a modification is made in the code.
This is as designed. (1) Was requested by HIE. (2) Cashing would be very dangerous, since potentially any modification in any place can change such cached hint.
BTW: Ad (2) If there is no modification the information is already cached by MDR infrastructure.
I don't see (1) specified in UI spec. Show me where this is specified before closing the issue. Flashing icon on the line where I move cursor is annoying.
This was explicitly requested by Jano Rojcek along with moving the light bulb icon on top of the text rather than on top of the code folding. This is a similar behavior that can be found in other products that show the light bulb on top of the text - this way the user is not disturbed by the light-bulb when typing or moving the cursor - it does not cover the text. It is possible that this detail is not captured in the UI spec. Pavle, please add it.
Spec. updated. Checking in hints/editorhintsuispec.html; /cvs/editor/www/hints/editorhintsuispec.html,v <-- editorhintsuispec.html new revision: 1.4; previous revision: 1.3 done