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

Keep search string across library shows "No results found" even there are entries in the other library #11267

Closed
2 tasks done
Siedlerchr opened this issue Apr 29, 2024 · 1 comment · Fixed by #11268
Closed
2 tasks done
Labels
component: search [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs

Comments

@Siedlerchr
Copy link
Member

JabRef version

Latest development branch build (please note build date below)

Operating system

macOS

Details on version and operating system

mac os 14.4.1 latest jabref dev version

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. Create or open a new empty
  2. Open jabref-authors bib file
  3. Search for e.g. "Kopp"
  4. Activate option "Keep search string across library" (the globe icon)
  5. Search results say "No results found"
  6. Switch tabs and see that there are many results in the second library

Switching back and forth does not change

Appendix

...

Log File
Paste an excerpt of your log file here
@Siedlerchr Siedlerchr added [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs component: search labels Apr 29, 2024
@github-project-automation github-project-automation bot moved this to Normal priority in Prioritization Apr 29, 2024
@LoayGhreeb
Copy link
Member

Oh, that was my fault in #11032.

- this.stateManager.activeDatabaseProperty().addListener((obs, oldValue, newValue) -> stateManager.activeSearchQueryProperty().get().ifPresent(this::updateSearchResultsForQuery));

+ this.searchQueryProperty.addListener((obs, oldValue, newValue) -> searchQueryProperty.get().ifPresent(this::updateSearchResultsForQuery));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: search [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants