Menu

#1285 saving moves cursor as an unwanted side effect

next release
open
nobody
None
5
2016-12-08
2015-06-25
No

When editing an entry, I routinely press Cmd-S (i.e. "save database") to protect against bad surprises (crash, mishandling, etc). And sometimes, not always but most of the time, saving has the unpleasant side effect of moving my cursor to the end of the current field ! It happens both with the keyboard shortcut (Cmd-S as I'm on a mac) and with the menu item (File -> Save database).

The cursor is sometimes left untouched, Most of the times it gets moved to the end of the current field. And from time to time it will also move to the beginning of the field !

I'm experiencing this problem in the "Abstract" and "Review" tabs, but the misbehaviour seems to be the same for all other fields as well (Author, Title, etc).

all in all, this is not a disastrous problem, and one could live with it, but clearly the "random" aspect (sometimes it will trigget sometimes it won't) is starting to get on my nerves :-)

Discussion

  • Simon Harrer

    Simon Harrer - 2015-06-25

    On my windows machine I am unable to reproduce this. Maybe this is an issue of this Text Area on a Mac?

     
    • Oliver Kopp

      Oliver Kopp - 2015-06-25

      I can reproduce it on Win8, Java 1.8.0_45. New entry, Book, Field Review: "aword bword cword" Cursor before "beworde". Press CTRL+s. Cursor now at the end of "cword".

       
  • Guillaume Salagnac

    maybe. any suggestion as to how I could investigate this and try to answer the question ?

     
  • Stefan Kolb

    Stefan Kolb - 2015-09-03

    PR https://github.com/JabRef/jabref/pull/143 should fix this. Please try out with current master and confirm if it works :)

     
  • Guillaume Salagnac

    I tried (not very hard) and was not able to build jabref from source, so I'll probably have to trust you on this one. Thanks anyway.

     
  • Oliver Kopp

    Oliver Kopp - 2016-12-08

    Please try JabRef 3.7 or the latest build from https://builds.jabref.org/. It should really be fixed now.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.