Skip to content

Two tooltips are shown for some Knobs #8358

@messmerd

Description

@messmerd

System Information

Linux Mint 22

LMMS Version(s)

master (6f50f90)

Most Recent Working Version

unknown; works in 1.2.2

Bug Summary

Hovering over a Knob with a tooltip set via setToolTip will cause two tooltips to be shown:
One is the static tooltip displayed by QWidget due to the call to setToolTip, and the other is the dynamic floating text containing the current value of the Knob.

Expected Behaviour

Only one tooltip is shown at a time.

If setToolTip is called on a Knob, that text should be used for the tooltip when hovering over the Knob. This text is usually a simple description of what the Knob does - a traditional tooltip. However, if no static tooltip is set via setToolTip, the dynamic floating text should be displayed instead.

When dragging a Knob to adjust its value, or using the mouse wheel, only the dynamic floating text should be displayed regardless of whether the Knob has a static tooltip set via setToolTip.

Steps To Reproduce

  • Add one of these plugins to your project: LOMM, Compressor, or FreeBoy [these plugins all have Knobs that use setToolTip]
  • Hover your mouse over one of the plugin's Knobs.
  • Observe two tooltips instead of just one

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions