Bug 331933 - [Hover, Cosmetics] Wrong hint "Press F2 for focus"
Summary: [Hover, Cosmetics] Wrong hint "Press F2 for focus"
Status: RESOLVED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext Backlog (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted, triaged
Depends on:
Blocks:
 
Reported: 2010-12-06 13:35 EST by Sebastian Zarnekow CLA
Modified: 2016-09-20 07:50 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2010-12-06 13:35:19 EST
When used on a completion proposal, the hover statusline says "Press F2 for focus" which does not work. The JDT suggests "Tab from proposal list or click to focus".
Comment 1 Sebastian Zarnekow CLA 2010-12-06 13:35:48 EST
Tab works quite well in this case.
Comment 2 Christoph Kulla CLA 2010-12-07 14:06:34 EST
Atm the identical hover is used in the text editor and in the completion proposal. The keybinding in the text editor is F2 to give focus to the hover and therefore it is always displaying F2 in the status line. To change this behaviour the hover needs some information of the context to display the correct message.  In Jdt there are different hover implementations for completion proposal and the text editor with different messages in the status line. You may also have noticed that the Jdt is omitting the class name at the beginning of the hover in content assist. Unfortunalty this content assist hover is not easy to reuse outside the Jdt.

Maybe it make sense to create different bindings for completion proposal and for text hovering.
Comment 3 Holger Schill CLA 2016-09-20 07:50:54 EDT
This was fixed long time ago.