duckduckgo / duckduckgo/Android

[Bug] Site icons keep disappearing

Open
#6,374 10 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs triage
Dominant language
Kotlin
Stars
4.8k
Forks
1.4k
Avg merge
2d 17h
Merged PRs (30d)
170

Description

Last edit

I found the cause of the problem. The website icons (favicons) are stored in the cache, and the system clears the cache. If the icons for bookmarked domains are stored in a persistent directory, the problem will be resolved.

Describe the bug

When I open a new tab, the favorite bookmarks on the screen are very hard to read—the text is small but the icons are large. And the site icons keep disappearing, being replaced by the first letter of the URL.

How to Reproduce

When there is little free space on the device, the icons disappear.

Expected behavior

Site icons should not disappear.

Environment
- DDG App Version:
- Device:
- OS:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Android new-tab bookmark code that loads site icons and the cache directory used for favicons. Reproduce the issue under low device storage, then verify that bookmarked-domain icons remain available after cache clearing and are no longer replaced by URL initials.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
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.