jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Opening the Entry Editor for the first Time makes JabRef freeze for 10 Seconds

Open DominikVoigt opened this issue 4 months ago • 14 comments

JabRef version

Other (please describe below)

Operating system

GNU / Linux

Details on version and operating system

Fedora Linux 42 (Workstation Edition)

Checked with the latest development build (copy version output from About dialog)

  • [x] I made a backup of my libraries before testing the latest development version.
  • [x] I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

JabRef 6.0-alpha.439--2026-07-23--16242af Linux 6.19.14-108.fc42.x86_64 amd64 Java 25.0.4

Steps to reproduce:

  1. Get newest Version (Does not happen on v6.0-alpha.5)
  2. Open JabRef
  3. Double Click on Entry to open Entry Editor -> This takes around 10 seconds blocking any further interactions in the mean time (freezing UI)
Image

DominikVoigt avatar Jul 24 '26 12:07 DominikVoigt

Just downloaded the latest version. Cannot reproduce this on Mac. Maybe related to the linux postgres stuff?

Siedlerchr avatar Jul 24 '26 13:07 Siedlerchr

This bug still occurs in the new version:

JabRef 6.0-alpha.519--2026-07-31--00b7b58 Mac OS X 27.0 aarch64 Java 25.0.4 JavaFX 26.0.1+0

iTao8 avatar Aug 02 '26 01:08 iTao8

Does this happen always or only sometimes? If it only happens with a few entries, could you give us an example entry? What tab is open after you open the entry editor? Does it happen for all of them or only one or some? Are files attached to the entry or not?

ThiloteE avatar Aug 02 '26 10:08 ThiloteE

Please also provide a screenshot of your entry editor and entry preview preferences: Mine looks like this:

Image Image and I cannot reproduce. Maybe you have the option to download cover images enabled or your device takes a long time when searching for linked files?

ThiloteE avatar Aug 02 '26 10:08 ThiloteE

Yeah I also have a hard time reproducing this. can you paste the entry that caused this?

Siedlerchr avatar Aug 02 '26 11:08 Siedlerchr

It's on the first showing. Subsequent openings do not have this delay 😅

koppor avatar Aug 02 '26 11:08 koppor

It's on the first showing. Subsequent openings do not have this delay 😅

This is clear from the description, but even then I cannot reproduce it Start the latest main installed version of JabRef and select an entry. I even chose one that shows validation warnings, I tested with different entries and different libraries. Always closing and starting JabRef after each test Maybe this is some preference thingy?

Siedlerchr avatar Aug 02 '26 12:08 Siedlerchr

I can reproduce a short delay (maybe 1-1.5s) when opening the entryeditor for the first time. My guess is that something is build once and then cached for subsequent loads of the EntryEditor (=CodeArea for bibtexsource?)

calixtus avatar Aug 02 '26 14:08 calixtus

Can someone please profile?

calixtus avatar Aug 02 '26 14:08 calixtus

@DominikVoigt @iTao8 Can you export your preferences or try to reset them and try again?

Siedlerchr avatar Aug 02 '26 15:08 Siedlerchr

@DominikVoigt / @iTao8 Can you please test this version? https://builds.jabref.org/pull-16467/

Siedlerchr avatar Aug 03 '26 09:08 Siedlerchr

JabRef 6.0-alpha.567--2026-08-07--bc1f0bf Mac OS X 27.0 aarch64 Java 25.0.4 JavaFX 26.0.2+3

This version works well.

iTao8 avatar Aug 10 '26 06:08 iTao8

Thank you for reporting this issue. We think, that is already fixed in our development version and consequently the change will be included in the next release.

We would like to ask you to use a development build from https://builds.jabref.org/main and report back if it works for you. Please remember to make a backup of your library before trying-out this version.

Siedlerchr avatar Aug 15 '26 13:08 Siedlerchr

Thanks it works now 👍

DominikVoigt avatar Aug 18 '26 08:08 DominikVoigt