ankidroid / ankidroid/Anki-Android

[BUG]: Undo Delete Snackbar Doesn't Appear

未关闭
#14,298 16 条评论 0 个 reaction 已指派 1 人 已被 @david-allison 认领 在 GitHub 查看
2.16 Bug Card Browser Keep Open Priority-Medium Reproduced UI
主要语言
Kotlin
星标
11.8k
派生
2.9k
平均合并
2 天 3 小时
30 天内合并 PR
171

描述

### Checked for duplicates?

- [X] This issue is not a duplicate

### What are the steps to reproduce this bug?

1. Open card browser
2. Search is:new(a snackbar appears here saying [number of cards] cards shown)
3. Select a card
4. Press Delete(a second snackbar should appear)

### Expected behaviour

Snackbar for deletion should appear.

### Actual behaviour

It doesn't unless the previous snackbar has disappeared.

### Debug info

```text
AnkiDroid Version = 2.16.3

Android Version = 11

ProductFlavor = full

Manufacturer = realme

Model = RMX2193

Hardware = mt6768

Webview User Agent = Mozilla/5.0 (Linux; Android 11; RMX2193 Build/RP1A.200720.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/115.0.5790.166 Mobile Safari/537.36

ACRA UUID = dce906d5-19f7-4514-a0e4-0071f4f7b489

New schema = false

Scheduler = std2

Crash Reports Enabled = true

DatabaseV2 Enabled = true
```

### (Optional) Anything else you want to share?

In my opinion the snackbar should be replaced by a bin feature. I've raised this here #14227
But it seems Improbable unless anki desktop implements a similar feature.
But anyways, thanks to all the devs for their amazing work!

### Research

- [X] I am reporting a bug specific to AnkiDroid (Android app)
- [X] I have checked the [manual](https://ankidroid.org/docs/manual.html) and the [FAQ](https://github.com/ankidroid/Anki-Android/wiki/FAQ) and could not find a solution to my issue
- [X] (Optional) I have confirmed the issue is not resolved in the latest alpha release ([instructions](https://docs.ankidroid.org/manual.html#betaTesting))

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。