Skip to content

Search results tab is blank after switching library #13241

Closed
@ZodGaz

Description

@ZodGaz

JabRef version

Latest development branch build (please note build date below)

Operating system

MacOS

Details on version and operating system

MacOS Sequoia 15.0

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. Do a fulltext search in a library
  2. Switch to another db/library
  3. Switch back to the first library and check the search results tab

Turning off and on the fulltext flag again will make the results appear correctly.

Doing a sort of "hack" where we reset the flag (if it is active) every-time a library is switched seems to prevent the issue, like this :
stateManager.activeDatabaseProperty().addListener((_, _, _) -> { if (preferences.getSearchPreferences().isFulltext()) { Platform.runLater(this::resetFulltextFlag); } else { content.getChildren().clear(); } });

But it's just an hack and also seems to create problems with threads concurrency (I can post a video of this behavior as well if needed).

Appendix

Screen.Recording.2025-06-02.at.23.19.03.mov

No errors in the log.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions