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

Search field is persistent over tab switch #2468

Closed
rfgiusti opened this issue Jan 15, 2017 · 6 comments
Closed

Search field is persistent over tab switch #2468

rfgiusti opened this issue Jan 15, 2017 · 6 comments

Comments

@rfgiusti
Copy link

rfgiusti commented Jan 15, 2017

JabRef version 3.8.1 on Debian GNU/Linux stretch/sid with JRE OpenJDK 1.8.0_111 and Xfce 4.12.

Description after performing a search and cleaning the search field, switching to another tab and back will reinsert the search query.

Steps to reproduce

  1. Create two empty databases (they need not be empty, but this seems the easiest path to reproduce the error);
  2. Press CTRL+F and search for anything on the first database;
  3. Erase the contents of the search field (either by deleting, pressing ESC or clicking on the X button);
  4. Switch to the second database;
  5. Switch back to the first database.

Expected behavior: the first database should be displayed normally and the search field is empty;
Actual behavior: the first database shows the results of the search and the search field contains the deleted query terms.

@koppor
Copy link
Member

koppor commented Jan 15, 2017

Try to uncheck the icon showing the earth. Does that work for you?

grabbed_20170115-223348

@koppor koppor added type: documentation status: waiting-for-feedback The submitter or other users need to provide more information about the issue labels Jan 15, 2017
@rfgiusti
Copy link
Author

rfgiusti commented Jan 15, 2017 via email

@koppor koppor removed type: documentation status: waiting-for-feedback The submitter or other users need to provide more information about the issue labels Jan 15, 2017
@koppor
Copy link
Member

koppor commented Jan 15, 2017

@bartsch-dev Can you comment on that?

@chriba
Copy link
Contributor

chriba commented Jan 15, 2017

I think I know the problem, looking into it right now.

@chriba
Copy link
Contributor

chriba commented Jan 15, 2017

This Issue is fixed in the current master, you can download the development version here https://builds.jabref.org/master or wait for the next release.

@rfgiusti
Copy link
Author

Checked from master; looks good!

But there's also the secondary behavior that I noticed after koppor's comment: when you make a global search, it seems to create one search query for each tab. If you uncheck global search before deleting the query, there will remain one search query associated with each tab.

Should I open another issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants