Opened 4 years ago

Closed 4 years ago

#343 closed enhancement (fixed)

Saving a dive after edit jumps to top of list

Reported by: divelogs Owned by: tcanabrava
Priority: minor Component: Qt-UI
Version: 3.9.2 BETA Keywords: dive list, scrolling
Cc: Plattform (please give specifics in the ticket text): Mac


When editing a dive and saving, the list of dives jumps to the top, which is a bit frustrating on older dives, because you have to scroll far back down to edit the next dive. It would be cool, if the list stays at its position when saving or scrolls back down to the selected dive

Change History (3)

comment:1 Changed 4 years ago by DirkHH

It does not do that for me. I tried this on Mac OS 10.7.5 with the DMG that I uploaded.
If I edit a random dive deep down in my divelist, that dive stays selected and is re-centered in the dive list.
We used to have the behavior that you describe in an earlier build of Subsurface 3.9, but that was fixed...
Can you explain what exactly you are doing? Maybe do a screen video?

comment:2 Changed 4 years ago by tcanabrava

It does for me. trying to fix.

comment:3 Changed 4 years ago by Dirk Hohndel <dirk@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 5ac29bbe74052ca530fa4bbb102b708ff08c1142/subsurface:

Save and reestore scrollbar position on editing the items.

Save and restore scrollbar position on editing the dives.
I think this is not the best place for it, but I'll leave
it here for a while untill I find a better place.

Fixes: #343
Signed-off-by: Tomaz Canabrava <tcanabrava@…>
Signed-off-by: Dirk Hohndel <dirk@…>

Note: See TracTickets for help on using tickets.