Ask Your Question

How to press Meta+1 etc. on Windows?

asked 2020-03-12 18:19:35 +0000

Markku gravatar image

updated 2020-03-12 18:54:33 +0000

In Wireshark, in File - Open Recent menu, there are the shortcut keys shown: Meta+0 - Meta+9. How are those shortcuts accessed on Windows? Already tried several key combinations with Ctrl, Alt, Shift and/or AltGr with no success.

Wireshark 3.2.2, 64-bit


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-03-12 19:50:17 +0000

cmaynard gravatar image

According to the Qt documentation for the enum Qt::Modifier, "This enum provides shorter names for the keyboard modifier keys supported by Qt.". Also stated on that page under the description of the KeyboardModifiers is this statement: "Note: On Windows Keyboards, Qt::MetaModifier and Qt::Key_Meta are mapped to the Windows key.", and we can in the enum Qt::Key description the following, which confirms this:

Qt::Key_Meta    0x01000022  On macOS, this corresponds to the Control keys. On Windows keyboards, this key is mapped to the Windows key.

In other words, in ui/qt/main_window_slots.cpp:MainWindow::updateRecentCaptures(), the Qt::META key should be the Windows key. This doesn't appear to actually work though. I'd recommend filing a Wireshark bug report for this.

edit flag offensive delete link more


Thanks for the information. Opened

Markku gravatar imageMarkku ( 2020-03-13 11:09:27 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2020-03-12 18:19:35 +0000

Seen: 78 times

Last updated: Mar 12