wordpress-mobile / wordpress-mobile/WordPress-Android
Set Parent Search should clear contents on multiple configuration changes
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
When navigating through set 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 the action menu (3 vertical dots) & select “Set Parent”
- 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 in feature branch feature/master-search-in-set-parent-page
References: https://github.com/wordpress-mobile/WordPress-Android/issues/11119

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the Set Parent search flow on the feature branch feature/master-search-in-set-parent-page, following the listed rotation and clear steps. Trace how search contents are restored across configuration changes; done means the query remains cleared after a second rotation and the behavior is covered by the relevant Android test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100