Jorge Arellano Cid
2012-11-11 18:57:01 UTC
Hi there,
These days I've devoted some more effort to the tooltips bug [1]
and its workaround patch [2]. The motivation is that the current
workaround involves a full UI and viewport expose (i.e. a full
erase/redraw) that produces annoying flickering when the mouse is
in the UI but outside the viewport (e.g. over the panel).
Over time I've learnt to move the mouse pointer outside the
panel and into the viewport to scroll without flickering (but
probably I'm among the few that know this trick).
So far (and despite the warning inside FLTK), I've experimented
with a custom tooltip handling class, and a couple custom UI
widgets, that seem to work well together (i.e. solve the problem
without the workaround :) ).
Testing revealed the workaround concealed another problem,
which I don't remember whether it was detected before, and this
is that viewport mouse events get "through" the panel UI!.
How?, placing the mouse pointer over the panel (e.g. to the
right of the Tools button, or even inside the Location), and
scrolling a page full of links under it, will make the mouse
pointer change to a hand, and the destination link appear in the
status bar area.
This bug is revealed by disabling the workaround: just apply
the small attached patch.
Clearly there's a viewport offset problem somewhere. Correcting
it may save us lots of headaches in the future.
Does anybody know or has a clue of where this may be happening?
TIA.
[1] http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-July/008494.html
[2] http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-July/008515.html
These days I've devoted some more effort to the tooltips bug [1]
and its workaround patch [2]. The motivation is that the current
workaround involves a full UI and viewport expose (i.e. a full
erase/redraw) that produces annoying flickering when the mouse is
in the UI but outside the viewport (e.g. over the panel).
Over time I've learnt to move the mouse pointer outside the
panel and into the viewport to scroll without flickering (but
probably I'm among the few that know this trick).
So far (and despite the warning inside FLTK), I've experimented
with a custom tooltip handling class, and a couple custom UI
widgets, that seem to work well together (i.e. solve the problem
without the workaround :) ).
Testing revealed the workaround concealed another problem,
which I don't remember whether it was detected before, and this
is that viewport mouse events get "through" the panel UI!.
How?, placing the mouse pointer over the panel (e.g. to the
right of the Tools button, or even inside the Location), and
scrolling a page full of links under it, will make the mouse
pointer change to a hand, and the destination link appear in the
status bar area.
This bug is revealed by disabling the workaround: just apply
the small attached patch.
Clearly there's a viewport offset problem somewhere. Correcting
it may save us lots of headaches in the future.
Does anybody know or has a clue of where this may be happening?
TIA.
[1] http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-July/008494.html
[2] http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-July/008515.html
--
Cheers
Jorge.-
Cheers
Jorge.-