duckduckgo / duckduckgo/Android

[Bug] Strange background behind contextual menu in "Unprotected sites"

Open
#2,798 1 comment 0 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

Describe the bug

The contextual menu from "Unprotected sites" shows a strange background View with a size seemingly dependent on the number of options shown in the menu.

https://user-images.githubusercontent.com/11428869/215851764-6e9d9332-87d7-4bb0-afb1-c5f545daaf52.mp4

How to Reproduce
  • go to Settings -> Unprotected Sites
  • tap the "+" to add a new exception
  • long press in the editor dialog to get a contextual menu
Expected behavior

No blank View behind the contextual menu

Environment
Happens on all devices and on all recent DDG versions.

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 reproducing the issue through Settings → Unprotected Sites, the “+” action, and a long press in the editor dialog on an Android device. Inspect the contextual-menu presentation and its surrounding view hierarchy, then verify that the menu appears without a blank background view on all affected device configurations.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.