bumptech / bumptech/glide

GlideCompose's contentScale cannot be previewed correctly.

Open
#5,431 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

I'm using `implementation "com.github.bumptech.glide:compose:1.0.0-beta01"`.
When I set the contentScale for GlideImage, the preview does not display the contentScale correctly. In the image below, the left side is using Glide and the right side is using Coil.
![WX20240717-162611@2x](https://github.com/user-attachments/assets/178967c8-0e87-45a7-9262-17959c018cd2)
I would like to know if this issue has been addressed promptly and fixed.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in an Android project using Glide Compose 1.0.0-beta01, GlideImage, contentScale, and a preview, then compare the result with the Coil example shown in the report. Done means the Android preview displays the requested contentScale correctly; no source file or test is identified in the issue.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.