eclipse-windowbuilder / windowbuilder

Eclipse Windowbuilder
https://projects.eclipse.org/projects/tools.windowbuilder
Eclipse Public License 1.0
78 stars 30 forks source link

Fix: HTML Tooltip not show on Linux #849

Closed ptziegler closed 1 month ago

ptziegler commented 1 month ago

A "location changing" event is fired while the tooltip is constructed on Linux (but not on Windows). Because the listener for this event disposes the tooltip shell, the browser is closed before it is completed, resulting in the tooltip never being shown.

The purpose of this listener is to close the tooltip when a hyperlink has been clicked and to open the URL in the normal web browser. It is therefore sufficient to only add this listener AFTER the tooltip has been created and made visible, therefore ignoring all intermediate events.

Fixes https://github.com/eclipse-windowbuilder/windowbuilder/issues/842