Open ParaskP7 opened 4 years ago
The above might also relate to the below open issues:
Thank you for the report @ParaskP7!
I tested using WPAndroid 15.4-rc-1 on Pixel 3 Android 10 and verified that if I search the Posts List then rotate the device and tap "X" that it clears the form field but the results below it are still visible when they should not be. (55s)
Tangentially related: https://github.com/wordpress-mobile/WordPress-Android/issues/11913.
Expected behavior
Clicking on the
Clear Button (X)
during a configuration change (like a rotation) should clear the search query and the displayed results. Also, the overall screen state should not become inconsistent with what the user expects when rotating the screen.Actual behavior
When searching for
Site Pages
orBlog Posts
using a specific search query (saytags
) everything works as expected. All pages or posts that match that search query are shown, as expected. Then, when clicking theClear Button (X)
, the search query and results gets cleared. However, if the screen gets rotated first (a configuration change) and then theClear Button (X)
gets clicked then, the search query gets cleared but not the search results. Afterwards, rotating back to the original orientation, the state of the screen gets rurther messed up.Steps to reproduce the behavior
My Site
site
Site Pages
orBlog Posts
tags
Close Button (X)
on the top righttags
Close Button (X)
once moreClose Button (X)
produces the same set of problemsTested on [device], Android [version], WPAndroid [version]
Tested on Pixel 2 XL, Android 10, WPAndroid 15.4-rc-1