Closed zDEFz closed 2 months ago
@zDEFz @rednoah
It's related to [https://wiki.archlinux.org/title/Java#Gray_window,_applications_not_resizing_with_WM,_menus_immediately_closing]() with more than one solution.
Should there be any check to distinguish if wayland/x11 is running before setting the variable?
AFAIK, this workaround is specifically for wayland in combination with certain window managers. I strongly support a check for "is wayland" or "not is x11" so that we don't inadvertently introduce issues with currently happy x11 users.
Maybe just grabbing $XDG_SESSION_TYPE ?
I pushed a test best-effort PR. Working for me on sway.
Reported I need to set env variable _JAVA_AWT_WM_NONREPARENTING=1 to make filebot show up in Wayland - in my case Sway. I know that I won't set it globally as it would have ill effects. So this tweak I applied in my alias and the desktop file.
Author rednoah says: If _JAVA_AWT_WM_NONREPARENTING fixes the issue then so be it. Please report the issue to the AUR package maintainers.
Before:
After: