MuseScore icon indicating copy to clipboard operation
MuseScore copied to clipboard

[MU4 Issue] Too long tooltips in palettes don’t wrap

Open akulisch opened this issue 1 year ago • 3 comments

Describe the bug Longer tooltips of symbols in the palettes don’t have enough space to be fully within their box.

To Reproduce

  1. Switch to German (for the examples below; same probably also happens in other languages; maybe even English)
  2. Hover mouse over (e.g.) “25 small diesis up, (25S, ~5:13S, ~37S, 5C plus 5C), 2° up [53 EDO]” or add the Accordion palette and hover over (e.g.) “Right hand, 3 ranks, 4' stop + lower tremolo 8' stop + 8' stop + upper tremolo 8' stop + 16' stop”

Expected behavior Either the tooltip box needs its maximum width removed, or, preferably, line breaks have to be inserted.

Screenshots image image image

Platform information

  • OS: Windows 10 Pro 10.0.19044 Build 19044
  • MuseScore Version: v4.0_alpha2

akulisch avatar Aug 10 '22 23:08 akulisch

Yes, this is super annoying. It would be great to simply have a character limit per line and then bump it down to a second line when needed.

Tantacrul avatar Aug 16 '22 17:08 Tantacrul

FYI @Tantacrul and all. Comment from @cbjeukendrup:

I fixed it for QML tooltips in general, so it should work for all of them, in Palettes, Inspector, Note Input Toolbar… However, the master palette is implemented in Qt Widgets. It uses Qt’s tooltip implementation, so it might be different from other tooltips, but we can’t influence that unfortunately.

So, there's no word cutting for now in Master palette but long words still don't wrap. Could be fixed in future

CleanShot 2022-09-21 at 16 41 56

abariska avatar Sep 21 '22 13:09 abariska

🟢 FIXED in https://github.com/musescore/MuseScore/pull/12801

abariska avatar Sep 21 '22 13:09 abariska