|SWT, XULrunner, OS X and hover events not working [message #1006038]
||Tue, 29 January 2013 15:41
| chris alexander
Registered: January 2013
We have an Eclipse SWT (http://www.eclipse.org/swt/) application that makes use of several SWT Browser controls, backed by XULrunner. We are using SWT 4.2 and XULrunner 10.0.4esr (the latest release that is supported by SWT).
We are experiencing an issue only on OS X (we have tried every variant of Linux and Windows we can reasonably get our hands on). The issue is that within the browser window, mouse over and exit events are not triggered unless the element is clicked. For example, we have some content that uses Twitter Bootstrap's tooltips 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=246830) which references an Apple issue, but unfortunately we can't seem to get access to that issue to see its status.
I have created this gist which minimally reproduces the issue: gist.github.com slash 4665145 (see notes at bottom for configuration and usage).
First of all, we were wondering if anyone has also experienced this issue and found a way to fix it. We were also wondering if anyone is able to provide a workaround for this issue. I have started to formulate something around using SWT's 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.
Powered by FUDForum
. Page generated in 0.01722 seconds