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

JabRef forgets opened libraries #9190

Closed
2 tasks done
mlep opened this issue Sep 30, 2022 · 7 comments
Closed
2 tasks done

JabRef forgets opened libraries #9190

mlep opened this issue Sep 30, 2022 · 7 comments
Assignees
Labels
bug Confirmed bugs or reports that are very likely to be bugs export / save

Comments

@mlep
Copy link
Contributor

mlep commented Sep 30, 2022

JabRef version

Latest development branch build (please note build date below)

Operating system

GNU / Linux

Details on version and operating system

JabRef 5.8--2022-09-29--fca9fb9 Linux 5.10.0-18-amd64 amd64 Java 18.0.2.1 JavaFX 19+11

Checked with the latest development build

  • 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 a (pre-existing) library (e.g. https://github.com/JabRef/jabref/blob/main/src/test/resources/testbib/jabref-authors.bib)
  2. create a new library (e.g. File -> New library)
  3. edit a bit this new library (e.g. add/paste an entry)
  4. close JabRef (e.g. File -> Quit)
    At this point, a window entitled "Save before closing" is displayed.
  5. select Discard changes
    JabRef closes
  6. open JabRef
    Bug: No library is displayed, while the pre-existing one (e.g. jabref-authors.bib) should be.

Appendix

...

Log File
Paste an excerpt of your log file here
@ThiloteE ThiloteE added export / save bug Confirmed bugs or reports that are very likely to be bugs labels Sep 30, 2022
@tomnguye
Copy link

Hi, I'm a new contributor. I would like to try solving this. Could you assign me this issue?

@ThiloteE
Copy link
Member

hey, you can try of course.

Seeing as you are pretty new to GitHub, I assume you are new to programming. For newcomers we have assigned issues with the tag "good first issues". Good first issues from Koppor also count. If you get stuck here, I would suggest to try from there. If you are a student, the "candidates for university projects" page also offers some issues of varying difficulty and scope and that have been estimated to be compatible with university courses as well and often bring a larger feature to JabRef.

@ThiloteE
Copy link
Member

As a general advice: check out https://github.com/JabRef/jabref/blob/main/CONTRIBUTING.md for a start. Also, https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace is worth having a look at. Feel free to ask if you have any questions here on GitHub or also at JabRef's Gitter chat.

Try to open a (draft) pull request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards (but do testing in your local environment). This way, you will likely receive valuable feedback.

@koppor
Copy link
Member

koppor commented Dec 19, 2022

Formulated differently, the request is some Notepad++ behavior

JabRef should remember all newly, but unsaved libraries.

grafik

@koppor
Copy link
Member

koppor commented Dec 19, 2022

In JabRef, the unsaved libraries are not restored upon restart

grafik

@koppor
Copy link
Member

koppor commented Dec 19, 2022

Additionally, JabRef forgets all opened libraries:

  1. Closing
    grafik
  2. After restart
    grafik

@mlep
Copy link
Contributor Author

mlep commented Dec 26, 2022

@Siedlerchr I can confirm this issue is fixed.Thank you!

@koppor koppor closed this as completed Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs export / save
Projects
Archived in project
4 participants