JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 26.07.2019, 09:21
heydoh heydoh is offline
Bandwidth Beast
 
Join Date: Dec 2016
Posts: 134
Default 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?
Reply With Quote
  #2  
Old 26.07.2019, 12:11
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

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
Reply With Quote
  #3  
Old 28.07.2019, 02:51
heydoh heydoh is offline
Bandwidth Beast
 
Join Date: Dec 2016
Posts: 134
Default

Okay thanks. Do you know if this something that will be worked on in next few months?
Reply With Quote
  #4  
Old 28.07.2019, 03:00
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

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. :]
Reply With Quote
  #5  
Old 28.07.2019, 03:02
heydoh heydoh is offline
Bandwidth Beast
 
Join Date: Dec 2016
Posts: 134
Default

Okie understood. Seems high dpi monitors are getting more popular so might get some more people mentioning it
Reply With Quote
  #6  
Old 28.07.2019, 03:22
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

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.
Reply With Quote
  #7  
Old 02.08.2019, 16:03
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@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
Reply With Quote
  #8  
Old 05.03.2024, 11:06
Sokub Sokub is offline
JD Adviser
 
Join Date: Feb 2018
Posts: 107
Default

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

:-(
Reply With Quote
  #9  
Old 05.03.2024, 11:28
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@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
Reply With Quote
  #10  
Old 07.03.2024, 12:16
Sokub Sokub is offline
JD Adviser
 
Join Date: Feb 2018
Posts: 107
Default

Quote:
Originally Posted by Jiaz View Post
your scale just enlarges/shrinks/scales everything, but you don't want your button twice as large
lol ... now I am confused.

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.
Reply With Quote
  #11  
Old 07.03.2024, 12:31
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@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
Reply With Quote
  #12  
Old 08.03.2024, 11:48
Sokub Sokub is offline
JD Adviser
 
Join Date: Feb 2018
Posts: 107
Default

Thank you Jiaz, for helping me!

Quote:
Originally Posted by Jiaz View Post
HighDPI support means ...
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:
It's not possible to increase font size very large, once it's larger than available space, you're out of look.
Yes exactly! This is the problem I am running into.

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?
Reply With Quote
  #13  
Old 08.03.2024, 12:38
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Quote:
Originally Posted by Sokub View Post
I attach a screenshot here:
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
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #14  
Old 08.03.2024, 13:51
Sokub Sokub is offline
JD Adviser
 
Join Date: Feb 2018
Posts: 107
Default

Ok:

**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #15  
Old 08.03.2024, 14:07
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

Quote:
Originally Posted by Sokub View Post
So is there a way for me, to make everything (buttons, fonts, etc.) bigger?
Changing "LAFSettings.fontrespectssystemdpi" does nothing here.
I'm sorry but there is not, only the params you've already mentioned but those will just scale and not provide larger space

Quote:
Originally Posted by Sokub View Post
Should I open a new thread?
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.
Reply With Quote
  #16  
Old 08.03.2024, 18:12
Sokub Sokub is offline
JD Adviser
 
Join Date: Feb 2018
Posts: 107
Default

Quote:
Originally Posted by Jiaz View Post
I'm sorry ... but ... the params you've already mentioned ... will just scale
Jiaz, you keep mentioning, that this will "just" scale JD, ... but I think I would be happy with "just" scaling, i.e. make everything 20% larger. ... That is what "scaling" means, right? Make everything larger for the price of loosing a bit of clarity/sharpness.

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)?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 06:47.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.