Fix Jump to field (ctrl + j) in the entry editor doesn't work - #16639
Fix Jump to field (ctrl + j) in the entry editor doesn't work#16639adeifv wants to merge 23 commits into
Conversation
PR Summary by QodoFix jump-to-field (Ctrl+J) to add and focus hidden entry editor fields
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
Code Review by Qodo
1.
|
|
Thank you for the clean PR, the video, and the honest writeups. We will review this soon. |
|
Tried this PR on my machine. Mostly works. If users have custom entry-editor tabs with duplicated fields in the main tab, it will jump to the custom tab first, which I like. I found one problem: ctrl+j only works, if an entry editor tab is actually selected (e.g. by left-click). Maybe this was also the reason why I thought it was broken. How to reproduce:
The keybinding doesn't seem to be global or maybe this is a listener / sync issue between currently opened editor tab. |
@ThiloteE , Thanks for the feedback. After the fix, the handler now lives at the frame level. It stays a no-op while the entry editor is hidden, so behavior is otherwise unchanged. Could you give it another try? |
LoayTarek5
left a comment
There was a problem hiding this comment.
Solid work @adeifv.
just small things, also i see that no requirement exists for jump-to-field, so i think it worth adding
|
Do not request reviews if changes are required. |
LoayTarek5
left a comment
There was a problem hiding this comment.
Good so far @adeifv, just small things, and i think it is good to go
| .findFirst(); | ||
| } | ||
|
|
||
| private void addFieldViaAllFieldsTab(Field field) { |
There was a problem hiding this comment.
If the main tab is hidden in preferences, findFirst is empty and ctrl+j silently does nothing

Summary
The jump-to-field dialog now searches all known field names instead of only currently shown fields, and adds the field to the view if it isn't already visible (the same behaviour as clicking a "+" chip).
IMPORTANT:
Additionally,
All four issues are fixed too.
jabref-contrib-policy:4.2:reviewed:okSteps to test
As described in #16593
Screencast.from.2026-08-20.22-18-03.webm
Related issues and pull requests
Closes #16593
AI usage
GitHub Copilot by Student Pack, which only provides the Auto option, to assist with understanding certain concepts and implementing few parts. I also used the free tier of Claude Sonnet 5 available on its website.
Checklist
CHANGELOG.mddescribing the change from the user's point of view (if the change is visible to the user)