Skip to content

Improve performance of journal abbreviation loading #8928

@Siedlerchr

Description

@Siedlerchr

Is your suggestion for improvement related to a problem? Please describe.
As a User I have a huge list of custom abbreviations. Adding them will freeze JabRef for a couple of minutes and will produce other issues.
https://discourse.jabref.org/t/journal-abbreviations-with-dot/3400/4

Describe the solution you'd like
I would like to have a better performance and continue using JabRef while the abbreviations are loaded in the background.

Additional context
JabRef stores its internal abbreviations in a h2 mv database. Custom abbreviations are added to it. Refs #6304
The key problem is that all journal abbreviation stuff loading is done on the FX-Thread. This will block the user.

Solution: The files need to be loaded in a background task and added to JabRef's mv database.
It must be taken care of concurrent reading/writing issues when toggling the abbreviation button in the entry editor.
It must be considered that the journal Repo is injected everywhere.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions