javafx 文件选择器在V23版本不兼容 #3837
-
在V23版本打开javafx的文件选器,文件选择器界面空白,且会导致系统UI卡死,并退出到系统登录界面,再次登录会黑屏,并且无法进入 public void start(Stage primaryStage) throws Exception{
Button button = new Button();
button.setOnAction(e->{
FileChooser fileChooser = new FileChooser();
fileChooser.showOpenDialog(primaryStage);
});
primaryStage.setScene(new Scene(button));
primaryStage.show();
} 1677639577797.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 18 replies
-
java 的版本以及jfx的版本是多少 我试试 |
Beta Was this translation helpful? Give feedback.
-
可执行demo文件,java17,jfx_17.0.2 |
Beta Was this translation helpful? Give feedback.
-
java调起文件管理器应该使用的也是 |
Beta Was this translation helpful? Give feedback.
-
在v23上运行的时候就错误日志了,uos上试了没这个情况 (java:7091): GLib-GObject-CRITICAL **: 17:27:01.027: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
(java:7091): dbind-WARNING **: 17:27:01.062: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(java:7091): GLib-GObject-CRITICAL **: 17:27:01.140: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed |
Beta Was this translation helpful? Give feedback.
-
崩溃的原因是调用dde-file-dialog后内存泄漏触发oom, 系统直接把很多进程都杀了,我今天想办法排查一下原因 |
Beta Was this translation helpful? Give feedback.
-
可能解决了,你过几天试试 |
Beta Was this translation helpful? Give feedback.
-
https://bbs.deepin.org/post/256432 deepin v23已经修复此问题 |
Beta Was this translation helpful? Give feedback.
https://bbs.deepin.org/post/256432 deepin v23已经修复此问题