jabref icon indicating copy to clipboard operation
jabref copied to clipboard

cursor jumps to end of bibentry code in entry editor

Open ilippert opened this issue 5 years ago • 12 comments

JabRef version

Latest development branch build (please note build date below)

Operating system

GNU / Linux

Details on version and operating system

JabRef 5.4--2021-10-19--f328363 Linux 5.14.13-200.fc34.x86_64 amd64 Java 16.0.2 JavaFX 17.0.0.1+1

Checked with the latest development build

  • [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. edit bibtex code in entry editor, cursor in the midst of the entry somewhere
  2. switch to another software
  3. switch back to Jabref: Cursor is at the end of the bibentry code

This differs to https://github.com/JabRef/jabref/issues/5904#

ilippert avatar Oct 23 '21 10:10 ilippert

/assign-me

RishabhRawat9 avatar Jul 14 '26 19:07 RishabhRawat9

👋 Hey @RishabhRawat9, 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.

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 Jul 14 '26 19:07 jabref-machine

First of all: This issue is very old. Does this still happen? Reproduce first.

Siedlerchr avatar Jul 16 '26 20:07 Siedlerchr

Yes it is still there I did reproduce it, should I share a gif showing this bug?

RishabhRawat9 avatar Jul 16 '26 20:07 RishabhRawat9

https://github.com/user-attachments/assets/fb408975-e840-4f82-9767-d26dabe85be4 Hello @Siedlerchr , you can see how after making an edit in the code if you switch to another app and come back the cursor jumps to the end.

RishabhRawat9 avatar Jul 17 '26 18:07 RishabhRawat9

okay thanks for the reproducer video! You can continue working on this, but please read through the PR description/format etc

Siedlerchr avatar Jul 17 '26 19:07 Siedlerchr

/assign-me

RishabhRawat9 avatar Jul 17 '26 19:07 RishabhRawat9

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 1 pull request(s) of which 0% (0/1) have been merged.

jabref-machine avatar Jul 17 '26 19:07 jabref-machine

Hi @Siedlerchr, while testing this issue I came across another problem.

Steps to reproduce:

  1. Open the entry editor for an entry.
  2. Go to the source tab and make an edit (or place the cursor there).
  3. Click on another entry of the same type.

The previously selected entry's source is then written into the newly selected entry (overwriting the previous entry) Should I open a new issue for this, or is this already a known issue? I couldn't find an existing report. Should I continue with the cursor issue?

Here's a video demonstrating the behavior: https://github.com/user-attachments/assets/dfaf39c3-2cc0-403b-9477-760cd9a4dfed

RishabhRawat9 avatar Jul 22 '26 17:07 RishabhRawat9

@RishabhRawat9 You can investigate this as well. I could also reproduce it, but only sometimes. I think it happens when you don't really click on the other entry row but a bit above/next to it so that it's not blue

Siedlerchr avatar Jul 22 '26 17:07 Siedlerchr

/unassign-me

RishabhRawat9 avatar Aug 18 '26 15:08 RishabhRawat9

@RishabhRawat9 has been unassigned from this issue.

jabref-machine avatar Aug 18 '26 15:08 jabref-machine