Bug 356483

Summary: intellij-idea hidpi issue when running only in plasma environment
Product: [Plasma] plasmashell Reporter: zhulik <zhulik.gleb>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: bshah, plasma-bugs-null, ra.ravi.rav
Priority: NOR    
Version First Reported In: 5.5.0   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description zhulik 2015-12-10 19:28:28 UTC
I have laptop with 4k aka retina display, i am developer and i need to work with Idea IDE. It has great hidpi support, but when i run it from plasma i see tiny fonts and controls. When i run it from GNOME everything has normal size. I don't know, how idea detects my dpi, but, i suppose, this method doesn't work in plasma. Idea has special config for hidpi(-Dhidpi=true), but it doesn't work in plasma

Reproducible: Always

Steps to Reproduce:
1. Log into plasma with 4k display
2. Run idea IDE

Actual Results:  
Everything is tiny: fonts, controls. HiDPI support disabled

Expected Results:  
All fonts and controls has normal size.

ArchLinux latest, plasma 5.5. idea 15 and rubymine 7 - the same IDE engine, the same result
Comment 1 David Edmundson 2015-12-10 20:30:40 UTC
add the flag to 
studio64.vmoptions  -Dhidpi=true

and it works.

We use the standard xft setting for font DPI, and they use some gnome specific custom thing.
 
If we're following convention, it's up for intelliji to support us, not the other way round.
Comment 2 zhulik 2015-12-11 10:20:28 UTC
Hi, David, thanks for answer! I already have -Dhidpi=true and it doesn't work for me in plasma=(. I suppose, i should create bugreport in jetbrains tracker
Comment 3 Ravi Arora 2016-03-07 16:47:05 UTC
It is same for me as well. I added the required flag, but everything is still tiny. I haven't checked in other DE's though, since I only have KDE.