Open Lawqup opened 1 year ago
Ah, XMonad makes sense. I run i3 and haven't had any issues. I've also run it on GNOME without issue.
A few things:
~/.java/.userPrefs/dslabs
.4 Fixed the issue! I wonder why this occurs....
Thanks!
This page has a bit more: https://wiki.haskell.org/Xmonad/Frequently_asked_questions#Problems_with_Java_applications.2C_Applet_java_console
It appears that Xmonad is non-reparenting, and the Java GUI library doesn't properly recognize this fact.
It also looks like a better version of 4 is to set _JAVA_AWT_WM_NONREPARENTING=1
somewhere (like .profile
); you might run into issues with GTK with the solution from SO.
I'm going to leave this issue open for now. I don't particularly want to install Xmonad to test, but I bet you can detect Xmonad and set the _JAVA_AWT_WM_NONREPARENTING=1
environment variable in Java. If you (or anyone else) wants to do that, the right place is likely here where there are already some other platform-specific hacks: https://github.com/emichael/dslabs/blob/4c3c7c6cf4a6a0547b2b1be3e3c6b4822e5c630c/framework/tst/dslabs/framework/testing/visualization/DebuggerWindow.java#L95-L122
Describe the bug When running the visual debugger using either
./run-tests.py .. --debug ...
or./run-tests.py .. --start-viz ...
the display is very small and cannot be resized.Screenshots
Environment
java --version
): openjdk 17.0.6 2023-01-17