Skip to content

Scroll jumps to wrong position when switching between databases #12001

Open
@leohoman

Description

@leohoman

Have you searched for an existing issue?

  • Yes, I tried searching and reviewed the pinned issues

Brief Summary

KeePassXC jumps to wrong scrolling position on entry list when you switch between open databases. This happens when you use search view with 'natural sorting' and select entry which would be in different position on list if you would use alphabetical sorting.

Steps to Reproduce

  1. Create (or open) a database which has enough entries to scroll and an entry that is alphabetically sorting in 'wrong' position
  2. Open 'All Entries' search at the root of database
  3. Set sorting to 'natural' so that entries are not sorted in alphabetical order by title, group name or other attribute
  4. Select an entry that would be in other position if list would be sorted alphabetically
    Image
  5. Switch to other database
  6. Click "All Entries" search here too
    Image
  7. Switch back to first database. The scroll has jumped to position where selected entry would be when sorting alphabetically (as in this example the "ZZZ..." entry would be last on the list and that's where scroll has jumped)
    Image

Expected Versus Actual Behavior

KeePassXC should respect the 'natural sorting' and maintain the scroll position when switching between databases.

KeePassXC Debug Information

KeePassXC - Version 2.7.10
Revision: b342be4
Operating system: Windows and Linux

This seem to happen at least both Windows and Linux and also on older versions.

Operating System

Windows

Linux Desktop Environment

KDE

Linux Windowing System

X11

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions