Tooltips OnMouseOver

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

CruDeLioS
Engineer
Engineer
Posts: 19
Joined: 13 Jan 2005 13:21

Tooltips OnMouseOver

Post by CruDeLioS »

I myself don't quite like the way tooltips are handled (must use right mouse button click). So I changed the code for tooltips to appear on mouse over.

Basically, if you don't move your mouse for a little while (approx 1 second), the tooltip appears for the corresponding button. As soon as you move your mouse, the tooltip disappears.

No screenshot as one would still be meaningless (there is no visual change lol!). What do you think? If enough people approve, I can post the code...
Moriarty
Tycoon
Tycoon
Posts: 1395
Joined: 12 Jun 2004 00:37
Location: United Kingdom of Great Britain and Northern Ireland
Contact:

Post by Moriarty »

Could add the option to game-option menu (not patches menu):

Tooltips:
Disabled
On right click
Short pause
Long pause

Something like that. Generally speaking i don't need tooltips, except for new functions, and i don't like them popping up all the time, so the present behaviour would be best for me, but for releases proper i'd suggest they default to "short pause" (your 1 sec)
User avatar
ThorRune
Tycoon
Tycoon
Posts: 5762
Joined: 09 Oct 2003 14:00
Location: Nordland, Norway
Contact:

Post by ThorRune »

You don't pause for 1 sec overa a buttonj you know... I like the feauture
Alcohol is not the answer, it just makes you forget the question.
Moriarty
Tycoon
Tycoon
Posts: 1395
Joined: 12 Jun 2004 00:37
Location: United Kingdom of Great Britain and Northern Ireland
Contact:

Post by Moriarty »

you pause over a button when you're waiting for something, or just watching the network, or thinking for a sec. I'm refering to it coming up when your attention is elsewhere. I know clicking on a button doesn't take a sec.
User avatar
dominik81
OpenTTD Developer
OpenTTD Developer
Posts: 768
Joined: 16 Aug 2003 12:55
Location: Bonn, Germany

Post by dominik81 »

I think it's great! Everybody is much more used to tooltips on mouseover. And I don't think there's a need to make it optional.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
Rexxie
Engineer
Engineer
Posts: 109
Joined: 07 Jan 2004 18:37
Location: Norway
Contact:

Post by Rexxie »

I like the current system where you have to right-click, because I know what the different icons do, and would hate to get a tooltip pop up all the time.
I know there is a timer, but I often hold my mouse over some icons (like the depot icon) when waiting for a specific event.

If you make it onmouseover, I'd like to at least have it be optional.
- Rexxie
Sanity is a full time job.
Moriarty
Tycoon
Tycoon
Posts: 1395
Joined: 12 Jun 2004 00:37
Location: United Kingdom of Great Britain and Northern Ireland
Contact:

Post by Moriarty »

well it's two for optional so far. thanks to rexxie i'm not on my own. :)
CruDeLioS
Engineer
Engineer
Posts: 19
Joined: 13 Jan 2005 13:21

Post by CruDeLioS »

Sure, it can be done. I just need to find out how to fiddle with the configs, the vars they change and things like that.

I actually don't think the tooltips are that intrusive... The moment you move your mouse, they dissappear!
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

It's a bad idea. It sucks to have tooltips just appear when you are hovering somewhere.

And no, making it optional is not an option. This is a standalone game not TTDPatch were every little nook and feature can be customized to a value where playing it somewhere else makes the game unrecognizable.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
User avatar
ThorRune
Tycoon
Tycoon
Posts: 5762
Joined: 09 Oct 2003 14:00
Location: Nordland, Norway
Contact:

Post by ThorRune »

Poll?

Tooltips on mouse over is way better, because that's what people is used to. If you want them to go away, move the mouse a bit! Tooltips ain't big, so they won't be in the way anyways
Alcohol is not the answer, it just makes you forget the question.
User avatar
dominik81
OpenTTD Developer
OpenTTD Developer
Posts: 768
Joined: 16 Aug 2003 12:55
Location: Bonn, Germany

Post by dominik81 »

I totally disagree with Darkvater. But it seems like I'm the only dev who thinks so, I've been outnumbered in #openttd. :( Right now tooltips are totally useless. Only experienced users know that tooltips open up on right click. But experienced users don't need tooltips at all. But the majority of the devs decided against it, so let's move on.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
User avatar
ThorRune
Tycoon
Tycoon
Posts: 5762
Joined: 09 Oct 2003 14:00
Location: Nordland, Norway
Contact:

Post by ThorRune »

The reasoning being? You don't like it? That's the worst reason around! Don't even count as a reason!
Alcohol is not the answer, it just makes you forget the question.
CruDeLioS
Engineer
Engineer
Posts: 19
Joined: 13 Jan 2005 13:21

Post by CruDeLioS »

If you consider tooltips to be totally useless, then either get rid of them or make them less discrete (read: onmouseover :P ).

I am relatively new to the TT world, and it took me a while to understand what buttons did, because of apparent lack of tooltips. Only later did I find out that I had to right-click to make them appear. Life would certainly have been easier if there were tooltips "on-the-fly"... My point: new users will be much more pleased with automatically appearing tooltips.

Even if right-clickable tooltips made sense back in the DOS days (although I'm not sure this was the case with the original DOS version of TT, since I never played it - but it would seem so, since OTTD uses that method), when a Graphical UI was still uncommon and therefore tooltips were pretty much unheard of, nowadays nearly every single program or game out there has tooltips on mouse over. So why differ?

My personal suggestion: a setting to enable/disable tooltips, which, when enabled, would appear onmouseover.
Bruno
Engineer
Engineer
Posts: 38
Joined: 15 Dec 2004 22:34
Location: Portugal

Post by Bruno »

CruDeLioS wrote:My personal suggestion: a setting to enable/disable tooltips, which, when enabled, would appear onmouseover.
I agree! ;)
User avatar
Muttley
Transport Coordinator
Transport Coordinator
Posts: 293
Joined: 14 Jan 2005 20:30
Location: New Zealand
Contact:

Post by Muttley »

Bruno wrote:
CruDeLioS wrote:My personal suggestion: a setting to enable/disable tooltips, which, when enabled, would appear onmouseover.
I agree! ;)
Ill jump on that bandwagon too. The mouse over as opposed to clicking suits me.
User avatar
ThorRune
Tycoon
Tycoon
Posts: 5762
Joined: 09 Oct 2003 14:00
Location: Nordland, Norway
Contact:

Post by ThorRune »

Allmost all professionally made, so to speak, programs and games use tooltips on mouse over. Might just be a reason for that :P
Alcohol is not the answer, it just makes you forget the question.
CruDeLioS
Engineer
Engineer
Posts: 19
Joined: 13 Jan 2005 13:21

Post by CruDeLioS »

I've done it (see attached screenie).

EDIT: here it is, the diff file!
Attachments
Setting to show tooltips
Setting to show tooltips
Unnamed, 5th Jan 1950.png (138.2 KiB) Viewed 1318 times
autotooltips.diff
diff file (link against rev 1551)
(4.54 KiB) Downloaded 366 times
Moriarty
Tycoon
Tycoon
Posts: 1395
Joined: 12 Jun 2004 00:37
Location: United Kingdom of Great Britain and Northern Ireland
Contact:

Post by Moriarty »

Allmost all professionally made, so to speak, programs and games use tooltips on mouse over. Might just be a reason for that
And on top of that, a good number of those games also give you the OPTION to disable them, or change the amount of time it takes for them to pop-up, thus negating Darkvators "not another option" arguement.

As i've already said i'm in neither camp. I don't like tooltips popping up (like darkvator & co.) but i appreciate that newbies don't know how to access them. Thus an option that defaults to on but can be turned off (or be set to present behaviour).


Simply not implementing them because you don't want another option is illogical. It strikes me that the devs often neglect to remember the KISS principle.
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7596
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

Im for this :wink:
Image
User avatar
ThorRune
Tycoon
Tycoon
Posts: 5762
Joined: 09 Oct 2003 14:00
Location: Nordland, Norway
Contact:

Post by ThorRune »

the KISS principle.
Wich is?
Alcohol is not the answer, it just makes you forget the question.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 23 guests