Additional custom Tooltip possible?

Asked by ronso0 on 2016-09-08

Is it possible to add a custom Tooltip text, i.e. for custom buttons or for buttons where custom right-click actions are defined?
I have button templates (button_2state.xml) with
<TooltipId><Variabe name="ToolTipID"/></TooltipId> and
<Tooltip><Variabe name="ToolTip"/></Tooltip> for custom Text.
When I set custom Tooltip popup with correct text string is displayed.
When Tooltip is empty, but standard TooltipId is set, I see either Hotkey popup or nothing.

Is <Tooltip> still supported at all?
Edit: I see it's used in Deere skin and working: <TooltipId> is overwritten by <Tooltip>

Example:
Sync Button
 * left-click: sync bpm > TooltipId
 * right-click: reset rate > custom Tooltip

Question information

Language:
English Edit question
Status:
Answered
For:
Mixxx Edit question
Assignee:
No assignee Edit question
Last query:
2016-09-08
Last reply:
2016-09-08
Daniel Schürmann (daschuer) said : #1

TooltipId is ignored when Tooltip is set as well.

https://github.com/mixxxdj/mixxx/blob/78658a5df3cec0f2537736ed3c3df1ad7b7186b4/src/skin/legacyskinparser.cpp#L1818

You issue should be covered by https://bugs.launchpad.net/mixxx/+bug/1282903
The related Pull-Request has never made it to master:
https://github.com/mixxxdj/mixxx/pull/181

ronso0 (medontknow) said : #2

Okay, thanks.

Can you help with this problem?

Provide an answer of your own, or ask ronso0 for more information if necessary.

To post a message you must log in.