This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Why no contextual menus when “right-clicking”?

1

Problem: I do not get any contextual menus when I ctrl-click (the normal equivalent of "right-click") on a field in the Wireshark GUI. Nothing happens: the behavior is the same whether I am ctrl-clicking in the Packet List pane or the Packet Details pane. Question: Is there a preference that I need to set to get the correct behavior?

Wireshark runs under XQuartz 2.7.4 on my system.

This is the info from "About Wireshark" Version 1.10.1 (SVN Rev 50926 from /trunk-1.10)

Copyright 1998-2013 Gerald Combs [email protected] and contributors. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GTK+ 2.24.17, with Cairo 1.10.2, with Pango 1.30.1, with GLib 2.36.0, with libpcap, with libz 1.2.5, without POSIX capabilities, without libnl, with SMI 0.4.8, without c-ares, without ADNS, with Lua 5.1, without Python, with GnuTLS 2.12.19, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built Jul 16 2013 19:05:52), with AirPcap.

Running on Mac OS X 10.7.5, build 11G63 (Darwin 11.4.2), with locale .UTF-8, with libpcap version 1.1.1, with libz 1.2.5, GnuTLS 2.12.19, Gcrypt 1.5.0, without AirPcap. Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz

Built using llvm-gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00).

asked 12 Aug '13, 08:45

mmd's gravatar image

mmd
26113
accept rate: 0%

Running Version 1.12.7 (v1.12.7-0-g7fc8978 from master-1.12) on a MacBook with Yosemite, two finger clicking shows the the context menu.

(06 Sep '15, 09:21) snowch

One Answer:

3

I do not get any contextual menus when I ctrl-click (the normal equivalent of "right-click") on a field in the Wireshark GUI.

Wireshark is currently an X11 app; the equivalent of right-click in X11 is command-click, not ctrl-click. (And that's not the only thing different between X11 apps and native apps; the biggest difference is arguably the menu bar.)

We'd like to get X11 out of the way for a lot of reasons, but it's a work in progress (currently being done using the Qt toolkit).

answered 22 Sep '13, 19:16

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%

Guy, how confident are you that Command-Click produces contextual menus in Wireshark under OS X?

I agree that Right-Click does this under Windows & Linux ... but on my newly-acquired OS X box (I'm new to OS X), I don't see anything when I Command-Click:

OS X 10.8.5, Xquartz 2.7.5, Wireshark 1.10.2, QtKit 7.7.1

?

--sk

(10 Dec '13, 13:19) skendric

Having just tried it, I'm extremely confident that, with the GTK+ version of Wireshark (built with an X11 version of GTK+, which is the version we ship), Command+Click produces contextual menus, at least with OS X 10.8.5 and XQuartz 2.7.4 and the top-of-trunk version of Wireshark. Perhaps XQuartz 2.7.5 broke something.

The Qt (that's capital Q, lower-case t) version is not X11-based, and will behave differently; it should use Control+Click, as with native OS X applications.

(The version of QTKit (that's capital Q, capital T, standing for "QuickTime") is irrelevant, as Wireshark doesn't use it. Yes, it's confusing. Feel free to let Apple and Digia have a "two men enter, one man leaves" cage match to decide who gets to use the letters "q" and "t" in sequence. :-))

(10 Dec '13, 19:19) Guy Harris ♦♦