-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Fix context menu of the search bar #11446
Conversation
Remove constructor
Human testing for tab (library) switching:
|
Test with the different modes, global search and search across libraries |
jabref/src/main/java/org/jabref/gui/preview/PreviewViewer.java Lines 171 to 176 in e6b5470
This class is used in multiple locations, most of which don't have access to the LibraryTab to retrieve the SearchQueryProperty (maybe most of the PreviewViewer instances don't need to highlight the search pattern. Highlighting is needed only in the entry editor and the global search window). |
I noticed you make several changes and fixes to the ui. Please don't forget to create screenshots before and after the change. |
maybe a preference migration must be added to test if there is already a shortcut registered, and if not, do so? |
Exactly. Clearing preferences works because when you pass an empty list of bindings to We should have a migration strategy that would merge the bindings loaded from preferences and key bindings from The migration can be added to We should also consider versioning preferences because doing the migration could cause problems when running an older version of JabRef. |
Note that the current impl of the preferences default map will change soon |
Should I make any changes to the preferences in this PR? This issue is related to the preference design, and it's not ideal to add a preference migration for every new shortcut. |
I think we should postpone it until the default map change is completed to avoid any conflicts. Plus I have noticed other keybindings are not present in preferences, so the issue goes beyond this PR. I created an issue to track it https://github.com/JabRef/jabref-issue-melting-pot/issues/471 |
…mance * upstream/main: Bump gittools/actions from 1.2.0 to 2.0.0 (JabRef#11529) Bump src/main/resources/csl-styles from `fd6cb3e` to `bf2926b` (JabRef#11528) Bump org.openrewrite.rewrite from 6.16.3 to 6.16.4 (JabRef#11527) Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.15.0 (JabRef#11525) Bump org.jspecify:jspecify from 0.3.0 to 1.0.0 (JabRef#11523) Bump com.github.andygoossens.modernizer from 1.9.2 to 1.9.3 (JabRef#11524) Always show star for local unsaved library (JabRef#11519) Update to javafx 22.02 (JabRef#11518) Try to use "release" (made in fork) (JabRef#11517) Fix NPE when saving preferences (JabRef#11515) New translations jabref_en.properties (Portuguese, Brazilian) (JabRef#11516) Add OpenAI privacy policy (JabRef#11511) import PMID field in Pubmed (JabRef#11513) New Crowdin updates (JabRef#11514)
EditAction
that sometimes copy/paste/cut the selected entries instead of the text of the search bar).Mandatory checks
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)