jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Beginning/end of line text editing shortcuts are not limited to a single line

Open ryan-carpenter opened this issue 2 months ago β€’ 13 comments

JabRef version

Latest development branch build (please note build date below)

Operating system

macOS

Details on version and operating system

JabRef 100.0.0 Mac OS X 26.5.2 aarch64 Java 25.0.3 JavaFX 27+30

Checked with the latest development build (copy version output from About dialog)

  • [x] I made a backup of my libraries before testing the latest development version.
  • [x] I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. Bind beginning of line and end of line shortcuts to Control-A and Control-E (Emacs C-a and C-e), respectively
  2. Bind beginning of text and end of text shortcuts to Shift-Command-Comma and Shift-Command-Period (Emacs M-< and M->), respectively
  3. Select a multi-line text field such as abstract.
  4. See that the beginning/end or line shortcuts don't work as expected. Instead, they have the same function as the beginning/end of text shortcuts. Image

Control-A and Control-E should move the caret to the beginning/end of the current line, not the beginning/end of the current text field. This bug occurs in multi-line text fields such as abstract and comment but the shortcuts work as expected in the Source tab.

The issue also affects "Remove line after caret", which I have bound to Control-K (Emacs C-k).

Appendix

...

Log File
Not applicable

ryan-carpenter avatar Sep 22 '26 22:09 ryan-carpenter

hi i am sanjitha. i would like to work on this issue. can you please assign it to me

πŸ‘‹ Hey @velmurugan13111974-commits, looks like you’re eager to work on this issue β€” great! πŸŽ‰ It also looks like you don't know how to assign issues to yourself. Please read our CONTRIBUTING.md to find out how. It will also guide you in other aspects of contributing to JabRef.

jabref-machine avatar Oct 08 '26 05:10 jabref-machine

/assign-me Hi, if it is still available, I would like to take on this issue as part of my university assignment ! Thanks very much.

HaMinhDung-Nguyen avatar Oct 12 '26 04:10 HaMinhDung-Nguyen

Hi @HaMinhDung-Nguyen, this issue needs triage by a maintainer first. Please wait until the status: needs-triage label is removed.

github-actions[bot] avatar Oct 12 '26 04:10 github-actions[bot]

/assign @HaMinhDung-Nguyen

koppor avatar Oct 12 '26 05:10 koppor

πŸ‘‹ Hey @HaMinhDung-Nguyen, thank you for your interest in this issue! πŸŽ‰

We're excited to have you on board. Start by exploring our Contributing guidelines, and set up your local development workspace by following the steps in our workspace setup guidelines to get started smoothly. When using AI tools, please use them as an assistant rather than simply copying their output. See Don't paste the AI, please.. For questions on JabRef functionality, you can consult the JabRef Guru. For questions related to the codebase, please start using DeepWiki.

In case you encounter failing tests during development, please check our developer FAQs!

Still facing issues or having more questions? Feel free to ask here on GitHub or on JabRef's Gitter chat. Please don't hesitate to open a (draft) pull request early on to show the direction you are heading towards if unsure.

Happy coding! πŸš€

jabref-machine avatar Oct 12 '26 05:10 jabref-machine

/unassign-me

HaMinhDung-Nguyen avatar Oct 12 '26 05:10 HaMinhDung-Nguyen

@HaMinhDung-Nguyen has been unassigned from this issue.

jabref-machine avatar Oct 12 '26 05:10 jabref-machine

16. /unassign-me

Didn't you want to work on this? @HaMinhDung-Nguyen

subhramit avatar Oct 12 '26 06:10 subhramit

oh, because initially I misread the bug is for macos, but I am using window, so I don't think I can reproduce, test and resolve this bug

HaMinhDung-Nguyen avatar Oct 12 '26 06:10 HaMinhDung-Nguyen

I want to work on this issue /assign-me

Gautam-aman avatar Oct 12 '26 14:10 Gautam-aman

Thank you for your continued work in JabRef. At this point, you probably already know the basics and the important links. If not, our contributing guidelines is the place you should go to.

At this point in time, you raised 2 pull request(s) of which 50% (1/2) have been merged.

jabref-machine avatar Oct 12 '26 14:10 jabref-machine

We think that this issue was fixed. Please head to https://builds.jabref.org/main to download a development build and try it out.

For any feedback, add a comment to the pull request at https://github.com/JabRef/jabref/pull/17460.

github-actions[bot] avatar Nov 07 '26 19:11 github-actions[bot]