eclipse scaling issue on extended display - windows

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:
different versions(Oxygen, Neon, Mars)
close the dell xps lid or turn of its screen.
set dell xps resolution to 1920x1080
set Dsun.java2d.dpiaware=true

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:
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.
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.

Ive got a similar Problem ...
my 3rd Monitor ( for eclipse ) is a 4k Display with 150% Windows Scaling ....
my main Monitor is 1080p at 100% Scaling
Eclipse is blurry af ...
Found a WorkAround based on Losati Answer:
Change Main Monitor to 150% Scaling
Start Eclipse
Eclipse looks pretty fine
Main Monitor -> 100% Scaling
And Eclipse still looks fine on my 4k Display

Change the compatibility settings for Eclipse.exe in Windows 10:
right click on Eclipse icon
select properties
select compatibility
check "DPI scaling" option
select "System (extended)"

Related

Windows' "Change Display Settings" Menu has the correct resolution for my monitor available, but it isn't "Recommended" and doesn't function

I am using DVI and a Dell 3007WFP monitor which should be able to display at 2,560x1,600. However, Windows defaults to 1280x800, and puts "(Recommended)" next to 1,280x800 in the resolution menu. When I select any higher resolution the monitor glitches out, displaying flickering colored bars and stripes.
This monitor requires a Dual Link DVI cable, which is backwards compatible but has more pins for higher resolution. Once I used the correct cable, the monitor worked fine. Weirdly, with the correct cable Windows still recommends 1280x800, but higher resolutions work fine.

Screens flicker when calling glViewport after window style was changed

In my OpenGL application I switch between windowed and fullscreen mode using
Raymond Chen's solution:
http://blogs.msdn.com/b/oldnewthing/archive/2010/04/12/9994016.aspx
This works apart from two very annoying side effects when used in a
multi-monitor setup (only):
After the window mode was switched BOTH screens flicker/flash just in the
moment glViewport is called to accommodate the changed window dimensions.
Windows on the desktop from other applications are not painted correctly
after the switch until I e.g. minimize/maximize them (or do something similar
to force a refresh).
Does one know these effects and maybe also knows a solution?
ps: further tests showed that this only happens on my PC with an AMD card but not with my Nvidia card. If only one monitor is active it doesn't happen at all.

Win7 screen resolution quick change

I want to be able to create a shortcut, hotkey, anything, to be able to switch between 2 (or more?) different screen resolutions (only on one of my screens - I work with win7 extended screen layout).
I've tried HotKey Resolution Changer v1.4 from http://www.howtogeek.com/howto/17604/change-desktop-resolution-with-a-keyboard-shortcut/ ,
but it works for me only for the first change and then crashes.
Any ideas?
Thanks,
I had stumbled on this issue when starting to use KVM with Windows 7. It keeps forgetting the resolution and it became a hassle to change it. Anyway, to the point:
Download Nircmd from here, extract it somewhere on your PC and create a desktop shortcut using Nircmd itself:
nircmd.exe cmdshortcut "~$folder.desktop$" "800x600x24" setdisplay 800 600 24
This will create a shortcut that will set the display mode to 800x600x24bit colors.
Hope it helps and not too late.
Asaf

X11 unable to maximize applications when no window manager is used

We have a Linux based system that does not use a Window manager. When we start certain applications (for instance Firefox) from a terminal window (e.g. Firefox &) we find that no matter what we do, we can't get the application to display full screen.
If we run xrandr, it shows the default resolution is 1280x1024, but when we try to maximize Firefox (by pressing F11) the application is only sized to 1203x650.
Another application that seems to have the same problem is the evince PDF reader.
Our application is not configured to run a window manager (and we don't want to add one), so I'm wondering if there is something else that we can do to get these applications to render full screen.
Thanks...
Although you don't want to use a window manager, you might need to use a window manager.
I haven't dug into the X server sources around this, so I can't definitively say X requires a window manager to run properly. But as somebody who writes X client code, and hacks the X server, on minimalist embedded devices with small screens, low CPU power and no GPU... let's just say, all the major players in that space use one, and have good reasons for it.
If you want to avoid chewing up a lot of disk space, RAM or CPU power doing window management, you should check out matchbox. It's a low-footprint window manager designed to meet those criteria, and it's what many folks in that minimalist embedded space are using. My employer uses it on cell phones, configured so that only one app at a time is visible to the user, and the foreground app takes up the whole screen with no window borders. But you can use it other ways, too - Nokia uses it for their Maemo-based network tablets.
You could use xwit(1) to forcibly resize and place the windows. But as as far as I know, X11 in itself does not have the concept of a "maximized" window; the very idea is only added by most window managers and/or applications (like Firefox).
Does passing the "-geometry=1280x1024+0+0" option to Firefox help?
Oh, also... if you don't explicitly set a window manager, you might be unexpectedly falling back to the default X11 window manager. If you're not absolutely positive there's no window manager, you should check into this possibility.

"Use windows xp style dpi scaling" disables automatic auto-hide of taskbar on W7. Workaround?

We noticed that on W7 with DPI set to > 125% or to > 100% with ("Use windows xp style dpi scaling") turned off, our fullscreen mode (which sets the client rect of our window = desktop rect of the main monitor) no longer hides the task bar like it does for other settings.
(The setting can be found in the Control Panel\Appearance and Personalization\Display section after clicking on the "Set custom text size (DPI)" link)
I found the following interesting article:
http://www.mathies.com/weblog/?p=908
So I set out to try to work around the bug in other means than manually hiding/restoring the taskbar visibility but so far I've failed and currently believe it's a bug in W7 (and possibly vista).
The following applications also fail to work properly in fullscreen mode (the taskbar is still visible):
* Microsoft Visual Studio 2008
* Microsoft Word 2007
* Adobe Reader 9.1.3
These apps work (probably by hiding the task bar through the WIN32 API):
* Powerpoint Slide Show
I also tried creating a brand new MFC-based app and use its "SetFullScreenMode()" functionality but it fails in the same way as all other apps on the list.
For now it seems the only temporary fix which has worked for me is to disable display scaling on high DPI settings for the program your using fullscreen with.
To do this goto properties (right-click the program's shortcut) >> compatability >> and check the option to disable display scaling on high DPI settings.
The only drawback is that you will not get the higher DPI for that program but the taskbar should hide when fullscreen is enabled.
This is a problem that I understand Windows 7 developers are aware of but have not come out with a solution.

Resources