[Bug] Arrow keys in preview break Shift-click selection in Card Browser

Hi!
Thanks for all the hard work you’ve put into Anki. I found a minor bug in the card browser that I wanted to report here.

Version info:
Version 2.1.61 (0c1eaf4c)
Python 3.9.15 Qt 6.4.2 PyQt 6.4.0

A video describing the problem: https://imgur.com/a/EMcPZD0

Steps to reproduce:

  1. Open the card browser (you need at least 3 cards)
  2. Click on any card other than the first one
  3. Click on preview
  4. Use the “>” button or the right arrow key to navigate to the next or any other subsequent card
  5. (Optionally) Close the preview dialog
  6. Shift-click on any card above the one selected in 2.

Expected behavior:
All cards between the currently selected card and the clicked card are selected

Actual behavior:
Only the cards between the card that was selected before changing the selection using the preview window and the clicked card are selected

Thanks!

Thanks for the report; I’ve filed this on Selection range not adjusted when navigating between rows via preview window · Issue #2469 · ankitects/anki · GitHub

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.