Skip to content
Discussion options

You must be logged in to vote

I've got the info:

Q1: What handles Ctrl+Tab?
A1: It's built-in QMdiArea::keyPressEvent, not application code.

Q2: Why it's "Open whatever window was the last one"-style?
A2: Qt's default QMdiArea activation order is ActivationHistoryOrder.

Q3. Why it's not in settings?
A3: Never registered in the app's shortcut system.

Q4. Why it doesn't work on Mac?
A4: Qt key mapping differences - physical Ctrl is Qt::META on Mac, and Cmd+Tab is intercepted
by macOS.

So in short - it's a default QT behavior, which just so happens to work on PC, but unfortunately not on Mac. Only because Mac system shortcut intercepts it for app switching.

This is really a load-berring shortcut. I'd say the only more …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@AncientLust
Comment options

@AncientLust
Comment options

Answer selected by AncientLust
@pawelsalawa
Comment options

@pawelsalawa
Comment options

@AncientLust
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants