Tooltips won't show on buttons once they are disabled then re-enabled. This happens because Ext.button.Button.setTooltip() is called too early when re-enabling a button (Ext.button.Button.onEnable()) and it only sets the respective DOM attributes in a "disable layer" added to the button for the purpose of showing tooltips when the button is disabled. It needs to clear the tooltip attribute in the layer, but add it back to the button itself while re-enabling it. Yet, the current logic must be retained in case a tooltip is assigned to a button that is already disabled.
Found: 5.2.0 Ext.NET forums thread: Tooltip on initially disabled button Sencha thread: Tooltips not working when button is disabled. Intended? Sencha ticket: 52467 Sencha issue: EXTJS-28965
Tooltips won't show on buttons once they are disabled then re-enabled. This happens because
Ext.button.Button.setTooltip()
is called too early when re-enabling a button (Ext.button.Button.onEnable()
) and it only sets the respective DOM attributes in a "disable layer" added to the button for the purpose of showing tooltips when the button is disabled. It needs to clear the tooltip attribute in the layer, but add it back to the button itself while re-enabling it. Yet, the current logic must be retained in case a tooltip is assigned to a button that is already disabled.Sencha fiddle reproducing the issue: button tooltip issue in extjs 7.3.1.