Describe the bug
When you multi-select items and then run an action that removes them from the list (e.g. delete, or merge in the Watchtower → Duplicate items list), the selection bar does not close. It stays open showing "0 selected" with no usable actions. The only way to dismiss it is to manually press the Clear (X) button or the back button. Until then the selection state feels "stuck".
To Reproduce
- Open Watchtower → Duplicate items.
- Select two or more duplicate items (selection bar appears, e.g. "3 selected").
- Run an action that removes those items from the list — Merge them, or Delete/Trash them.
- After the items disappear, the selection bar remains open but now shows "0 selected" and offers no actions.
- It only goes away after pressing the Clear (X) button or the back button. Until then you cannot start a clean new selection.
Expected behavior
Once the selected items are gone (deleted/merged), the selection should clear automatically and the bar should close — the same way folder merge already clears the selection.
Desktop (please complete the following information):
- OS: Linux, and Windows (reproduced on both)
- App version: 2.14.2-131670007.release
Additional context
Possible cause (from reading the source): in createCipherSelectionFlow the bar's visibility is decided from the raw selected-ID set (if (selectedCipherIds.isEmpty()) return null), while the displayed count uses IDs filtered against still-existing ciphers (count = selectedCiphers.size). Delete/trash/merge actions never call selectionHandle.clearSelection() (folder merge does), so stale IDs keep the bar visible while the filtered count is 0.
Describe the bug
When you multi-select items and then run an action that removes them from the list (e.g. delete, or merge in the Watchtower → Duplicate items list), the selection bar does not close. It stays open showing "0 selected" with no usable actions. The only way to dismiss it is to manually press the Clear (X) button or the back button. Until then the selection state feels "stuck".
To Reproduce
Expected behavior
Once the selected items are gone (deleted/merged), the selection should clear automatically and the bar should close — the same way folder merge already clears the selection.
Desktop (please complete the following information):
Additional context
Possible cause (from reading the source): in
createCipherSelectionFlowthe bar's visibility is decided from the raw selected-ID set (if (selectedCipherIds.isEmpty()) return null), while the displayed count uses IDs filtered against still-existing ciphers (count = selectedCiphers.size). Delete/trash/merge actions never callselectionHandle.clearSelection()(folder merge does), so stale IDs keep the bar visible while the filtered count is 0.