Skip to content

Changes in entry preview are not saved #6447

@mlep

Description

@mlep

JabRef 5.1--2020-05-04--b5599c9
Linux 4.9.0-12-amd64 amd64
Java 14.0.1

Changes in the entry preview format are accounted for only after restarting.

Note 1: may seem similar to issue #5464, but the present issue is about the content of the preview.
Note 2: issue is present with "Show preview as tab in entry editor" checked or unchecked.

Steps to reproduce the behavior:

  1. Create a file with the following entry and save it
@Article{MyKey,
  author    = {Author1, Surname1 and Author2 Surname2},
  journal   = {The Journal title},
  title     = {The title of the article},
  year      = {2020},
  number    = {12},
  pages     = {1-100},
  volume    = {15},
 }
  1. Go to Options -> Preferences -> Entry preview
  2. Select "Preview" in the column "Selected"
  3. Click on the Edit tab
  4. Change
    \begin{journal} <em>\format[HTMLChars]{\journal}, </em>\end{journal}
    into
    \begin{journal} <em>\format[HTMLChars]{\journal},HereIsMyChange </em>\end{journal}
  5. Go to the preview Tab.
    ==> The preview is updated accordingly.
  6. Click on save
  7. Edit the entry
    The preview shows:
    Capture du 2020-05-08 15-26-09
    HereIsMyChange is not displayed ==> The preview is NOT updated.
  8. Close and reopen JabRef
  9. Edit the entry
    The preview shows:
    Capture du 2020-05-08 15-20-54
    HereIsMyChange is displayed ==> The preview is updated NOW.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for bug.

    Projects

    Status
    Normal priority

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions