Steps to reproduce:
- Set up a number of tracks with different volumes
- Now place mouse over the Volume dial to get the exact setting
- Using the up and down keys to change tracks, the other components in the Instrument Parameters change
- However, the volume in the tool tip is the only one that does not change, although the volume dial is seen to rotate behind it
Desired behavior:
- The volume value shown in the toot tip should change along with the other components in that section when the track changes
- Ideally, the timer should be reset too, so that it stays in view as though the user just placed it there when the track changed...currently it disappears.
In other words, the user should be able to see the exact volumes for all MIDI tracks simply by using the up and down keys. I'm not saying that is easy to achieve, it but it should work that way.
This may be tricky. As far as I know Qt does not provide for explicitly updating a visible tooltip. Note - the behaviour is the same for all parameters - not just volume.
Looks like there is a solution:
https://stackoverflow.com/questions/47991529/live-updaing-of-widgets-tool-tip-when-the-tool-tip-is-shown
Last edit: Ted Felix 2026-02-20
Wow. Thank for finding that.
Unfortunately it is a bit complicated. The
QTooltip::isVisiblecall returns true if ANY tooltip is open. I built in a check to find the correct widget. Hopefully it works. I set the timer for the tooltip to 100s - that seems to work OK.See merge request.
Merged as [d39555]. Please test latest git.
Looks ok to me. I couldn't find a way to break it.
Related
Commit: [d39555]
Very nice...works perfectly. And a useful addition seeing that there was no workaround to scan through the tracks focusing on a particular control like that.