Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NB20rc2 Crashes the Whole Desktop on Wayland with FlatLaf Window Decorations #6627

Closed
lkishalmi opened this issue Oct 26, 2023 · 4 comments
Closed
Labels
can not reproduce kind:bug Bug report or fix needs:triage Requires attention from one of the committers

Comments

@lkishalmi
Copy link
Contributor

Apache NetBeans version

Apache NetBeans 20 release candidate

What happened

I've been testing Wayland for a few days, since upgraded my main Laptop to 23.10, in order to test #6587.
On NB20-rc1 was running fine, except the mentioned issue (however I have not tested that really hard).

After yesterday drop of rc2, I've checked #6587 again, which is really solved, however after a few popups (code completion, context menus), my whole desktop hangs and I have to reboot my system.

This only happened in the combination of using Wayland and FlatLaF window decorations enabled.

I'm continuing the testing, feeding more details here as they come.

How to reproduce

Use NetBeans in Wayland (XWayland) with FlatLaF when the Window Decorations feature is switched on.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Ubuntu 23.10

JDK

OpenJDK 21

Apache NetBeans packaging

Apache NetBeans Snap Package

Anything else

No response

Are you willing to submit a pull request?

No

@lkishalmi lkishalmi added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Oct 26, 2023
@neilcsmith-net
Copy link
Member

Have you tried with the FlatLaf natives library disabled? eg. https://github.com/JFormDesigner/FlatLaf/blob/main/flatlaf-core/src/main/java/com/formdev/flatlaf/FlatSystemProperties.java#L169

I think that only uses X11 so I suspect some bad interaction with the Wayland compatibility layer?

@mbien
Copy link
Member

mbien commented Oct 26, 2023

you can't recover from that freeze with ctrl+alt+F6 (or other F keys) to switch to another session? From there you can kill the process which often recovers freezes without having to hard reset. (I never used wayland outside of virtual environments though, this works for X fairly well though)

@lkishalmi
Copy link
Contributor Author

lkishalmi commented Oct 26, 2023

It seem multi and or external monitor setup is needed to reproduce the issue.

Probably even rc1 was affected, though I was solely on my laptop display, till got back home. Still testing.

@lkishalmi
Copy link
Contributor Author

Well, it happened with me two times this morning, not ever since. Tested on another computer of mine with Ubuntu 23.04 and 23.10 again. Nothing.

Further research indicates, that there could be an issue in the amdgpu driver in Linux Kernel 6.5.x which Ubuntu 23.10 uses. We had a Kernel update today, i hope that one fixed this for me, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can not reproduce kind:bug Bug report or fix needs:triage Requires attention from one of the committers
Projects
None yet
Development

No branches or pull requests

3 participants