• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Programming v
« Previous 1 2 3 4 Next »
Tooltips in command menu

 
  • 0 Vote(s) - 0 Average
Tooltips in command menu

brunokindt
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Oct 2016
#1
10-22-2016, 12:57 PM
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...
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,676
Threads: 183
Joined: Jun 2012
#2
10-22-2016, 03:01 PM
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?
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
oort
Offline

3D Obsessed

Posts: 1,184
Threads: 69
Joined: Nov 2012
#3
10-22-2016, 03:15 PM
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
brunokindt
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Oct 2016
#4
10-22-2016, 03:34 PM
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.


Attached Files Thumbnail(s)
   
oort
Offline

3D Obsessed

Posts: 1,184
Threads: 69
Joined: Nov 2012
#5
10-22-2016, 04:04 PM (This post was last modified: 10-22-2016, 04:09 PM by oort.)
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
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#6
10-22-2016, 05:21 PM
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]],
brunokindt
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Oct 2016
#7
10-22-2016, 05:59 PM
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.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode