Community
Participate
Working Groups
Created attachment 243477 [details] Tooltip shown in RCP We are currently migrating from RAP 1.5.1 to RAP 2.x. We discovered, that the tooltips on the disabled actions in our toolbar do not appear, while the tooltips on enabled actions do appear. Tooltips on disabled actions worked together with RAP 1.5 (and with RAP 1.3, which we used before). I tested the behaviour with RAP 2.0, 2.1, 2.2 and 2.3 RC1 and none of them shows the tooltip. To get a short impression just compare the save action in an Eclipse RCP toolbar with the one from the RAP Workbench Demo (http://rap.eclipsesource.com/demo/release/workbenchdemo/workbench).
Usually, disabled widgets do not show tooltips - Buttons/Combo for example. Same is valid for disabled ToolBar, but not for disabled ToolItem. The call to EventHandler.js#_onmouseevent_special_post is surrounded with widget (target) enablement check, which is missing in RAP prior 2.0. To fix this issue we need a special handling for (at least) ToolItem.
Is there any Plan to change the current behaviour? The typical use case is to give the user an information, WHY the ToolItem is disabled.