Skip to content

Scroll position is not saved in some cases when the recent activity log is filtered by the keyword  #4699

@Versty

Description

@Versty

Version

AdGuard for Android 4.0 nightly 104

Environment

Any compatible android version

Case 1: bottom position is not saved

How to reproduce

Prerequisites

Some requests are stored in the recent activity log

Steps

  1. Open the recent activity log
  2. Enter the keyword in the search field
  3. Scroll to the bottom and open the details of the last request in the list
  4. Click the back button

Expected behaviour

The scroll is at the bottom of the list

Actual behaviour

The scroll is at the middle of the list

Case 2: navigation through multiple request details screens

How to reproduce

Prerequisites

Some requests are stored in the recent activity log

Steps

  1. Open the recent activity log
  2. Enter the keyword in the search field
  3. Scroll a bit and click any request in the list
  4. Click the back button (the scroll position is saved at this point (1))
  5. Scroll to the middle of the log
  6. Click any request on the screen
  7. Tap the back button

Expected behaviour

The scroll is in the middle of the list, where the last request details screen has been opened.

Actual behaviour

The scroll is saved in the position (1), where the first request details screen has been opened.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions