wordpress-mobile / wordpress-mobile/WordPress-Android

Pages Search should clear contents on multiple configuration changes

Open
#11,317 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

[Type] Bug Posts + Pages
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Expected behavior

When navigating through site parent searching, it is expected that X will clear the search text across configuration changes.

Actual behavior

Although X will clear contents after configuration change, a second configuration change causes the search query text to reshow

Steps to reproduce the behavior
  • Navigate to Site Pages
  • Tap on search
  • Type some text so there is at least a single result
  • Rotate your device
  • Tap “X” - the contents clear
  • Rotate your device again
  • Search contents are still visible
Tested on [device], Android [version], WPAndroid [version]

Google Pixel 3XL
Android Version 10
WPAndroid - discovered while working on feature/master-search-in-set-parent-page

site-pages

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the WordPress for Android Site Pages search flow and reproduce the issue using the listed steps, especially the repeated rotation and X-button sequence. Done means search contents remain cleared after the second configuration change, with the behavior verified on the described Android setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.