labsquare / cutevariant

A standalone and free application to explore genetics variations from VCF file

Home Page:https://cutevariant.labsquare.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Save position in table on refresh

SamuelNicaise opened this issue · comments

On refresh, in the main window:

  • variant selection switches to the first variant
  • if there is horizontal scrolling, view goes back to the first column in the main window

There is some level of risk involved with changing selection if the user doesn't notice, and the reset to the first column is very annoying for our users as there is a refresh everytime they sort a column

**In summary: save (x,y) position in the main window before a refresh, then put the view back to the line where it was (if possible) and the column where it was (if possible)

If the line/column is no longer in the view, then go back to the first one.