-
-
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
Automatic keyword groups do not update in group list when keywords change #7129
Comments
GroupSidePane updates also when you navigate from and back to the tab |
At the moment, when you edit the group and then press Another thing caught my attention ( Is this a separate bug? |
I have reproduced this issue in the new version. Could I try to fix it? |
Hello, I wanna have a try to solve this problem. Can I give it a shot? |
@Css22 hey, yes feel free to! :-) As a general advise and if you are new to open source and JabRef: check out https://github.com/JabRef/jabref/blob/main/CONTRIBUTING.md for a start. Also, https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace is a good start. Feel free to ask if you have any questions here on GitHub or also at JabRef's Gitter chat. Try to open a (draft) pull request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards. This way, you will likely receive valuable feedback. |
Thank you for your reply. I will do it as soon as possible. |
check #4681 |
JabRef version 5.1--2020-08-30--e023aa0 on Windows 10.
Summary
It is possible to create dynamic, auto-generated groups based on the contents of a field, e.g.
keywords
. (In the Groups interface,Add subgroup
, and chooseCollect by > Specified keywords
). However, these dynamically generated groups don't update when new keywords appear in the file. In other words, if you edit an item in such a way that a new keyword appears, it does not appear in the dynamic list of groups, unless you close and re-open the file.As a user, I would expect the list of groups to update dynamically when I make changes. At a minimum, I would expect there to be an obvious way to refresh the group list without having the close and re-open the file.
Steps to reproduce the behavior
.bib
: reprex.txt).example
, containing 1 item - this is automatically generated from the keyword field of the example item.new keyword
).example
group is still present, now with 0 items, and nonew keyword
group has appeared. We would expectexample
to disappear from the list, andnew keyword
to appear.example
has disappeared, andnew keyword
appears, i.e. the list of groups has updated to match what's in the file. There should be a way to force this to update, without having to close and re-open the file.Example bibliography
Screenshots
Initial state (steps 1-2):
The keywords have been changed, but the list of groups has not been updated (step 4):
The text was updated successfully, but these errors were encountered: