jabref icon indicating copy to clipboard operation
jabref copied to clipboard

confusing information when you use the search bar

Open rbellazar opened this issue 7 months ago • 10 comments

JabRef version

6.0-alpha.5

Operating system

Windows

Details on version and operating system

Windows 11, JabRef 6.x https://builds.jabref.org/main/

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

  • [x] I made a backup of my libraries before testing the latest development version.
  • [x] I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. search a matching author or year
  2. when I search for year=2017 or 1996 it highlights in BibTex source but won't show in results.

Appendix

It says "no results found" but when you click the search button beside it, that's when you'll see the results. Ref to the photos. Also, it still shows the previous result that matched (ref to photo #2)... I searched for 2019, the year search worked.... ref to photo #3.

Image Image Image

rbellazar avatar Apr 22 '26 08:04 rbellazar

HI, I cannot really reproduce this, the search results are calculated correctly

To avoid some confusion: If you press the "Filter Search" to hide the non matching entries; otherwise, they are just greyed out.

Image

Siedlerchr avatar Apr 22 '26 18:04 Siedlerchr

HI, I cannot really reproduce this, the search results are calculated correctly

See that the global search returns one entry, but the search on the search bar returns zero entries ("No results found"). - First screenshot.

I think 1 is not 0 in most universes.


Second screenshot shows an issue with 0 hits in the global search - preview still rendered of some hit.

koppor avatar Apr 23 '26 11:04 koppor

\assign-me

FernandadaCal avatar Apr 26 '26 22:04 FernandadaCal

👋 Hey @FernandadaCal, thank you for your interest in this issue! 🎉

We're excited to have you on board. Start by exploring our Contributing guidelines, and set up your local development workspace by following the steps in our workspace setup guidelines to get started smoothly.

For questions on JabRef functionality, you can consult the JabRef Guru. For questions related to the codebase, please start using DeepWiki.

In case you encounter failing tests during development, please check our developer FAQs!

Still facing issues or having more questions? Feel free to ask here on GitHub or on JabRef's Gitter chat. Please don't hesitate to open a (draft) pull request early on to show the direction you are heading towards if unsure.

Happy coding! 🚀

jabref-machine avatar Apr 26 '26 22:04 jabref-machine

Hi! I was able to fix the preview issue in the global search dialog (preview now clears when there are 0 results). However, I still cannot reproduce the “No results found” in the search bar while results exist. Could someone provide a minimal repro (library content + exact query + search settings like filter/regex/case)?

FernandadaCal avatar Apr 29 '26 01:04 FernandadaCal

assign-me

arnav03op avatar May 01 '26 11:05 arnav03op

Hi @arnav03op, just to clarify, I’m already assigned to this issue and I’m still working on it. I fixed the problem where the previous preview was not cleared, but I’m still trying to reproduce the “no results found” behavior. I’ll keep investigating it and update the issue once I have more progress.

FernandaFigueirdo avatar May 01 '26 12:05 FernandaFigueirdo

Sure @FernandaFigueirdo

arnav03op avatar May 01 '26 13:05 arnav03op

⏰ Assignment Reminder

Hi @FernandadaCal, this is a friendly reminder about your assignment to this issue.

[!WARNING] This issue will be automatically unassigned in 7 days if there's no activity.

Remember that you can ask the JabRef Guru or DeepWiki about anything regarding JabRef. Additionally, our contributing guide has hints on creating a pull request and a link to our Gitter chat.

How to keep your assignment


If you are working on it, you can prevent automatic unassignment by:

  • Submitting a draft pull request with your progress within 7 days
  • Asking for the 📌 Pinned label if you need more time

We appreciate your contribution and are here to help if needed!

github-actions[bot] avatar May 08 '26 12:05 github-actions[bot]

We think that this issue was fixed. Please head to https://builds.jabref.org/main to download a development build and try it out.

For any feedback, add a comment to the pull request at https://github.com/JabRef/jabref/pull/15756.

github-actions[bot] avatar Jun 19 '26 23:06 github-actions[bot]