wordpress-mobile / wordpress-mobile/WordPress-Android

PDF file not showing on the media picker screen on the classic editor

Open
#12,945 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behavior

To be able to select the PDF file that's been uploaded to the Media library on the classic editor to add it to the page/post on the app.

This can be achieved on the WP iOS app (version 15.6) but not on Android.

Actual behavior

Only photos are showing on the media picker screen.

Steps to reproduce the behavior
  1. Go to My Site > Media and upload a PDF file to the site
  2. Go to My Site > Site Pages or Blog Posts
  3. Create a new page/post, or edit an existing page/post
  4. Tap on the three dots and select "Switch to classic editor"
  5. Tap the + icon and then the W icon
  6. Only photos are showing on the screen, not the PDF file that's uploaded in Step 1.
Screenshots

Screenshot of the media picker screen on WPAndroid

screenshot_2020-09-14-11-00-11-54_1cdbe7dded7ec259ed1024b4ff1ae8db8873292845586377282

Screenshot of the media picker screen on WPiOS (15.6)

img_0001
Tested on [device], Android [version], WPAndroid [version]

Device: Oppo Reno 4
Android version: 10
WPAndroid version: 15.7-rc-2

Reported in 3314184-zen with WPAndroid version 15.6.

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 through My Site > Media and the classic editor's + > W media picker on Android, using the reported Oppo Reno 4 and Android 10 details as context. Compare the picker with the documented iOS behavior and verify that an uploaded PDF appears and can be selected alongside photos.

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
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.