Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header/footer special symbols tooltip closes too quickly #23241

Open
Riley-Sullivan opened this issue Jun 14, 2024 · 4 comments · May be fixed by #23246
Open

Header/footer special symbols tooltip closes too quickly #23241

Riley-Sullivan opened this issue Jun 14, 2024 · 4 comments · May be fixed by #23246
Labels
community Issues we would like the community to address UX/interaction

Comments

@Riley-Sullivan
Copy link

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
Copy link
Contributor

Jojo-Schmitz commented Jun 14, 2024

Culprit code:

showHeader->setToolTip(toolTipHeaderFooter);
showHeader->setToolTipDuration(5000); // leaving the default value of -1 calculates the duration automatically and it takes too long
showFooter->setToolTip(toolTipHeaderFooter);
showFooter->setToolTipDuration(5000);

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.

@bkunda bkunda added the community Issues we would like the community to address label Jun 14, 2024
@Eism
Copy link
Contributor

Eism commented Jun 17, 2024

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
Copy link
Contributor

Jojo-Schmitz commented Jun 17, 2024

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
Copy link
Contributor

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Issues we would like the community to address UX/interaction
Projects
Status: Available
Status: In progress
Development

Successfully merging a pull request may close this issue.

6 participants