Community
Participate
Working Groups
The workaround for bug 403102 sends MouseExit events with wrong coordinates. This leads to very annoying and hard-to-reproduce bugs in text editor hovers. org.eclipse.jface.text.AbstractHoverInformationControlManager.Closer implements sophisticated mouse event handling that ensures the hover stays up as long as the mouse is somewhere around the trigger area or inside the hover. The wrong coordinates jeopardize these efforts. A prominent example is the EGit "Show Annotations" hover, which disappears when you e.g. move the mouse quickly over the "Diff to <sha-1> " label, or when you move it into the "Commit <sha-1>" label and then leave it on the left. To reproduce in SWT, run the attached snippet and then move the mouse swiftly from the left into the green field and then leave through the bottom border of the green field. The trap with the window-relative coordinates was laid with bug 94502. It evades me why it should make sense to use different coordinate systems depending on is_hint... Fix is ready.
Created attachment 260678 [details] Snippet
Fixed with http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=630b304075d36e3308557578adf2ff7fc06bcfa8
Verified on Ubuntu Mate 16.04 with I20160426-1615