enthought / pyface

pyface: traits-capable windowing framework
Other
106 stars 55 forks source link

Menu action tooltips don't show #753

Open jonathanrocher opened 3 years ago

jonathanrocher commented 3 years ago

When running the examples/tasks/advanced/run.py, even after adding tooltips to TaskActions, these tooltips don't appear on hover on the menu. For Qt>5.1, they should per this. Marking this as a bug since Action objects have tooltip attribute but they don't show up when set. It aguably could be an enhancement too.

Per https://stackoverflow.com/questions/21725119/why-wont-qtooltips-appear-on-qactions-within-a-qmenu, apparently, 2 things must happen:

Seen with python 3.6 on current master on OSX (w/ traitsui 7.0.1-1, traits 6.1.0-1, qt 5.12.6-5, pyqt5 5.14.2-3).

corranwebster commented 3 years ago

We want to be a little careful with this: