| Summary: | java applications do not render their UI any more | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | slartibart70 |
| Component: | xwayland | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | grave | CC: | kde, nate |
| Priority: | VHI | Keywords: | regression |
| Version First Reported In: | 6.4.80 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| URL: | https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8357697 | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/167b331943c757f92766ca34f99fdd5b02d685bf | Version Fixed/Implemented In: | 6.5.0 |
| Sentry Crash Report: | |||
|
Description
slartibart70
2025-05-23 09:20:32 UTC
Operating System: Fedora Linux 42 KDE Plasma Version: 6.4.80 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.0 Kernel Version: 6.14.7-301.fc42.x86_64 (64-bit) Graphics Platform: Wayland another effect: if the app (if i hit the right spot, of course when clicking blindly in the app) opens a subwindow, like 'settings' or 'about' then the window contents are drawn initially and correctly. But, the window-contents do not react on any resizing of the window - they are stuck to their initial size another machine i did not update is running Operating System: Fedora Linux 42 KDE Plasma Version: 6.3.80 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.0 Kernel Version: 6.14.5-300.fc42.x86_64 (64-bit) Here, java apps are still fine I can confirm jdownloader not rendering the contents. Recently we made kwin a non-reparenting window manager. Unfortunately, JDK has hardcoded that kwin is a reparenting window manager. As a workaround, try setting _JAVA_AWT_WM_NONREPARENTING=1 environment variable. can confirm: The workaround fixes jdownloader and dbvisualizer A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5518 Git commit 167b331943c757f92766ca34f99fdd5b02d685bf by Vlad Zahorodnii. Committed on 27/05/2025 at 06:37. Pushed by vladz into branch 'master'. startkde: Set _JAVA_AWT_WM_NONREPARENTING environment variable AWT has a hard coded list of non-reparenting window managers. If a Java application misdetects that the window manager reparents windows, it can reject ConfigureNotify events and paint nothing on the screen. Recently, kwin_wayland had been changed so it doesn't reparent windows anymore. This broke some Java applications because of hardcoded WM behaviors in AWT. There is no "nice" way to fix it, but an environment variable can be set to instruct AWT that it's a non-reparenting window manager. M +2 -0 startkde/config-startplasma.h.cmake M +10 -0 startkde/startplasma-wayland.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/167b331943c757f92766ca34f99fdd5b02d685bf |