Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eclipse scaling issue on extended display

My setup is one DELL XPS 13 laptop(3200 x 1800, Windows 10), two extended displays(1680x1050) connected to the laptop via a dell thunderbolt dock.

My problem is on the xps13 eclipse displays properly, but on the extended displays, icons and fonts of the eclipse are extremely large.

None of the following works:

  1. different versions(Oxygen, Neon, Mars)
  2. close the dell xps lid or turn of its screen.
  3. set dell xps resolution to 1920x1080
  4. set Dsun.java2d.dpiaware=true
like image 820
C Han Avatar asked Dec 05 '17 15:12

C Han


People also ask

How do I change the scaling on my external monitor?

Go to “Start Menu > Settings > System > Display” and choose the monitor you want to scale. You can also click on “Identify” if you are unsure what monitor to select. Scroll down to the “Scale and layout” option and select a percentage from the dropdown menu.


1 Answers

This seems to be related to the differing scaling factors between the monitors. Eclipse seems to take the scaling factor from the "main" display all the time, instead of taking the it from the extended displays when you move it to there. I have an XPS 15 and have this issue.

Workarounds that worked for me:

  1. Set one of your extended displays as your "main" monitor. Eclipse will now grab the scaling factor from that monitor, which should make it look correct there.
  2. Set the current "main" monitor (which I assume is your laptop's native screen) to scale at 100%, sign out, sign back in, and start Eclipse.

The downside to these workarounds is that Eclipse will appear very small on the laptop's native screen when attached to your extended monitors. And Option 2 will make your native monitor not scale anything so it may be impossible to read. I use Option 1.

like image 66
Losati Avatar answered Sep 21 '22 01:09

Losati