wordpress-mobile / wordpress-mobile/WordPress-Android

Post List Author Filter View Stops Tab Touch Background Fade/Ripple

Open
#9,698 1 comment 0 reactions 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

The touch background of all views in the top app bar of the Blog Posts screen shows the fade/ripple effect when tapped or long-pressed and the author filter is present.

Observed

The touch background of all views in the top app bar of the Blog Posts screen stops the fade/ripple effect when tapped or long-pressed and the author filter is present. On API 28, sometimes the ripple stops mid-animation and sometimes the touch background is not shown at all. On API's lower than 28, there is no fade/ripple at all and a solid background color is shown when a view is touched. When the author filter is not present or the AppCompatSpinner view is replaced with an AppCompatImageView view, the fade/ripple works as expected. See the animations below for illustration.

AppCompatSpinner AppCompatImageView
post_list_touch_spinner post_list_touch_image
Reproduced
  1. Go to Sites tab.
  2. Tap Blog Posts under Publish section.
  3. Long-press any view in the top app bar (i.e. back arrow, author filter, Published tab, Drafts tab, Scheduled tab, Trashed tab).
Tested

Google Pixel 3 on Android 9.0 with alpha-164 feature/master-post-filters

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 by reproducing the issue from the Sites tab through Blog Posts, using the author filter and long-pressing each top app bar view. Compare the AppCompatSpinner with the AppCompatImageView on API 28 and lower. Done means the fade/ripple appears and completes for all listed views when the author filter is present, without regressing the no-filter case.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.