Re: [Denemo-devel] A new Tooltips scheme

2016-09-23 Thread Richard Shann
On Thu, 2016-09-22 at 23:03 +0200, Andreas Schneider wrote:
> What about putting the tooltips in a special area in the main window or
> in a separate window that is always there? Then one would not have the
> problems with the popups.

After trying those possibilities I realized that I could actually get
tool tips to pop up after a user-chosen delay and never popup obscured
by the menus themselves or other windows (and never take up space from
the actual music being entered); what I have done is to use a GtkMenu
widget - trying to use a GtkWindow of type popup didn't work.
Did you try it yet?
It is not difficult to "shake-off" a tooltip that has popped up when not
wanted with a shake of the mouse (into and out of the tip) or a click. I
would have preferred to mimic Gtk's tooltip behavior (apart of course
from the manic aspect) but I didn't manage that. This interaction is
better in some ways - the Gtk tooltip cannot be dismissed as long as
your mouse pointer remains on the widget it popped up for... that means
you cannot go on looking at the other things in the menu without moving
the cursor on to them, and then, of course, you may get another tooltip
popping up before you've finished reading. With the Denemo behavior you
can dismiss the tooltip and carry on reading down the list with no
danger of further tooltips until you move the pointer to a fresh widget.

Richard

> 
> Andreas
> 
> ___
> Denemo-devel mailing list
> Denemo-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/denemo-devel



___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] A new Tooltips scheme

2016-09-22 Thread Andreas Schneider
What about putting the tooltips in a special area in the main window or
in a separate window that is always there? Then one would not have the
problems with the popups.

Andreas

___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


[Denemo-devel] A new Tooltips scheme

2016-09-22 Thread Richard Shann
We have been plagued for some time by changes to Gtk which have made
tooltips unusable in some builds.
I've implemented a new tooltip system that won't be affected by what Gtk
does with its tooltips in future. It works somewhat differently
(unfortunately): you need to move the mouse over the item for the
tooltip to pop up. The tooltip can be dismissed either by quitting it or
by clicking - it won't reappear for the same item unless you first move
off the item and return. So in practice a shake of the mouse will remove
the tooltip, (in and out of the tip).
But, best of all the speed with which they pop-up is once again
controllable.
I've made this available for all builds, as that is the future proof way
to go.

Richard



___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel