Shadow on the PyCharm window
I am running PyCharm in Linux in WSL, and I use command line pycharm-professional & to launch PyCharm.
However, I can always see a dark colored shadow on the PyCharm window after I resize it.
Let's look into this example:

Can you see the dark block on the bottom horizontally across the Jupyter code block and the “Jupyter Variables” section?
Initially, this issue does not appear. But after I resize the PyCharm window to the size of the dark block, I see the whole window become dark as the block. Then after I maximize it, the area before maximizing is still as dark as before, but other area become light as normal.
Then we see this shadow.
This shadow also go with the PyCharm window. It stays there even if I drag the window into another monitor.
请先登录再写评论。
This is my PyCharm version:
Are there any ways to trigger an auto fix for PyCharm Software without damaging any other settings?
More discoveries!
I can use Win+Shift+Left Arrow or Win+Shift+Right Arrow to relocate the PyCharm window to different monitors WITHOUT creating the shadows. The PyCharm window remains full screen even in different monitors.
However, if I resize it in one of the monitors to make it not full screen, and then use the same way to relocate it. I see PyCharm window did not move to the different monitors, but the shadow did!
Then PyCharm crashed and I got this error log:
This attachment is Gemini's response. I tried the first way, but it doesn't work.
Thanks for the report and the screenshot.
This is a known issue with PyCharm's native Wayland mode under WSL, tracked as JBR-10006. The dark "shadow" comes from Wayland shadow rendering in that environment.
To remove it now:
-Dsun.awt.wl.Shadow=falseThe fix is included in PyCharm 2026.1.3 and 2026.2, so updating once 2026.1.3 is available will resolve it permanently. That update also improves Wayland stability under WSL, which covers the crash you saw when moving the window between monitors.
You can follow JBR-10006 for updates. See how to watch a YouTrack issue to get notified when the fix ships.