Note editor jumps when previous focus was in HTML editor

Possibly a bug with the note editor? I checked if this happens without any addons and it does.

Version ⁨25.02.5 (29192d15)⁩
Python 3.10.9 Qt 6.7.0 PyQt 6.7.0

In the browser:

  1. Open HTML editor for any field
  2. Click inside, putting focus in the HTML editor input
  3. Select a different note
  4. Scroll to a different part in the note editor and click anywhere
  5. The view jumps to the position of the HTML editor where the focus was previously

This doesn’t happen when focus was in the non-HTML editor input.

Example screencast:

4 Likes

Logged on Note editor jumps when previous focus was in HTML editor · Issue #4234 · ankitects/anki · GitHub