vim-vixen icon indicating copy to clipboard operation
vim-vixen copied to clipboard

Undo does not follow history/timeline

Open mvhulten opened this issue 2 years ago • 1 comments

I'm opening this issue because:

  • [x] I'll report a bug
  • [x] I'll propose a new feature

Description

When I have two Firefox windows open (same session), both with its own actual tab history, pressing U (undo) in one window undoes and action in either of the two windows without regard of

  1. which window is active
  2. the actual timeline of changes (of both windows together)

Number (1) is not a bug per se but rather a feature request. I think it is most intuitive if the undo action looks at the history of the active window.

Failure Information (for bugs)

Steps to Reproduce

Number (2) can be reproduced by

  • opening Firefox
  • creating some tab history in one window
  • open another window and create more history
  • quit Firefox (saving the state with all open windows/tabs)
  • restart Firefox
  • make more history in the second window
  • press U
  • press U
  • ...

Even though undos are expected to happen according to the history/timeline (in reversed order), my experience is that undos occur in the first window even as this is ancient history that should not take precedence over the second window's history.

System configuration

  • Operating system: OpenBSD current

  • Firefox version: firefox-esr-91.7.0

  • Vim-Vixen version: 1.2.3

  • Operating system: Guix System

  • Firefox version: 91.6.0esr (64-bit)

  • Vim-Vixen version: 1.2.3

Console logs

mvhulten avatar Mar 12 '22 14:03 mvhulten