Comment 1 for bug 691864

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

I agree that the tooltips shouldn't be in the skin.xml. Were you thinking we would automatically figure out the tooltip to display based on the connections? We could also switch to an ID system that works like this:

Deprecate the <Tooltip> section. Allow widget tags to take a tooltip="" attribute.

<Visual tooltip="waveform-display">

</Visual>

In the code, there will be a tooltips file that maps the tooltip IDs to their text. This way, we can submit the tooltip text for translations. If a skin designer would like to provide a custom tooltip or override a Mixxx default one, they can make a tooltips.xml to stick in their skin folder. It could look like this:

<tooltips>
<tooltip id="waveform-display" language="en">Custom text for waveform tooltip</tooltip>
<tooltip id="waveform-display" language="fr">...</tooltip>
</tooltips>

This should be discouraged since the skin designer will have to provide translations for their tooltips, but it will still allow them to make custom tooltips, while using the Mixxx provided ones by default. What do you think?