-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Context menu of linked file not updated after downloading #5777
Comments
Mac OS X 10.14.4 I can’t recreate this bug.
Then I tried to download from URL. I didn't get the same grayed out the issue. What am I missing to recreate this bug? |
@kevone123 Thanks for your interest! The entry context menu of the main table is working fine, but the context menu of the file is the problem (right click on "PDF" in your last screenshot). Sorry for being imprecise. |
@tobiasdiez I'm still unable to recreate this bug.
However it is greyed out when I clicked the empty grayed line after it. Thank you for your response. |
This is very strange. For me, the context menu looks like the one on your last screenshot. Only after I switch between entries, the context menu is updated correctly. |
Hi, we are a team of 5 students, and we are interested in working on this issue. Firstly, we had reproduced this bug. Thanks for your tips, we understand the reason. In our opinion, we find that only after downloading completed, We guess that it can’t immediately update for it not renews content menu, and can only reinitialize after switch between entries. We consider whether it is possible to renew the content menu immediately after downloading complete, that is after We would sincerely appreciate it if you could give us some hints or suggestions. jabref/src/main/java/org/jabref/gui/fieldeditors/LinkedFileViewModel.java Lines 415 to 420 in 7cb7ea6
|
Thanks for your interest! Updating the context menu manually would be one option. However, the "proper" JavaFX way would be to listen to the changes in the linked files. However, this automatic update should work in principle - but it doesn't for some reason.
|
Many thanks for your guidance, we understand this issue better. After re-syncing today, we find this bug seems to be solved due to issue # 6381. After downloading completed, the context menu will update immediately. And a new entry will be added but not overwrite. Sorry for not syncing this project in time. Please point out if there is any misunderstanding. Thanks a lot! |
I think @btut still noticed some issues in his comment #6381 (comment) |
We will try to work on the remaining issues. Thanks. |
I'd be happy to! |
I noticed that the ContextMenu for the FileEditor is not using the factory methods, we normally use for JabRef menus. |
Thanks for your reminder!We will try to. 😃 |
This issue has been inactive for half a year. Since JabRef is constantly evolving this issue may not be relevant any longer and it will be closed in two weeks if no further activity occurs. As part of an effort to ensure that the JabRef team is focusing on important and valid issues, we would like to ask if you could update the issue if it still persists. This could be in the following form:
Thank you for your contribution! |
JabRef version on
Steps to reproduce the behavior:
Relevant code:
context menu:
jabref/src/main/java/org/jabref/gui/fieldeditors/LinkedFilesEditor.java
Lines 215 to 267 in fc4201d
download:
jabref/src/main/java/org/jabref/gui/fieldeditors/LinkedFileViewModel.java
Lines 407 to 410 in fc4201d
Log File
The text was updated successfully, but these errors were encountered: