Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Replace widget" option doesn't trigger widget's onDelete() #3204

Open
moertel opened this issue Feb 16, 2025 · 0 comments
Open

"Replace widget" option doesn't trigger widget's onDelete() #3204

moertel opened this issue Feb 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@moertel
Copy link

moertel commented Feb 16, 2025

Describe the bug

When adding a 5th widget triggers the familiar "replace" prompt, then whichever widget is picked is just made invisible. It still exists in the system and its onDelete() is never triggered. There's no way for the user to delete it afterwards, it's now a zombie. Tested with two separate apps (KWGT and Retro Mode Weather).

Steps to reproduce

To properly reproduce and witness this, you need an app that shows a list of its own active widgets. For example KWGT.

  1. Add 3 widgets. (Doesn't matter which ones).
  2. Add a KWGT widget. (Should now be 4 total widgets.)
  3. Add a 5th widget. When prompted to replace one, choose to replace the KWGT widget.

Open KWGT and its widget overview.
Expected widget count: 0
Actual widget count: 1

Does the issue also occur with other 3rd-party launchers?

Problem doesn't occur with other launchers

Other 3rd-party launcher(s) tested

No response

Device name

Samsung Galaxy S25 Ultra

Android version

Android 15

Screenshots / Screen recordings

No response

@moertel moertel added the bug Something isn't working label Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant