Undo on Mac doesn't trigger screen jump
I'm using MuseScore 4 on Mac.
A video is attached to show how to very easily reproduce the bug on a newly created score. You can see that starting from second 16 the notes are being deleted using Undo (actually CMD+Z on Mac). On second 19 the undo actions are being performed out of the viewable part of the screen. I had to move the screen upwards (second 23) in order to see the undo actions taking place.
Usually on text processing software when undoing an action, the screen automatically jumps to the place where the undone action is performed so the user can see what is being undone. This is also the case with MuseScore 3 on Windows. On my Mac I installed MuseScore 4, so I'm not sure if it's a regression with version 4, or if it was never implemented on Mac.
First I want to say how much I love and appreciate MuseScore. This is such an amazing software, so Kudos to everyone involved in creating and maintaining it!
Of all the things that were troublesome for me moving from version 3 to 4 and from Windows to Mac, this is the most pressing issue. I can't stress enough how important this function is for me. These are the main issues with the lack of this functionality:
1. I found myself undoing things by mistake without ever noticing, only to find out later missing parts in the piece.
2. Sometimes I like to have a look at other parts of the score while writing new or editing existing material. It turns out I was using this functionality excessively to jump back to my current editing position. Without it, I need to start navigating around and find where I was, which is disruptive to my writing flow.
Some more comments:
1. This is the case also for Redo
2. While reporting this bug, I noticed I can jump to the current editing position by pressing the arrows and moving the cursor. This is somewhat of a workaround. However, it is still cumbersome, and it's hard for me to imagine myself doing that after every undo/redo.
3. If you think it's not too difficult, I can have a look and push a PR