LuckSiege / LuckSiege/PictureSelector

预览bug

Open
#2,199 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

版本:'io.github.lucksiege:pictureselector:v2.7.3-rc10'
预览时,传入的是网络图片可以正常显示,通过openGallery选择图片返回的List 传入的话就会不显示图片,标题栏是正常
的。我debug了下发现传网络图片时 PictureExternalPreviewActivity第289行,判断PictureSelectionConfig.imageEngine != null返回的false,所以会出现这个问题。
1638780514
image

image
可以正常显示

image
不能正常显示

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

Start in PictureExternalPreviewActivity around line 289 and compare the preview path for a network image with the List returned by openGallery. Reproduce both cases using version v2.7.3-rc10 and trace why the local-media path does not display the image while the title bar does. Done means images selected through openGallery render correctly in preview as network images do.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.