Wings 3D Development Forum

Full Version: Tooltips in command menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,

I'm trying to get rid of the tooltips on the command menu. Did try by adding

wxToolTip:enable(false)

and by removing

[wxWindowConfusedetToolTip(Win, wxToolTip:new(TipMsg)) || Win <- [Panel,T1,T2|BM]],
in
https://github.com/dgud/wings/blob/maste...u.erl#L493

but not much luck. Could somebody point me in the correct direction?

thanks...
Tool tips are used as information for the mouse options as well as a way to show the hotkey assigned to each one.
What's the reason to try remove them?
Micheus,
I do not know for sure what his reason is, but maybe he is a more advanced user who does not want to see them???

I think other programs offer the option of not displaying them as well. If they cannot be removed maybe add an option to control how long it takes before they are displayed???

Thanks,
oort
Thanks for the reply.
The problem with the tooltip is that it obscures the other menu entries (view screenshot in attachment). So if I select a few edes, RMB click and want to locate "circularise" in the menu it's possible the tooltip is already over the menu entry, making it harder to locate.

The tooltip text is also already present at the bottom of the wings3d window.

I'm using Fedora24 so maybe the problem is not present in windows.
brunokindt,
In Windows the tooltip does not cover the menu like it does for you. As a work around, you can move the mouse away from the text in the popup menu and the tooltip goes away. At least that works in Windows...

We will have to see if there is a better solution from Micheus or dgud.

p.s. The tooltips showing by the cursor is a new feature (that many wanted) added since the switch to wxwidgets.

oort
This line (and another similar line) is was sets them, so out-comment them should solve that.

[wxWindowConfusedetToolTip(Win, wxToolTip:new(TipMsg)) || Win <- [Panel,T1,T2|BM]],
Removing the two wxWindowConfusedetToolTip lines was the first thing I tried but wings would not build anymore. Had another look at the build error.

compile: warnings being treated as errors
wings_menu.erl:454: variable 'TipMsg' is unused
Makefile:168: recipe for target '../ebin/wings_menu.beam' failed

Renaming TipMsg to _TipMsg resolved the issue.