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.
Is there supposed to be some way to see tooltips (full colorized method signature, for example) when using the keyboard? Tooltips are fine when I hover the mouse over an item, but I would like to see them when using the keyboard. P2 because there is no horizontal scrollbar or message truncation in the trunk version, and so members which display longer than the horiz width of the navigator window simply cannot be read using the KB only.
Reassigning to HIE, as this is actually missing part in UI spec I believe. HIE, please write your opinion /and/or modify the spec, then return issue back for implementation.
According to JLF, there should be a shortcut Ctrl-F1 for displaying or dismissing tooltips, by pressing Escape, the tooltip should be dismissed as well. These shortcuts should work in whole IDE.
C-F1 doesn't seem to be working for me, but maybe side-effect of another bug. Note that the only apparent place in the online help where the existence of C-F1 is even mentioned is somewhere in the section on using the online help viewer; certainly not where I would have expected it! Not in the top matches for "tool tip" in Search, either.
I'm not even sure where Ctrl-F1 works at all. I can only get tooltips to work with a mouse over. It would be cool if Ctrl-F1 could, e.g. show error tooltips for an editor line or property tooltips for the prop. sheet. But I can't get this to work (not even in 3.6).
Yes, I can confirm that Ctrl+F1 doesn't work at all across all IDE. Do HIE guys still recommend such solution? Navigator will then be inconsistent with the rest of the system...
C-F1 works on the JavaHelp window, if you have focus on one of the toolbar buttons - it shows the tool tip for that button. If there is anywhere else in the IDE where it works, I don't know about it.
HIE's recommend to keep this shortcut (Ctrl-F1) for displaying the tooltip. We'll post bug for all IDE.
Oops, beware! Let me remind you that entering one bug for whole IDE is *useless and will not solve anything*. Specific issues for specific modules, components, windows should be entered if you really want Ctrl+F1 to work across the IDE. Just curious, is it only JLF or is it some broader standard? I don't like Ctrl+F1 idea mainly because I think this is only some forgotten thing in JLF which no real application in the world uses. Jindro please consider doing some research among famous apps and our competitors before asking for a lot of work on various modules. Thx. Aha, and how should Ctrl+F1 really work? Imagine that I have focus on line in navigator (which can show tooltip) but mouse pointer points to tab containing java source name opened in editor. Which tooltip will be shown on Ctrl+F1? Does JLF spec say anything? Note that if editor tab tooltip should be shown according JLF, then such solution wouldn't work at all for navigator.
http://java.sun.com/products/jlf/ed2/book/Appendix.A20.html I think C-F1 is supposed to operate on the selected component, regardless of mouse position.
Unfortunately, I found out that Ctrl+F1 doesn't work correctly due to JDK bug, which I'll submit when I'll got bugster working :-( JComponent.getTooltipText and getTooltipLocation are not called by Swing when Ctrl+F1 action is performed. Only solution I see how to get this working now is to copy big part of TooltipManager, which is not worth IMO and I'll not do it. SO unfortunately it looks like wontfix for me.
Further eval: I managed to write a hack to get Ctrl+F1 tooltips basically working. Tooltips appear and hide correctly, on correct places. Ctrl+F1 unfortunately don't follow selection, because Swing don't support it, and I found no workaround. To deliver full context-aware Ctrl+F1 functionality, tooltips management IMHO has to be implemented on our side, not using ToolTipManager. I think this is the task for future releases, where enhanced functionality will be probably requested by HIE (hyperlinks, integration with editor javadoc popup window). fixed in main trunk for now: /cvs/objectbrowser/navigator/src/org/netbeans/modules/navigator/Navigator.java,v <-- Navigator.java new revision: 1.20; previous revision: 1.19 /cvs/objectbrowser/navigator/src/org/netbeans/modules/navigator/NavigatorJList.java,v <-- NavigatorJList.java new revision: 1.6; previous revision: 1.5 /cvs/objectbrowser/navigator/src/org/netbeans/modules/navigator/NavigatorJTree.java,v <-- NavigatorJTree.java /cvs/objectbrowser/navigator/src/org/netbeans/modules/navigator/TooltipHack.java,v <-- TooltipHack.java initial revision: 1.1
Verified. It worked fine in target release but I have filed new issue for 6.0 - see issue #119640.