LuckSiege / LuckSiege/PictureSelector
预览bug
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,所以会出现这个问题。



可以正常显示

不能正常显示
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
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