Has anyone encountered a situation where scaling w...
# random
n
Has anyone encountered a situation where scaling works correctly for one IDE (IntelliJ) but is broken for another IDE (PyCharm) on Linux even though both IDE's use the sample platform (Idea)?
Tried these custom VM options: # Increase scaling for 1080p resolution on a 14" display. -Dide.ui.scale=1.2 -Dsun.java2d.uiScale.enabled=true Unfortunately the options have no effect 🙁 .
For some strange reason PyCharm isn't getting the scaling information from the same source as IntelliJ (from Cinnamon).
To think that it was a huge battle just to get web apps to scale correctly (painful with Firefox ; Chrome isn't much better).
k
are both based off the same IDEA version? Maybe PyCharm is still based off an older IDEA version?
DPI scaling is the main reason I still can't see myself switching to Linux 😞
n
What is missing from all the Idea platform based IDE's is a easy way to manually override DPI scaling 🔍 .
k
@kevinmost On what platform does it work? Windows?
n
From what I understand the Idea platform based IDE's heavily rely on the automatic DPI scaling system which is built into the platform. However as you can see from my case the system doesn't always work correctly hence it is vital there is a manual override available that is guaranteed to work regardless of what OS is used.
Presumably PyCharm is using a older version of the Idea platform than IntelliJ. Historically PyCharm lags behind IntelliJ when it comes to using the latest version of the Idea platform.
t
Have you created a ticket on jetbrains' youtrack? it seems like something that should be there.
n
Haven't created a YouTrack ticket on the issue. I suspect that DPI scaling on desktop devices has its limits, even so there should always be a manual override available (configuration and GUI based).
k
@karelpeeters Windows and Mac both have good DPI support at this point. I can plug in an external monitor and use my laptop's internal HiDPI display with my normal DPI monitor
k
I've got the same thing, windows hidpi laptop and normal dpi monitor, and every time I (un)plug it the text gets blurry until a restart. Maybe I need to look into it more but it definitely doesn't work out of the box for me.
n
Used these VM options which fix the UI scaling issues in PyCharm: -Dide.ui.scale=1.2 -Dsun.java2d.uiScale.enabled=false
I'm assuming that IntelliJ has
Dsun.java2d.uiScale.enabled
set to false by default? Aka no need to create default VM options.
Can confirm with PyCharm that the -Dide.ui.scale=1.2 line can be removed and that only the -Dsun.java2d.uiScale.enabled=false line is needed to fix UI scaling.
Wonder why PyCharm doesn't use the same VM options as IntelliJ 🤔 .