jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Keep current position after deleting entries.

Open ryan-carpenter opened this issue 3 months ago • 2 comments

Is your suggestion for improvement related to a problem? Please describe. When I am scrolling through the entry table and delete an entry, my scroll position reverts to somewhere far away. One option is to live with it and scroll back to my current location. Another is to add the entry to a "Trash" group to be "expunged" at convenient time.

Describe the solution you'd like

  • Idea 1: Select the next entry at the current scroll position, taking focus from the previously selected entry.
  • Idea 2: Return focus the previous selection without scrolling back to it. In other words, return to the same state as prior to the deletion.

I suggest Idea 2.

The user need here is to remain oriented in the entry table, which is related indirectly to https://github.com/JabRef/jabref/issues/16035

ryan-carpenter avatar Aug 12 '26 09:08 ryan-carpenter

Refs #16036, maybe even a dupe?

pluto-han avatar Aug 12 '26 10:08 pluto-han

Refs #16036, maybe even a dupe?

Yes. I think you can call this a duplicate. I suggest updating the title to reflect that this doesn't just affect group selection. After deleting entries the UI should revert to the same state as prior to the deletion, whether it means staying in a group or staying in the current location in the entry table.

ryan-carpenter avatar Aug 13 '26 22:08 ryan-carpenter