bumptech / bumptech/glide

Centercrop is unable to display complete.

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

Description

**Glide Version**:4.12.0

**Integration libraries**:rxjava:2.2.5

**Device/Android Version**:Android11

**Issue details / Repro steps / Use case background**:

**Glide load line / `GlideModule` (if any) / list Adapter code (if any)**:
```java
Glide.with...
```
RoundedCorners roundedCorners= new RoundedCorners(NavigationUtil.dip2px(context, 24));
RequestOptions options= new RequestOptions().transform(new CenterCrop(), roundedCorners);
Glide.with(context)
.load(new File(filePath)
.apply(options)
.into(iv_pic);

**Layout XML**:
```xml

**Stack trace / LogCat**:
```ruby
paste stack trace and/or log here
```

![glide加载本地视频显示不全](https://user-images.githubusercontent.com/25816100/233343498-ad57bd9e-3f09-4188-8d1a-b2cfa004f19f.png)

Thanks~

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported Glide 4.12.0 load using the shown Java request, CenterCrop and RoundedCorners configuration on Android 11. Compare the rendered result with the attached screenshot; the report does not name a source file or test, and completion would require a confirmed fix for the incomplete display.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.