JabRef / jabref

Graphical Java application for managing BibTeX and biblatex (.bib) databases
https://devdocs.jabref.org
MIT License
3.66k stars 2.59k forks source link

After adding multiple files some of them are not visible in the "General" tab #10515

Open mpatas opened 1 year ago

mpatas commented 1 year ago

JabRef version

5.10 (latest release)

Operating system

Windows

Details on version and operating system

No response

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

Steps to reproduce the behaviour

  1. Add a bibliographic record.
  2. Go to "General" tab in entry editor.
  3. Add a linked file.
  4. Try to scroll the "File" field down and up.
  5. Repeat steps 3 and 4 several times (adding four files seems to trigger the bug).

When first three files are added, they are visible in "File" field. Scrolling is not necessary with three files, so scroll bar is not visible. All is fine. When the fourth file is added, the scroll bar appears, but the fourth file itself is not visible. Furthermore, scrolling seems to work "jittery" (it still fails to find that fourth file)... Yet, if we go to to "BibTeX source" tab, all four files are mentioned in the record, so, the fourth one is only missing from that element of UI.

When the fifth file is added, the fourth one seems to reappear, with scrolling working in still more unpredictable ways...

Appendix

No response

AEgit commented 1 year ago

Note, that this issue is (indirectly) connected to the following issue: https://github.com/JabRef/jabref/issues/8823 and has been noted even earlier on: https://github.com/JabRef/jabref/issues/5105#issuecomment-509132201

You should be able to see more than 3 linked files in the editor view, without having to scroll.

mpatas commented 1 year ago

You should be able to see more than 3 linked files in the editor view, without having to scroll.

I wonder if that will solve this problem, or will it increase the threshold when the bug happens? (Not the same as solving it, but still a bit of an improvement.)

AEgit commented 1 year ago

It might just increase the threshold (more likely) thus providing a workaround to a certain extent (and solving the older bug reports indicated) or the indicated issues are directly related and solving the older issues also automatically solves the issue reported here.