Shortcut to change tabs *right to left* needed, like Ctrl+Shift+Tab

• Jun 28, 2015 - 10:23
Type
Graphical (UI)
Severity
S4 - Minor
Status
closed
Regression
No
Workaround
No
Project

You can do Ctrl+Tab in order to change tabs from left to right, but not Ctrl+Shift+Tab if you want to change them from right to left. This command key doesn't work.

GIT commit: b25f81d


Comments

It has been over a year, what's the hold up? :-)

I changed the version to 3.0 because no version was assigned and it now requires an assignment. It also affects 2.0.

Sounds like a no-brainer fix. If someone can point me in the right direction as to where the keyboard shortcuts are handled in MuseScore, I'll take a stab at it.

There is no one place that shortcuts are handled - it depends on the context. shortcuts.xml and shortcut.cpp set up an association between shortcuts and the commands they invoke, then the commands themselves are handled either in scoreview.cpp or cmd.cpp for the most part. However, I don't think any of that is relevant herem My understanding is that tab switching isn't handled by MuseScore at all - it's handled by Qt.

For the record, it had nothing to do with Qt, we just passed in the wrong parameter to our own changeScore() function (1 instead of -1).

So it was a no-brainer fix after all, sorry I misled!

Status PR created fixed

Fixed in branch master, commit c004f199fa

_fix #293229, fix #66961: incorrect screenreader feedback on score change

In AccessibleScoreView::text() where we should be returning the name of the score,
we were returning "???" with a "TODO" that shows an attempt to get the name() of the score.
It didn't work because we really need to get title().

In addition, the previous-score command was not working correctly,
instead getting the next score.
Combined with the lack of screenreader feedback
this made it difficult to track which score you are editing.
The fix was just a matter of changing "1" to "-1" in the call to changeScore()._

Fix version
3.3.0