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

Add Group - dialog: width is to small for text/font #2419

Closed
buhtz opened this issue Dec 22, 2016 · 9 comments · Fixed by #4910
Closed

Add Group - dialog: width is to small for text/font #2419

buhtz opened this issue Dec 22, 2016 · 9 comments · Fixed by #4910

Comments

@buhtz
Copy link

buhtz commented Dec 22, 2016

I am using JabRef 3.8 (linux 4.9.0-towo.1-siduction-686 i386 Java 1.8.0_111) on Debian GNU/Linux unstable (Siduction Linux) with XFCE as desktop environment. The version of the deb-package is 3.8+ds-2.

The "Add Group" dialog has a fixed width (what is a bug for itself) and it is to small to show all text. Please see the screenshot and look at "Hirarchical context".

jab1

My appearance settings look like this

japb2

I can not say which font is used in that dialog. I haven't modified any font settings in XFCE.

I first discussed that topic in the Forum where I was told to open a bug report here.

@matthiasgeiger
Copy link
Member

Just again verified on my windows machine: Not a problem here - neither for standard windows look-and-feel, nor for MetalLookAndFeel - seems to be dependent on Linux - or even a more specific problem.

@buhtz
Copy link
Author

buhtz commented Dec 22, 2016

I agree and think the same that it depends on the used desktop environment or window manager.

But I think at this point the view direction should be modified. JabRef use a plattform independent programming language. But the GUI (is it swing?) is used a way that it break this independency.

I would recommend a two-point solution.

  1. Make the dialog resizable like the other dialogs (e.g. Preferences), too.
  2. Make the text in the dialog wrapping automaticly.

btw: The Preference dialog doesn't wrap text, too. Does this behaviour depend on Swing? I am wondering that it is not default.

@matthiasgeiger
Copy link
Member

JLabel, which is the standard Swing component for this, does not wrap texts which are too long.

@buhtz
Copy link
Author

buhtz commented Dec 22, 2016

I see. Then it is a "bug" there. But it is oracle and it would waste of time to open a bug report about that.

Alternativly you could cut the strings in that two JLabels. It is to much. Add the extra (explaining) text into tool tips.

@koppor
Copy link
Member

koppor commented Dec 22, 2016 via email

@buhtz
Copy link
Author

buhtz commented Mar 3, 2017

An easie solution would be to make the dialog itself resizable.

@buhtz
Copy link
Author

buhtz commented Sep 12, 2018

Part of the problem is fixed in 5.* dev version. All strings (in english and german) are completly fit to the dialog.

But the dialog itself is not resizable.

@Siedlerchr
Copy link
Member

The dialog needs to be converted to javafx as well. Tracked in #3861

Siedlerchr added a commit that referenced this issue Apr 22, 2019
tobiasdiez pushed a commit that referenced this issue Apr 22, 2019
@tobiasdiez
Copy link
Member

This should be fixed in the latest development version. Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version.

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

Successfully merging a pull request may close this issue.

5 participants