SWT, XULrunner, OS X and mouse hover events
Chris Alexander <[email protected]> Tue, 29 Jan 2013 07:45:55 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.embedding |
|---|---|
| Message-ID | <[email protected]> |
Hi all, We have an Eclipse SWT (http://www.eclipse.org/swt/) application that makes= use of several SWT Browser controls, backed by XULrunner (https://develope= r.mozilla.org/en/docs/XULRunner). We are using SWT 4.2 and XULrunner 10.0.4= esr (the latest release that is supported by SWT). We are experiencing an issue only on OS X (we have tried every variant of L= inux and Windows we can reasonably get our hands on). The issue is that wit= hin the browser window, mouse over and exit events are not triggered unless= the element is clicked. For example, we have some content that uses Twitte= r Bootstrap=92s tooltips (http://twitter.github.com/bootstrap/javascript.ht= ml#tooltips) =96 on Windows and Linux these function as expected, but on OS= X the popups do not appear until the button they are on is clicked, and do= not disappear again until they are clicked again. There is an open bug with SWT for this (https://bugs.eclipse.org/bugs/show_= bug.cgi?id=3D246830) which references an Apple issue, but unfortunately we = can=92t seem to get access to that issue to see its status. I have created this gist which minimally reproduces the issue: https://gist= .github.com/4665145 (see notes at bottom for configuration and usage). First of all, we were wondering if anyone has also experienced this issue a= nd found a way to fix it. We were also wondering if anyone is able to provi= de a workaround for this issue. I have started to formulate something aroun= d using SWT=92s mouse listeners to track the cursor and trigger the events = manually but have not made much progress with such an approach. Any input or suggestions would be very much appreciated. Chris