ICON set for JavaFX application is visible in Windows but not in Ubuntu

给你一囗甜甜゛ 提交于 2019-11-30 11:44:06

For people looking for solution, this is an open issue in the JDK issue tracker.

Gtk: Implement global system menu bar support

According to a comment by JavaFX developer on a similar issue :

Glass/FX currently doesn't support the global menu bar on GTK (RT-28202). As such, Glass doesn't set any application-wide hints to specify the application name or application icon. The desktop environment has to guess them itself (likely, using a window's title and icon). Hence, it is correct that the "app window" (#1 above) should always display the correct title, while the other 3 places may or may not display the correct title depending on timings. This is unlikely to change until RT-28202 is implemented.

RT-28202 was the issue id for the above linked issue before JavaFX issues was merged with JDK issues.

This issue has a very less no of votes and therefore hasn't attracted much interest. If you are registered as a contributor, feel free to vote for the issue.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!