musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.16k stars 2.64k forks source link

Header/footer special symbols tooltip closes too quickly #23241

Open Riley-Sullivan opened 3 months ago

Riley-Sullivan commented 3 months ago

Issue type

UX/Interaction bug (incorrect behaviour)

Bug description

The header/footer tooltip disappears after about 5 seconds, too quickly to be able to view all the options. Other tooltips in the app are visible for a full 10 seconds.

Steps to reproduce

  1. Go to Format > Style > Header & Footer.
  2. Hover the mouse cursor over any of the header or footer fields to display the special symbols tooltip, and keep the cursor there.
  3. See issue: the tooltip disappears after about 5 seconds.

Note that if you hover over the "Show on first page" checkbox, its tooltip remains for about 10 seconds.

Screenshots/Screen recordings

No response

MuseScore Version

4.3.1

Regression

No.

Operating system

macOS 12.7.2

Additional context

Same behavior in MS3. It's actually a MS2 regression. In MS2, the tooltip stated open for over a minute.

Jojo-Schmitz commented 3 months ago

Culprit code: https://github.com/musescore/MuseScore/blob/a0639b1a5d4904c7c117cffff7af71ada24c50b6/src/notation/view/widgets/editstyle.cpp#L1404-L1407

Specifies how long time the tooltip will be displayed, in milliseconds. If the value is -1 (default) the duration is calculated depending on the length of the tooltip.

That over a minute in Mu2 was clearly a bug, fixed there and is still needed.

If changing that to 10 seconds is desired, you can assign the issue to me.

I can't reproduce that toolTop showing when hovering over "Show on first page". It does show when hovering over "Header" and "Footer" though. The only way to prevent that would be to attach the toolTip to the 12 input fields instead of the 2 sections. Not sure that'd be something to do.

Eism commented 3 months ago

I would suggest not limiting the display time of the tooltip for these fields at all, because the text there is very long and it seems to me that 10 seconds will not be enough for the user to read

if we can't no limit the display time then two minutes looks good to me.

Jojo-Schmitz commented 3 months ago

I disagree: that huge toolTip covers large parts of the screen and also those where you try to input stuff.

Would be different if it were a 'normal' dialog window you could grab and move aside. But it isn't ...

Any you can re-display it any time, for another 10 seconds ;-)

cbjeukendrup commented 3 months ago

IMO, the real solution is not making it a tooltip at all, but simply an always-visible text area at the bottom of the dialog. We could make it expandable/collapsible, but I don't even think that's necessary, because it won't get in the way in any way. (Of course, this would require that we make that page scrollable, but I think it already is.)

Jojo-Schmitz commented 1 month ago

Came up again in https://musescore.org/en/node/368199

Jojo-Schmitz commented 4 weeks ago

Came up again in And https://musescore.org/en/node/36448 and https://musescore.org/en/node/368418

cbjeukendrup commented 4 weeks ago

How about something like this?

Scherm­afbeelding 2024-09-09 om 18 26 10
Jojo-Schmitz commented 4 weeks ago

Looks good to me

Riley-Sullivan commented 3 weeks ago

I like that Casper. Does your fix also remove the tooltip completely? It probably should, right?

cbjeukendrup commented 3 weeks ago

Yes, it does.