edamagit icon indicating copy to clipboard operation
edamagit copied to clipboard

[Bug?] Status.magit window loses focus after commiting

Open MarcoBuess opened this issue 3 years ago • 2 comments

Description When a terminal window is open in VSCode, the status.magit window switches focus to the terminal after committing. I guess this has to do with the commit window not switching focus back to the status.magit window, but the terminal instead. Other commands may be affected as well.

I don't know if this is considered a bug or working as intended. It is just a minor inconvenience when staging/committing multiple changes, as you have to manally switch back to status.magit every time.

Environment

Operatingsystem: Windows 10 (10.0.19042)
VSCode version: 1.63.2
edamagit version: 0.6.26

MarcoBuess avatar Feb 01 '22 15:02 MarcoBuess

Relatedly — when status.magit is the only window and the file explorer is open on the right — then after committing, the focus goes to the file explorer, rather than back to the editor.

max-sixty avatar Jul 23 '22 19:07 max-sixty

For me, after committing the focus goes to an editor tab/group open to the right of the commit msg window -- Happened a couple of times already that I wrote P in some source file, when I wanted to push a freshly-made commit, so it's definitely confusing/distracting.

bilderbuchi avatar May 23 '23 13:05 bilderbuchi