Screen goes black when previewing unsupported file format
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:

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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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