-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Cursor jumps away from the search field #1938
Comments
I can confirm this problem - unfortunately I've also not been able to find the pattern behind it, so I did not report the bug. |
Same for me with JabRef 3.6 on Windows 10 (1511). The cursor jumps away sometimes (but not every time) when the partial search term is a valid text completion. For example, searching for "bilateral" may mean that the cursor jumps away after "bi" as this is the surname of some author (Bi). But this is somehow not reproducible. |
I have been trying to reproduce this, but fail to do so. My cursor stays in the search field, also with search terms that are valid text completions. Sorry, but as long as we haven't found a way of reproducing this, there is also no chance of fixing it. |
It's frustrating. I just sat down to try to find the pattern, but have failed to reproduce the effect even once. I want to mention two points, just in case they help others look for the pattern:
I'll try to observe this further and let you know once I know more. The bug is pretty annoying mainly because it has a potential to mess up my carefully built database. I already started having bibtex-compilation problems because I've unintentionally added strings that caused trouble (e.g. into the "Crossref" field). |
I've also tried to reproduce it, but as you say it kind of happens in a random way. One point that you mention is interesting: You have a large database and so have I (currently >8000 entries). It would be interesting to see, if everyone who is affected, has a large database. I also tried to reproduce the problem with a smaller database, but there it never happened (but I have to say, I only tried this for a couple of minutes, so maybe that's the reason). |
Please try our latest build at https://builds.jabref.org/master. We worked on the search bar and it should be much better now. |
@bartsch-dev Could you have a look at it? Use a large database with 10.000 entries. |
The bug is back and I have some new observations: Initial conditions (the first one is necessary, the second one maybe not):
Search & jump:
This is reproducible. I just tried searching for "kratzer", while having the "General" tab open. After writing "kra", the jump happened (to the first entry containing the string "kra" within the "General" tab), making me write "tz..." into the Crossref field of that entry. Hope this helps! |
@radeksimik: Did you try the new master build? I ran into an additional (unrelated) problem with it. See here: #1993 |
I see exactly the same issue as described by radeksimik. My database has >7000 entries. |
Video of bug: #2137 (comment) |
I have a database with 9917 entries; I encounter the phenomenon, too. |
I encounter the same issue with latest master (e9ed743). I have the entry editor open and just type something in the search field. |
We made some changes in the search behavior: If an entry editor is open, the search hits no longer get automatically selected, but the currently open entry is kept. (See #2129) Wheres this is not directly related to this issue, it might also solve it as it may fix the incorrect/undeterministic behavior of jumping to the first text field in the entry editor if a search hit is selected. Could you please test on of the current development builds whether the problem is solved there? You can find the builds here: http://builds.jabref.org/master/ (Side note: in comparison to 3.6 the position and the semantic of the search field has changed: the search is now a global search where the search can be executed for each open bib database upon switching tabs (by clicking on the "globe" symbol)) |
This seems to work quite well; at least after testing for 5 minutes I do not seem to encounter the issue anymore... |
Thanks, @matthiasgeiger, this seems to have solved the issue for me as well! |
Good to hear! So we can close this. |
Yes, I was reluctant to report anything, because (as mentioned above) this error did not appear in a deterministic way, but so far it seems as if the problem was solved with the latest development version. |
JabRef version 3.6 on Mac OS X 10.11.6
Steps to reproduce:
Essentially, this problem makes me search only when the entry editor is closed/deactivated. Pretty annoying.
The text was updated successfully, but these errors were encountered: