You are not logged in.
I can't run Pycharm nor VisualVM from dmenu without the apps being wrongly displayed (blanked background). The same happens when I run Pycharm directly from xmonad with a binding. But everything works fine when I open them from the command line.
Both apps appear to depend on java but so does intellij and it works fine. I would imagine this has to do with xmonad missing some environment variable. But which one could it be, and how can I fix it? Also if you know any troubleshooting tool to find out if a window is using Qt, AWT, ..., along the lines of xprop, I'll take it ![]()
Thanks
Last edited by Yann21 (2021-03-26 21:32:43)
Offline
It's very likely this known issue. Try those suggested fixes first before digging too deep into xprop, etc.
Offline
That was spot on, thanks 1280.
After adding
export _JAVA_AWT_WM_NONREPARENTING=1as mentioned and rebooting, Pycharm works like a charm :^)
From what I understood xmonad and other suckless window manager don't make use of reparenting. That's the process of adding a box behind top-level windows in order to have homogeneous decorations (bars, buttons) for every window. The Java GUI toolkit deals with this reparenting issue in an ad hoc manner with a hard-coded list. And it looks like xmonad simply didn't make the list.
Last edited by Yann21 (2021-03-26 21:34:24)
Offline