#1
|
|||
|
|||
Using JDownloader on High DPI Monitor
Hello, I recently got a 4k monitor. I have the scaling up 200%. I have tried messing with the windows settings and various other things but JDownloader always looks blurred with blurry text and normal size, or very tiny with crisp text.
Is there a recommended way to enable High DPI support for JD? |
#2
|
||||
|
||||
I'm sorry but JDownloader doesn't yet support HighDPI as this requires the LookAndFeel to support HighDPI as well and also requires more recent JVM version which would break backwards compatibility and also changes in GUI parts to support scaling/layout adapting.
At the moment there is only support to customize the font size via Settings-Advanded Settings, search for font size. Please know that the GUI DOES NOT scale!
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
Okay thanks. Do you know if this something that will be worked on in next few months?
|
#4
|
||||
|
||||
its been years since the first report 2014ish, so from that and the response that Jiaz gave I would say no, it wont be looked at soon. Work load is too high, and they want to keep backward capability for as long as possible.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#5
|
|||
|
|||
Okie understood. Seems high dpi monitors are getting more popular so might get some more people mentioning it
|
#6
|
||||
|
||||
for sure, think its also originally Appwork didn't have the monitor required in order to code/test with. These days from what I can tell the main GUI coder is busy with other tasks, rarely see commits from him. With supporting HighDPI would most likely require large rewrites, time requirement would be the biggest problem (finding it).
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] Last edited by raztoki; 28.07.2019 at 03:29. |
#7
|
||||
|
||||
@raztoki: 100% agree with your answer. yes, HighDPI getting more popular but this also requires major changes in GUI code and also will result in breaking backwards java compatibility.
__________________
JD-Dev & Server-Admin |
#8
|
|||
|
|||
Shouldn't this feature actually be a Java-Feature?
I tried several things, but without success: java -Dsun.java2d.uiScale.enabled=true -jar JDownloader.jar java -Dsun.java2d.uiScale=2.0 -jar JDownloader.jar java -Dsun.java2d.win.uiScale=2.0 -jar JDownloader.jar GDK_SCALE=2 java -jar JDownloader.jar java -Dglass.gtk.uiScale=2.0 -jar JDownloader.jar java -jar -Dsun.java2d.win.uiScaleX=125% -Dsun.java2d.win.uiScaleY=125% JDownloader.jar Changing "xsettingsd.conf" and ".Xresources" also did nothing. Neither did something like: xrandr --dpi 150 :-( |
#9
|
||||
|
||||
@Sokub: Nope, that's not how HighDPI works your scale just enlarges/shrinks/scales everything, but you don't want your button twice as large
We're working on HighDPI support while adding support for new FlatLAF Theme Engine but no eta yet
__________________
JD-Dev & Server-Admin |
#10
|
|||
|
|||
Quote:
Actually I thought, this is exactly what I want. ... Because I managed to increase the font-sizes etc. in the Advanced-Settings. ... and now only the Buttons and some box-sizes etc. are too small. ... If I could scale everything I would revert the font sizes back to their origninal value and that should be it, shouldn't it? My problem is only, that all the mentioned commands do nothing at all here. They simply don't change anything. |
#11
|
||||
|
||||
@Sokub: Go to Settings->Advanced Settings->Disable LAFSettings.fontrespectssystemdpi
Those methods simply scale everything but that's not what you want. You cannot just increase font size as the rest (GUI) must adapt to larger required space by larger font. when scaling everything, then you scale everything. HighDPI support means you can use more/higher DPI/pixels on same space/region so it looks better/clearer. And that's why everyhing GUI/Theme/Layouting must *work/play* together. It's not possible to increase font size very large, once it's larger than available space, you're out of look. But maybe provide a screenshot and we can help/understand better
__________________
JD-Dev & Server-Admin |
#12
|
|||
|
|||
Thank you Jiaz, for helping me!
Oh, then I am probably in the wrong thread here. My aim is NOT to make everything clearer ... but to make it actually bigger. Quote:
So is there a way for me, to make everything (buttons, fonts, etc.) bigger? Changing "LAFSettings.fontrespectssystemdpi" does nothing here. I attach a screenshot here: **External links are only visible to Support Staff**... Should I open a new thread? |
#13
|
||||
|
||||
Please re-post that screenshot.
It got lost due to a rare bug in our forums.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#14
|
|||
|
|||
Ok:
**External links are only visible to Support Staff****External links are only visible to Support Staff** |
#15
|
||||
|
||||
Quote:
No need to open new thread. HighDPI is on our todo list but requires change to different theme (FlatLAF) for proper HighDPI Once the theme supports HighDPI, then we can work on layouting to adapt on larger font sizes. Many gui parts are hard coded in space(size, width, height) and therefore doesn't grow as needed when font size is too large
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 08.03.2024 at 14:09. |
#16
|
|||
|
|||
Quote:
The problem is, that all the commands I tried, don't scale anything here. Do you have an advice for me, how I can scale JD (on Kubuntu)? |
Thread Tools | |
Display Modes | |
|
|