Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322474 - [preferences] Allow to disable tool tips
Summary: [preferences] Allow to disable tool tips
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.4.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 04:10 EDT by Christian CLA
Modified: 2010-08-13 02:01 EDT (History)
4 users (show)

See Also:


Attachments
screenshot of a tool tip (76.61 KB, image/x-png)
2010-08-12 10:38 EDT, Christian CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian CLA 2010-08-12 04:10:11 EDT
Build Identifier: M20080911-1700

actual: You can't turn off the tool tips in the editor. if you move the mouse over the window, you can't see your code, because everywehere a tooltip pops open.
target: option in preferences to turn off the tool tips. the tool tip will only pop open, if you press F2 on an element.

Reproducible: Always
Comment 1 Remy Suen CLA 2010-08-12 05:08:40 EDT
Please attach some screenshots. I think I know what you're referring to but I would rather be 100% sure.
Comment 2 Christian CLA 2010-08-12 10:38:00 EDT
Created attachment 176471 [details]
screenshot of a tool tip

Thank you for your quick reply.

Sometimes, if I want to click into the text, it is impossible if I move the cursor too slow, because meanwhile a tool tip pops open and hides the place I want to click.
So I would be glad, if I could disable the tool tips by preferences. Only F2 should show the tool tip.
Comment 3 Remy Suen CLA 2010-08-12 10:55:30 EDT
This actually gets asked a lot on IRC though I'm not sure if it's possible to disable it or if that feature needs to be implemented.
Comment 4 Dani Megert CLA 2010-08-12 11:16:33 EDT
In the last 10 years we did not get a single request for that. There are no plans to add this.
Comment 5 Deepak Azad CLA 2010-08-12 13:14:35 EDT
(In reply to comment #0)
> Build Identifier: M20080911-1700
> 
> actual: You can't turn off the tool tips in the editor. if you move the mouse
> over the window, you can't see your code, because everywehere a tooltip pops
> open.
> target: option in preferences to turn off the tool tips. the tool tip will only
> pop open, if you press F2 on an element.

Preferences > Java > Editor > Hovers => Assign a key modifier to 'Combined Hover'. Ctrl, Shift, Alt or a combination of these is a valid modifier. The tooltip will come only when you press the key and then hover over the text.

Dani, maybe we could support other keys as well, e.g. F2 ?

And to be honest, at times when I am typing a large amount of code, I too feel the need for a command to toggle tooltip enable state :)
Comment 6 Markus Keller CLA 2010-08-12 13:27:27 EDT
(In reply to comment #5)
Yeah, I think this bug accidentally landed in Platform/Text.
Moving to JDT as WORKSFORME.
Comment 7 Remy Suen CLA 2010-08-12 13:32:18 EDT
(In reply to comment #6)
> (In reply to comment #5)
> Yeah, I think this bug accidentally landed in Platform/Text.

That was me as I figured it'd be up to Text to provide a global (preference) override for ITextHovers to not be processed when the mouse is idling unless explicitly requested (via a keybinding or whatever).
Comment 8 Dani Megert CLA 2010-08-13 02:01:24 EDT
>Dani, maybe we could support other keys as well, e.g. F2 ?
It's more natural to use modifier keys for that and it reduces the risk of clashing with a key binding for a command.