closed as off-topic by Hasan♦ May 13 at 7:09
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions about bugs and feature requests are off-topic because they cannot be resolved via Q&A. For more information on how to report issues, see How can I report an issue with elementary OS to the developers?" – Hasan
This is a known issue in Elementary OS due to their somewhat non-standard way of applying window decorations. Fortunately, there is a fix, but it must be applied on a per-application basis. In fact on the issue description itself on GitHub, there's a summary of how to fix it with Eclipse as a sample:
For those wondering how to change the .desktop file appropriately, set:
Exec=env GTK_CSD=0 <executable path>
For example for Eclipse I did this:
Exec=env GTK_CSD=0 /opt/eclipse/eclipse
So you'll want to edit the eclipse desktop file to add that
GTK_CSD=0 as an environment variable added before Eclipse executes.
You could also probably use App Editor to do the same, if you prefer a GUI.
I think it is related to gtk3 with eclipse. If you force it to use gtk2 it works. Had a similar issue with dbeaver which is eclipse based.