Disable roll over popups in combobox item renderers.

Due to JFX bug https://bugs.openjdk.java.net/browse/JDK-8265835
This commit is contained in:
jmacxx 2022-02-21 12:54:51 -06:00
parent b739b4c347
commit a9630feb19
No known key found for this signature in database
GPG Key ID: 155297BABFE94A1B
2 changed files with 7 additions and 0 deletions

View File

@ -74,6 +74,12 @@ public class InfoAutoTooltipLabel extends AutoTooltipLabel {
setGraphic(textIcon);
}
// May be required until https://bugs.openjdk.java.net/browse/JDK-8265835 is fixed.
public void disableRolloverPopup() {
textIcon.setOnMouseEntered(null);
textIcon.setOnMouseExited(null);
}
private void positionAndActivateIcon(ContentDisplay contentDisplay, String info, double width) {
textIcon.setOpacity(0.4);
textIcon.getStyleClass().add("tooltip-icon");

View File

@ -959,6 +959,7 @@ public class GUIUtil {
MaterialDesignIcon icon = getIconForSignState(signState);
label.setIcon(icon, info);
label.disableRolloverPopup(); // see https://github.com/bisq-network/bisq/issues/6059
}
setGraphic(label);
} else {