PhpStorm appearance too big - Windows 10 - scaling issue - windows

I am running PhpStorm 2017.2 on Windows 10 and experiencing a scaling problem where everything in my IDE (not just editor windows) looks bigger.
I am running it on laptop Asus Zenbook 13" with 1920x1080, by default this screens scaled using 150% (recommended) settings (Windows Display Settings).
The other 2 screens are 24" with also 1920x1080 resolution and the scaling setting is set to 100% (recommended).
The PhpStorm looks OK on the laptop screen, but it looks like it's also scaled to 150% on the other screens, even though it shouldn't.
I've tested whether actually "scale" settings on the other screens affect the PhpStorm appearance and for some reason changing the "scale" doesn't affect PhpStorm. Different applications (e.g. Google Chrome) or task bar are resized correctly.
Here is a screenshot, how big is the PhpStorm on the 24" screen (compare it to the task bar icons size).
Any ideas? I am back to Windows (after 7 years), had to switch from Ubuntu due to driver issues on this particular hardware.
EDIT:
After adding the -Dsun.java2d.uiScale.enabled=false as per #lena answer the size is now correct, but fonts are messed up. They're unclear on the external screens, but good on laptop screen.
EDIT2:
After doing this:
Shortcut of PhpStorm > Right click >Properties > Compatibility tab > Select "Override high DPI" - choose: "System"
PhpStorm looks sharp on the External screens, but doesn't on the primary laptop screen.

Try passing -Dsun.java2d.uiScale.enabled=false VM option to PhpStorm (this has to be done in *.vmoptions file, Help > Edit custom VM options)

Related

Scene Builder preview shows all objects much larger than end result

Here we have a preview of a window in Scene Builder behind the actual result when run with Netbeans. You can also see that my minimum sizes are set to USE_PREF_SIZE, with the values being auto-filled when I adjust the size of the window. The size difference between the windows is the first obvious difference.
Further, you'll notice that everything inside the window is smaller as well, all buttons, tables, fonts, etc.
I'm using Netbeans 8.2, Scene Builder 11.0.0, and JDK 8 update 251. Any ideas?
Figured it out! Hopefully this will be of some use to another aggravated user somewhere in the world.
The issue for me is that Windows was automatically scaling NetBeans. I found this resource for how to stop it:
Windows 10 does this for you now. Right click on your Netbeans shortcut (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\NetBeans) and select Properties. Go to the Compatibility tab and then select Change High DPI Settings. From there, check the Override High DPI Scaling box and set it to System.

Rstudio editor seems slow for highlighted code on large screen

I'm using Rstudio v0.99.891 under Ubuntu 14.04LTS on a 2014 Laptop with 8GB RAM. I recently started to use RStudio again to edit RMarkdown-Files on an external monitor with an resolution of 2560x1440 pixels.
It seems, that the editor (ACE) seems to have problems, when the display is quite large and the code needs to be highlighted. I like the source pane to fill half of my screen and this is when I notice the biggest lag in navigating the code.
When I decrease the editor size the delay gets diminished and when I turn off the syntax highlighting, the lag vanishes completely. (Similar to this documented user experience: Poor performance of editor (esp. markdown)
What can I do to have a better performance?

Dreamweaver dialogue boxes are huge and i can't fix it

When opening a dialogue box within dreamweaver, for example the dreamweaver preferences windows, or CSS editor window, it appears very large, almost twice the size of my screen.
For example:
Screenshot:
I have checked my systems DPI Settings and they are set to 100%.
Im running windows 8.1.
My screen resolution is 1366 x 768
Any ideas?
ANSWER: I managed to fix this issue by deleting all of my fonts and replacing them with a fresh download from here: http://www.withsteps.com/2621/windows-8-default-font-download-repair-kit.html

Visual Studio 2010 looks "zoomed in"

Today, I installed Visual Studio 2010 Professional on a new laptop with a fresh Windows 7 Ultimate 64-bit install. I, being quite used to the look of Visual Studio 2010, instantly spotted that something was wrong. It seems that the Visual Studio application is "zoomed in", in a way. The text is much larger (even though it says that the zoom level is 100%, and the text size is 10, which is the same as what I used before), and generally, so are the other windows like the Solution Explorer and Output console. The quality of the icons and images is also very bad.
Here are two comparison images (I wasn't allowed to post images, so some links will have to do):
This is the look that I'm used to. I see plenty of text in the windows, and the icons are fine.
http://i51.tinypic.com/2mq8dau.png
This is what greeted me when I installed VS2010 on my new laptop. The icons look stretched, and I can fit a lot less code in the window.
http://i56.tinypic.com/35k0fo4.png
The screen resolution on my old computer is 1920x1200 and the resolution on my new computer is 1920x1080. (I resized the VS window on my old computer to about 1920x1080 to show the difference).
It looks like my image host resized the images as well, but you should still be able to see the difference.
Has anyone had the same problem? I'm hoping it's just some visual settings. If anything is missing, I will be happy to provide more information.
Thanks in advance.
It seems your Font Size DPI is at 150% on the second screenshot. If you right click on the Desktop and select Personalize > Adjust Font Size (DPI)* you should be able to see what it is currently set at.
Check
that your screen is at native resolution (there can only be one, the native max)
that your OS font is
at normal size
antialiasing (i believe windows calls that cleartype or something)
the screen density is 'standard' (usually 96DPI IIRC)
I strongly suspect the latter (the DPI setting). It's under
Desktop Properies
Display Properties
Display Settings
Advanced
DPI Settings
in my Windows
If you hold down Ctrl and roll the wheel on the mouse it will zoom it in and out. You can then get the desired size that you want. I hope that solves it.
EDIT:
Also if you go to Tools->Options and then under Environment->Font and Colors you can then customize the font size for the whole application.
I didn't find any setting that could case this effect.
Did you try reseting the settings of visual studio (Tools - Import and Export Settings) or Import the settings of your working maschine.
Maybe you have configured big-icons / big-font in windows?

For the same screen resolution and DPI settings, Can the pixels for a IDE control change between two OSes?

Assume a GUI application is opened on three machines running Windows XP, Windows Vista and Windows7. In all the three machines, the screen resolution and the DPI settings are set to be the same value. Will there be a difference in the way the application is displayed on the screen in terms of number of pixels used and their position on the screen?
The reason for asking this question is:
I am using position based record-and-play method for GUI automation. Any change in the position of a control can impact the playback of the GUI recording. I want to be sure that a recording captured on Windowx XP platform works on Vista and Windows7 platforms.
Yes. The OS chrome (starting with window borders and titles) have different styles (e.g. Vista and Win7 will likely have Aero on and thus translucent title).
And that's before considering any OS dependent code in the application.
The menu bars will probably all be different sizes, so you'll probably need to record separately on all three machines.
Bearing in mind, that each user could have any number of accessibility settings on/off, any DPI setting, and also that features such as button sizes and window border sizes are different on each of these OS's...
No one here could possibly guarantee you'll be fine - the only way is to test.
A side note: there MUST be a better way than position based playback? I've used tools previously that can read screen text and base the automated navigation on that, which seems far more sensible, but still horribly flawed.

Resources