On 10/08/2025 16:51, Ted Felix wrote:
On 8/6/25 5:00 AM, Lorenzo Sutton wrote:
The (blue in my case) tooltip with just the value is still visible,
not sure if with the new tooltip this would be somewhat redundant?
The blue indicator is up while changing the value. The tooltip is
only available when hovering. It goes away the moment you click. They
are both needed unless we go with something more complicated.
Got it.
the large tooltip is often placed in ways that my (slightly larger
than average) mouse cursor arrow covers parts of it... The placement
of the tooltips (in general) seems to be calculated based on widget
position and cursor so I'm not really sure if this can be mitigated or
even calculated.
It looks like it can be overridden if we intercept the ToolTip event
and make a QToolTip on our own. QToolTip offers the ability to specify
the position. Qt will still display it at a fixed offset to that
position, but we can fudge the numbers to get whatever offsets we want.
It's a lot of work, though. I don't see a simple way to do this in
the API. QWidget lets you setToolTip() and setToolTipDuration() but no
setToolTipOffset(). Even better would be a more global setting that can
be in the preferences and affect all of Qt without needing to change any
existing code.
Seems like tooltips are handy but can be a headache maintaining as there
is variability in systems and toolkits. A similar thread which I started
on the Yoshimi mailing (Yoshimi uses FLTK so a different toolkit) seems
to raise similar "it's complicated" reactions.
Food for thought, as I'm not sure what kind of UX could replace or
integrate tooltips.
One idea might be some sort of dynamic 'status bar' or similar UI like
in web browsers where the target url is shown when you hover a
hyperlink. Actually it seems in most browsers the 'fixed' status bar was
removed and a sort of dynamic UI elemetns which hovers the widow is shown.
Considering that Rosegarden does have a (hide-able) status bare which is
empty when the knobs are hovered this might be a place to have that
info? Also I see the kind of message as analogous to what appears in the
status bar when for example you hover tracks in the main view...
Just an idea which came to my mind.
Lorenzo
_______________________________________________
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user