Page MenuHomePhabricator

"No results found" message not visible when keyboard active when triggered from the **Article** view
Closed, ResolvedPublic1 Estimated Story Points

Description

While trying to search using the search icon displayed while reading an article, the "No Results Found" message that is displayed is not completely visible.

Steps to reproduce

  1. Open the Main Page (probably by opening a new tab)
  2. Tap the search icon
  3. Type random letters so that results aren't found

Expected results
"No Results Found" message displayed is visible even when keyboard is active

Actual results
"No Results Found" message is only partially visible when keyboard is active. It is completely visible only when keyboard is hidden.

Screen shot

"No Results Found" message not found.png (960×540 px, 53 KB)

Note: This also applies for the empty search illustration and message that appears when user invokes search from an article page (clear all recent searches to see this initial message):

Screenshot_20170524-143556.png (1×1 px, 100 KB)

Related ticket: T137116

Environments observed
App version : 2.5.195-alpha-2017-05-22
Android version : 5.1.1
Device vendor : Samsung
Device model : Galaxy J2 (SM-J200G)

Event Timeline

RHo renamed this task from "No results found" message not visible when keyboard active to "No results found" message not visible when keyboard active when triggered from Article tabs.May 25 2017, 11:45 AM
RHo updated the task description. (Show Details)
RHo claimed this task.
RHo subscribed.

Resolved in T137116

Screenshot_20170606-204130.png (1×1 px, 110 KB)
Screenshot_20170606-204143.png (1×1 px, 86 KB)

@RHo I don't think it's fixed yet. I could reproduce this with the steps to reproduce noted in the task description.

Screenshot_2018-05-21-20-00-58.png (800×480 px, 53 KB)

Screenshot_2018-05-21-19-58-45.png (800×480 px, 46 KB)

RHo renamed this task from "No results found" message not visible when keyboard active when triggered from Article tabs to "No results found" message not visible when keyboard active when triggered from the **Article** view.May 21 2018, 2:37 PM
RHo reopened this task as Open.
RHo triaged this task as Medium priority.
RHo updated the task description. (Show Details)

sorry @Kaartic my bad, it's weird that this is only happening for searches via article but not from the Explore feed.

This seems to be partially solved in T194958 but the issue seems to be coming back in the following case:

  1. Open the app
  2. Tap on the search bar to search Wikipedia
  3. Tap on the 'MORE' button to view the language list (or the language button if the app is currently made to handle only one language)
  4. Come Back (with/without changing the languages) to the search screen

Expected results

The empty search history/the no results found illustration continue remain centered after the above steps.

Actual results

After the steps, the empty search history/the no results found illustration aren't centered.

Change 469811 had a related patch set uploaded (by Cooltey; owner: Cooltey):
[apps/android/wikipedia@master] Views are not able to be scrolled after returning to the Search page

https://gerrit.wikimedia.org/r/469811

Change 469811 merged by jenkins-bot:
[apps/android/wikipedia@master] Split off SearchFragment into its own Activity

https://gerrit.wikimedia.org/r/469811