Skip to content

Flickering entry editor #17229

Closed
Closed

Description

@ryan-carpenter

JabRef version

Latest development branch build (please note build date below)

Operating system

macOS

Details on version and operating system

JabRef 100.0.0 Mac OS X 26.5.2 aarch64 Java 25.0.3 JavaFX 26.0.2+3

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

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

Steps to reproduce the behaviour

  1. Open the entry editor with the preview showing in the Main tab.
  2. Browse entries by selecting them in the main table
  3. See that the lower part of the entry editor flickers, begging with the Groups.
  4. Reposition the split between data fields and the entry preview.
  5. See that flickering stops

Before figuring out the problem, I tried the following actions without any change in symptoms.

  • Scrolling the main tab
  • Resizing the JabRef window vertically
  • Changing from the Main tab to Source and back again
  • Viewing the entry within a group or in All entries
  • Clicking fields in the flickering area
  • Using Tab to navigate through the flickering area
  • Collapsing and expanding the Meta heading
Recording.2026-09-21.at.16-28-01.mp4

Deleting the groups field in the Source tab stopped the flickering, so I pasted the data back in the same format then tried one-by-one to check for a problematic group name and did not find one. At one point, JabRef automatically sorted the groups and removed spaces following the separator (;). I think I triggered this by saving the file. Flickering stopped, so I added a space following one group and saved the file. Flickering started. I deleted the space and saved the file again. Flickering continued. Next, I tried removing groups one at a time and saved the file each time. Flickering stopped when I deleted any group and saved the file, and flickering returned when I undid the change and saved again.

Finally, I moved the divider between the editor fields and the entry preview. Flickering stopped, and I could no longer reproduce it regardless of how many groups were showing or where I positioned the divider.

Recording.2026-09-21.at.17-05-40.mp4

Appendix

Biblatex of the problem entry
@Article{Lee2025-aaa,
  author       = {Lee, Kyeryoung and Paek, Hunki and Ofoegbu, Nneka and Rube, Steven and Higashi, Mitchell K. and Dawoud, Dalia and Xu, Hua and Shi, Lizheng and Wang, Xiaoyan},
  date         = {2025-11},
  journaltitle = {Value in Health},
  title        = {{A4SLR}: an agentic {AI}-assisted systematic literature review framework to augment evidence synthesis for {HEOR} and {HTA}},
  doi          = {10.1016/j.jval.2025.08.002},
  issn         = {1098-3015},
  number       = {11},
  pages        = {1655--1664},
  volume       = {28},
  creationdate = {2026-08-12T04:27:07},
  fjournal     = {Value in Health},
  groups       = {getdoi; product; googlescholar20260812; getfulltext},
  priority     = {prio1},
  publisher    = {Elsevier BV},
  relevance    = {relevant},
}

Activity

  1. NoureddineCH1 commented on Oct 5, 2026

    @NoureddineCH1
    Contributor

    Hi! I’d like to work on this issue. Would it be possible to assign it to me? Thank you!

  2. jabref-machine commented on Oct 5, 2026

    @jabref-machine
    Collaborator

    👋 Hey @NoureddineCH1, looks like you’re eager to work on this issue — great! 🎉 It also looks like you don't know how to assign issues to yourself. Please read our CONTRIBUTING.md to find out how. It will also guide you in other aspects of contributing to JabRef.

  3. NoureddineCH1 commented on Oct 5, 2026

    @NoureddineCH1
    Contributor

    /assign-me

  4. added
    📍 Assigned
    on Oct 5, 2026
  5. jabref-machine commented on Oct 5, 2026

    @jabref-machine
    Collaborator

    👋 Hey @NoureddineCH1, thank you for your interest in this issue! 🎉

    We're excited to have you on board. Start by exploring our Contributing guidelines, and set up your local development workspace by following the steps in our workspace setup guidelines to get started smoothly.
    When using AI tools, please use them as an assistant rather than simply copying their output. See Don't paste the AI, please..
    For questions on JabRef functionality, you can consult the JabRef Guru. For questions related to the codebase, please start using DeepWiki.

    In case you encounter failing tests during development, please check our developer FAQs!

    Still facing issues or having more questions? Feel free to ask here on GitHub or on JabRef's Gitter chat. Please don't hesitate to open a (draft) pull request early on to show the direction you are heading towards if unsure.

    Happy coding! 🚀

  6. github-actions commented on Oct 8, 2026

    @github-actions
    Contributor

    ⏰ Assignment Reminder

    Hi @NoureddineCH1, this is a friendly reminder about your assignment to this issue.

    Warning

    This issue will be automatically unassigned in 4 days if there's no activity.

    Remember that you can ask the JabRef Guru or DeepWiki about anything regarding JabRef.
    Additionally, our contributing guide has hints on creating a pull request and a link to our Gitter chat.

    How to keep your assignment


    If you are working on it, you can prevent automatic unassignment by:

    • Submitting a draft pull request with your progress within 4 days
    • Asking for the 📌 Pinned label if you need more time

    We appreciate your contribution and are here to help if needed!

  7. NoureddineCH1 commented on Oct 9, 2026

    @NoureddineCH1
    Contributor

    Hi,

    I was able to reproduce this issue on Windows.

    The flickering occurs when switching between entries while the preview is visible. It is not limited to the Groups field: the entire lower part of the Main tab flickers, including Groups, Priority, Relevance, and the fields below them. However, the issue does not occur with entries that have no groups assigned.

    Initially, my groups were displayed as a single chip because they were separated by semicolons. When I changed the separators to commas, each group was displayed as a separate chip, but the flickering persisted.

    Unlike what is described in the issue report:

    • The flickering continues when adding or removing groups.
    • It also continues when moving the divider between the form and the preview.

    Moving the divider between the table and the entry editor has no effect.

    I am still investigating the code to better understand the root cause. Since I am working on this issue as part of a university project, would it be possible to keep the Pinned label for a little longer while I continue investigating?

    Thank you!

  8. NoureddineCH1 commented on Oct 16, 2026

    @NoureddineCH1
    Contributor

    I tested with JabRef 100.0.0 (development build) on Windows 11, Java 25.0.4.1, JavaFX 27+30. I also found a likely cause.

    It also happens with the keywords field, and not with entries that have neither groups nor keywords, so the problem seems to be in the shared TagsEditor.

    I measured the preferred height of the editor: during the first layout, the TagsField still has a width of 0 and the editor reports 115 px (4 tags). Once the field has its real width (429 px), it drops to 27 px. With 19 tags, it goes from 460 px to 96 px. Since a new TagsEditor is created on every entry change, this jump happens on every click.

    This seems to come from GemsFX: TagsFieldSkin binds the prefWrapLength of its FlowPane to the FlowPane's current width, so while the width is 0, every child wraps onto its own row. JabRef currently uses GemsFX 4.5.0, which is the latest release. I did not find an existing GemsFX issue about this.

    I'm working on a fix. Should it be handled in JabRef (TagsEditor) or upstream in GemsFX?

  9. Siedlerchr commented on Oct 16, 2026

    @Siedlerchr
    Member

    Thanks for the investigation. I could image a fix could be to init it with a fixed size at first to prevent the layout flickering. Not exactly sure. Maybe you can report this upstream as well in gemsfx?

  10. removed
    📍 Assigned
    on Oct 23, 2026
  11. github-actions commented on Oct 23, 2026

    @github-actions
    Contributor

    📋 Assignment Update

    Hi @NoureddineCH1, due to inactivity, you have been unassigned from this issue.

    Next steps


    If you still want to work on this:

    • Submit a pull request showing your current state. You will be automatically assigned again.
    • Ask a maintainer to assign you again.
  12. github-actions commented on Nov 6, 2026

    @github-actions
    Contributor

    We think that this issue was fixed. Please head to https://builds.jabref.org/main to download a development build and try it out.

    For any feedback, add a comment to the pull request at #17555.

  13. added a commit that references this issue on Nov 6, 2026
    cb1ed00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions