Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The display on a high-resolution screen is kind of messy on Windows 10 #3276

Closed
psychelzh opened this issue Oct 7, 2017 · 25 comments
Closed

Comments

@psychelzh
Copy link
Contributor

psychelzh commented Oct 7, 2017

JabRef version 4.0 on 1.8.0_144

See the following two screenshots:

image

image

The menu titles seems to be too big and the font size for groups and entries is too small, which renders a kind of messy display. I think maybe Windows might be to blame for part of the problem, but I have seen many successful instances, such as RStudio, MATLAB. Hopefully, JabRef will handle this better, too.

@tobiasdiez
Copy link
Member

You can increase the font size in the preferences to get a somewhat working version. But I agree that a lot has to improve on high-res displays.

@psychelzh
Copy link
Contributor Author

Thank you. It would be much appreciated if it supports high-res displays, now I have to resort to the so-called System-wide UI enhancement, which unfortunately blurrs the fonts as following screenshot.

image

@lenhard
Copy link
Member

lenhard commented Oct 7, 2017

Apart from the font and icon sizes (that you can already increase right now), what are concrete actions that we can take to improve the user experience on high-res displays? I am a bit at a loss as to what to do about this exactly.

@psychelzh
Copy link
Contributor Author

psychelzh commented Oct 7, 2017

FYI, what I have lastly posted is not the effect after the change of font and icon sizes, but the effect of the Windows's System Wide Enhancement.

I think the problem here is that although the high-res displays will enlarge fonts automatically, it only affect the menu titles, whereas the entries and groups are not affected. The asynchronous behavior result into the inconguent appearances between entries/groups and menue titles. Just as the screenshots in the main post.

@matthiasgeiger
Copy link
Member

You can also increase the size of the main table font by hitting CTRL-+ as in the web browsers

@Siedlerchr
Copy link
Member

I am using Win 10 as well, 1900x1200 on 24" Display, Scaling is 100%
On my desktop it looks fine, but on my notebook (smaller resolution) I have very small fonts.

grafik

You should check the options and remove the checkmark at override menu table. that made it look appropriate for me

grafik

@psychelzh
Copy link
Contributor Author

psychelzh commented Oct 7, 2017

Thank you.

Maybe it is because of the scaling. I use two different screens, one smaller in size (12.3") but higher in resolution (2736 * 1824), so a 200% scaling is used; the other larger in size (23.8") but lower in resolution (2560 * 1440), so a 150% scaling is then used. Only that 100% scaling is not appropriate here.

I guess the problem here is to support the scaling larger than 100%.

@matthiasgeiger Thank you for you advice. I have tried Ctrl + -, the font size of main table decreased; but when I tried Ctrl + +/= or Ctrl + Shift + +/=, the font size of main table just did not increase.

@tobiasdiez
Copy link
Member

@lenhard: here is a bunch of things that we should change so that JabRef works out of the box on high resolution displays:

  • Calculate a good default font size based on the resolution and dpi. (-fx-font-size is also used as the base for control sizes)
  • Specify sizes in em instead of px to ensure good scaling (including the DPI)
  • Turn off the "java dpi fixing" to get a crystal clear view

(these are all specific to JavaFX since I wouldn't spend much energy in improving the old swing controls)

@koppor
Copy link
Member

koppor commented Oct 17, 2017

Does any setting of "Override high DPI scaling behavior" help? See also https://intellij-support.jetbrains.com/hc/en-us/articles/115001260010/comments/115000141770

@koppor
Copy link
Member

koppor commented Oct 17, 2017

Refs #2409

@psychelzh
Copy link
Contributor Author

@koppor Thank you for your attention. I have posted one screenshot above, which displayed the effect of turning on the "Override high DPI scaling behavior" feature on Windows 10 after its Creators' Update. It relieves the problem a bit, but just as I said, the characters are rather blurring.

@shortorian
Copy link

shortorian commented Dec 6, 2017

I recently bought a surface book and I'm having a similar issue. The native resolution is 3000x2000 and there aren't good options for changing it. I set the windows display text scaling to 250% for handling documents because fonts are too small otherwise. JabRef is unusable with these settings but I would very much like to get it running on this system! The following screenshots are with JabRef's default settings, with com.jgoodies.looks.windows.WindowsLookAndFeel look and feel, and with com.jgoodies.looks.windows.WindowsLookAndFeel plus manual overrides for font and icon sizes. The size settings in the third screenshot are "menu and label font size" = 32, "size of large icons" = 64, "size of small icons" = 48, and "table row height padding" = 32.
defaultsettings
goodieslookfeel
override32-64-48-32

@psychelzh
Copy link
Contributor Author

@tobiasdiez @lenhard @matthiasgeiger @Siedlerchr @koppor Are there any updates for this issue?

@koppor
Copy link
Member

koppor commented Dec 26, 2017

help wanted

@psychelzh
Copy link
Contributor Author

Okay, thanks. Looking forward to some expert's solution! 😃

@spicydonkey
Copy link

@psychelzh

Thank you for you advice. I have tried Ctrl + -, the font size of main table decreased; but when I tried Ctrl + +/= or Ctrl + Shift + +/=, the font size of main table just did not increase.

I had this same issue plus all the ones you are having PLUS when certain new windows open, they are out of the page and I must Win+space+M(ove) it with keyboard into page...

Good news. The Ctrl + PLUS bug can be solved by re-mapping it to your favourite keyboard stroke. Apparently, my PC thinks Ctrl + "PLUS" is Ctrl + "EQUALS"... No idea what's going on.

@Siedlerchr
Copy link
Member

Another reason to move towards java 9, there recently have been some improviements:
http://news.kynosarges.org/2018/01/26/javafx-dpi-scaling-in-java-9/

@arnyeinstein
Copy link

arnyeinstein commented Mar 6, 2018

Hi
I use Jabref on my notebook and at home with an external 4k monitor connected to my notebook.
I can't work on the 4k monitor as the size of the text doesn't adjust. See picture.
Any news on how to solve this?
2018-03-06 13_36_10-jabref - d__dropbox_jabref_jabref bib bibtex mode

Cheers
Renger

@Siedlerchr
Copy link
Member

We are currently working on converting the whole maintable and all other windows to JavaFX. You can try out the version here https://builds.jabref.org/maintable-beta/
Note that not all may work as expected as we are still working on it.

Otherwise
You could use the portable version and have two instances of it then

@psychelzh
Copy link
Contributor Author

psychelzh commented Mar 11, 2018

@Siedlerchr Awesome job! The new UI is so modern that it makes JabRef more fascinating than ever. And the high resolution problem is seemingly solved, too. Look at the screenshot. BTW, when will this be on the stable release?

image

JabRef 4.2-dev--snapshot--2018-03-09--maintable-beta--13f59f005
Windows 10 10.0 amd64 
Java 1.8.0_161

@Siedlerchr
Copy link
Member

Thanks for the feedback! Some of the dialogs and settings are still on the old gui so they might look very small
We will soon release a stable version with the old current gui.
Then we will focus on stability in the new maintable version. It's still missing some features and needs some performance tuning. You are happily invited to test it and report bugs you encounter.

@psychelzh
Copy link
Contributor Author

I am very glad to test this version with the fancy UI. 💯

@psychelzh
Copy link
Contributor Author

psychelzh commented Mar 17, 2018

I would say the UI's other than maintable need to be consistent with maintable, for now they are not upgraded to the new design.

Group Edit:
image

Entries cleanup:
image

And the TEXStudio icon is a little smaller than other icons:

jabref-maintable-test

JabRef 4.2-dev--snapshot--2018-03-16--maintable-beta--2c2a302a5
Windows 10 10.0 amd64 
Java 1.8.0_161

@g-bull
Copy link

g-bull commented May 19, 2018

This solved the problem for me: https://stackoverflow.com/questions/30555401/java-disable-dpi-aware-not-working
Except I had to create a JabRef.exe.manifest, in the manner described for java.exe, next to the JabRef.exe.
Works fine now.
JabRef 4.2
Windows 10 10.0 amd64 (with latest update)
Java 1.8.0_171

@Siedlerchr
Copy link
Member

Most of the issues should be fixed in the current master https://builds.jabref.org/master
There are still some dialogs which are in the old swing and not yet converted and tracked in #3861
Therefore I would close this one here. Feel free to reopen of the issue exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants