-
Notifications
You must be signed in to change notification settings - Fork 3
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
Problems with non-reparenting window manager support. #22
Comments
According to @chris-statzer the default LAF does works fine. |
@chris-statzer has some workarounds on the environment side, that he says will share later. On our side, we could provide a property or command-line parameter that stops use of the system LAF upon startup. Since this is a demo app, it's not a big deal, but the discussion here will be also useful in gngr, since we are using the system LAF there too. |
I was able to reproduce this problem on
I guess it is similar to the problem that @chris-statzer faced with Both the workarounds mentioned in this wiki page worked fine:
I have not tried other tiling WM yet. |
wmname seems to achieve the same effect as the second workaround above. (tip from @chris-statzer on IRC) |
Running swing-htabs-v0.0.jar while using a non-reparenting window manage like AwesomeWM, Xmonad, or dwm only a grey box is shown. This seems to be a problem with java having a hard coded list of window managers that support this parenting strategy. Some apps like minecraft have fixed this issue in current versions, but was present in earlier versions.
There are solutions and tools for users to fix this behavior. OpenJDK supports an environment variable, and there are a few tools that can 'fudge' the name of the window manager to one supported on the list.
Info from arch wiki's XMonad page: "The standard Java GUI toolkit has a hard-coded list of "non-reparenting" window managers. Since xmonad is not in that list, there can be some problems with running some Java applications. One of the most common problems is "gray blobs", when the Java application renders as a plain gray box instead of rendering the GUI."
This is reproducible for sure on Ubuntu 14.04 64bit under the Awesome window manager using java version "1.7.0_72", but I think it's present on all combinations and versions.
The text was updated successfully, but these errors were encountered: