bumptech / bumptech/glide

Glide Options api mutates cache keys when passing a false option

Open
#5,732 0 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 Options api mutates cache keys when passing a false option, which can be expected behavior. One might expect a "false" option is the same as a null option. This could result in unexpected cache misses, causing black flashes if one Glide request has option(false) and the other doesn't have the option set.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how Glide Options values are incorporated into cache keys; the issue does not name a file or test. Reproduce requests using option(false) and with the option unset, then verify that equivalent requests produce the same cache key and avoid unexpected cache misses.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.