lbryio / lbryio/lbry-android

Screen goes black when previewing unsupported file format

Open
#846 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.4k
Forks
110
PR merge metrics
No merged PRs in 30d

Description

Wanted to mirror this issue here: https://github.com/lbryio/lbry-desktop/issues/3644

In trying to view a .TIFF the screen just goes black.
For example here:
https://open.lbry.com/@Sol-art-archive:a/ballet:8?r=Cs2WAZHpMqPTuFiVjF3YzewoXMwoBc4Q
lbry://@Sol-art-archive#a/ballet#8

Instead make the preview "fit all" and give it a banner to acknowledge unsupported file format:
previewsupported2

Internal Use

Acceptance Criteria
Definition of Done
  • Tested against acceptance criteria
  • Tested against the assumptions of the user story
  • The project builds without errors
  • Unit tests are written and passing
  • Tests on devices/browsers listed in the issue have passed
  • QA performed & issues resolved
  • Refactoring completed
  • Any configuration or build changes documented
  • Documentation updated
  • Peer Code Review performed

Contributor guide

No contributing guide indexed for this repository

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

No source files or tests are named. Start by tracing the Android preview flow for the linked TIFF example and compare it with the mirrored issue; done means unsupported formats no longer produce a black screen, the preview fits all content, and an unsupported-format banner is shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.