jabref icon indicating copy to clipboard operation
jabref copied to clipboard

The autocompletion does not work perfectly

Open iTao8 opened this issue 9 years ago • 5 comments

JabRef 4.0.0-dev--snapshot--2017-07-11--master--e35b6ac2c Mac OS X 10.11.6 x86_64 Java 1.8.0_131

The bugs:

  1. The autocompletion does not work in the author and journal fields.

  2. The autocompletion dropdown box gives many same items. When you search something once more, there are two dropdown boxes overlap there.

screen shot 2017-07-12 at 6 47 45 am screen shot 2017-07-12 at 6 48 05 am

iTao8 avatar Jul 11 '17 22:07 iTao8

Thanks for the quick feedback!

This should be fixed in the latest development version. Could you please check the build from http://builds.jabref.org/master/. Thanks! Sometimes you still get the same suggestion in the search bar. This happens when the same author is entered in different ways (for example, once as "Tao, I." and also as "Tao, IdontKnow" so that the suggestion is "Tao, I." in both cases). There is nothing I can do at the moment but reporting the issue at .

Moreover, I couldn't replicate the two overlapping dropdown boxes (on Windows). What are the exact steps to reproduce this problem?

tobiasdiez avatar Jul 12 '17 18:07 tobiasdiez

JabRef 4.0-dev--snapshot--2017-07-19--master--894799b2f Mac OS X 10.11.6 x86_64 Java 1.8.0_131

The autocompletion dropdown box for the journal field covers the input screen shot 2017-07-21 at 6 27 11 pm

iTao8 avatar Jul 21 '17 10:07 iTao8

@tobiasdiez To reproduce the overlapping dropdown box, you just need to search an author two or more times.

It seems that the autocompletion in the search bar can only work for the author, not for journal and some other thing, is it?

My current version is JabRef 4.0-dev--snapshot--2017-07-19--master--894799b2f Mac OS X 10.11.6 x86_64 Java 1.8.0_131

iTao8 avatar Jul 21 '17 10:07 iTao8

In order to adress https://github.com/JabRef/jabref/issues/2998#issuecomment-316968028, @lenhard do you think we can adopt your recent solution for the BackupManager so that only bigger changes lead to an update of the autocompletion suggestions?

tobiasdiez avatar Jul 25 '17 11:07 tobiasdiez

@tobiasdiez Sorry, I have very little time at the moment. You should be able to do something similar as for the BackupManager, though. The DatabaseChangedEvent carries information about the delta that you can use.

lenhard avatar Jul 25 '17 19:07 lenhard