Gilde ignores override (100,100), displays as (50,50), Image is 200,200, view is 100,100
- Dominant language
- Java
- Stars
- 35k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
Using Glide 490, A9 on a testdevice LG V30, Glide notoriously loads a bitmap of size 200,200 into an imageview of defined size 100,100, with the size 50, 50, ALSO when override 100,100 is defined as below, but regardless.
Standard Android imageView.setBackground(image), displays 100, 100 as expected.
Q: What could be possible reasons for Glide being disobedient?
`//stationButton.setBackground(d) = working!
Glide.with(activity)
.load(d)
.override(100,100) //Ignored!
.into(stationButton);`
Contributor guide
Research direction
Start by reproducing the reported Glide 490 behavior from the provided Glide.with(activity) chain on the LG V30 running Android A9, comparing .override(100,100) with the 100x100 ImageView and its background rendering. Done means identifying a reproducible cause for the 50x50 result and documenting the expected sizing behavior or a confirmed fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100