-
Bug
-
Resolution: Fixed
-
P3
-
8, 9, 11, 14, 15
-
b24
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8266548 | 15.0.4 | Yuri Nesterenko | P3 | Resolved | Fixed | b02 |
JDK-8266544 | 13.0.8 | Yuri Nesterenko | P3 | Resolved | Fixed | b02 |
JDK-8257587 | 11.0.11-oracle | Sergey Bylokhov | P3 | Resolved | Fixed | b01 |
JDK-8258398 | 11.0.11 | Sergey Bylokhov | P3 | Resolved | Fixed | b01 |
JDK-8266871 | 8u311 | Sergey Bylokhov | P3 | Resolved | Fixed | b01 |
https://github.com/AdoptOpenJDK/openjdk-support/issues/4
I was able to reproduce this with latest jdk/jdk on Fedora 30. It appears the original fix in 8,
Steps:
Install the gnome-tweak-tool
sudo add-apt-repository universe
sudo apt install gnome-tweak-tool
Run the following code snippet
import javax.swing.*;
public class ThemeCrash {
public static void main(String ... args) {
SwingUtilities.invokeLater(() -> {
try {
UIManager.setLookAndFeel(UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel"););
JOptionPane.showMessageDialog(null, "test");
} catch (Throwable ignore) { }
});
}
}
Observe that the "Ok" button can be clicked.
Launch Gnome Tweak Tool. From the "Appearance" tab, change the theme from "Adwaita (default)" to "Adwaita-dark"
Observe that the "Ok" button can no longer be clicked.
- backported by
-
JDK-8257587 [Regression] Switch of Gnome theme ends up in deadlocked UI
- Resolved
-
JDK-8258398 [Regression] Switch of Gnome theme ends up in deadlocked UI
- Resolved
-
JDK-8266544 [Regression] Switch of Gnome theme ends up in deadlocked UI
- Resolved
-
JDK-8266548 [Regression] Switch of Gnome theme ends up in deadlocked UI
- Resolved
-
JDK-8266871 [Regression] Switch of Gnome theme ends up in deadlocked UI
- Resolved
- relates to
-
JDK-7123957 Switch of Gnome theme ends up deadlocked in GTKEngine.native_switch_theme (regression in Java 7)
- Closed
-
JDK-8145547 [AWT/Swing] Conditional support for GTK 3 on Linux
- Resolved
- links to
-
Commit openjdk/jdk13u-dev/9ed07b90
-
Commit openjdk/jdk15u-dev/5626db38
-
Commit openjdk/jdk/a7f46919
-
Review openjdk/jdk13u-dev/197
-
Review openjdk/jdk15u-dev/43
-
Review openjdk/jdk/932