Re: Tooltip bugs revisited

"corvid" <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <20121111211808.GA32173@local>
Jorge wrote:
>   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.

Does this work for you?

_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
leave_viewport.diff (text/plain, 362 B)
diff -r 8b4259cdc6da dw/fltkviewport.cc
--- a/dw/fltkviewport.cc	Sat Nov 10 17:55:34 2012 +0000
+++ b/dw/fltkviewport.cc	Sun Nov 11 21:14:40 2012 +0000
@@ -318,6 +318,10 @@
       mouse_y = Fl::event_y();
       positionChanged();
       break;
+
+   case FL_LEAVE:
+      mouse_x = mouse_y = -1;
+      break;
    }
 
    return FltkWidgetView::handle (event);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.