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

Boolean preference change bypasses callback?

0

I've registered a number of preferences using a common call back which needs to perform some combinational assessment of preferences. Everything seems to work fine EXCEPT for when I change a boolean field using the right click menu directly (e.g. toggling checkmark). Under these circumstances it seems the value is being changed, and the packets are being re-dissected, but the callback routine is bypassed. I can manipulate the same variable using regular preferences window (even launching it from the right click menu) and everything works just fine.

It's as if the shortcut method for changing booleans neglects to call the callback.. Is this a (QT) GUI Bug?

EDIT: This behavior may be limited to windows... Linux plugin in built from same code seems to act properly.

asked 13 Jun '17, 14:37

wittynickname's gravatar image

wittynickname
16447
accept rate: 50%

edited 13 Jun '17, 15:17


One Answer:

0

I think you've encountered Bug 13536, which has been fixed as of Wireshark 2.2.6 and Wireshark 2.0.12. If you're using an older version of Wireshark, you should upgrade to at least one of these versions to resolve this bug, but I recommend upgrading to the latest available version (currently 2.2.7, with 2.4.0 coming soon) if you can.

answered 14 Jun '17, 06:33

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142
accept rate: 20%

That solves it! Linux build is 2.2.6 but my Windows testbed is 2.2.5.

(14 Jun '17, 07:08) wittynickname
1

also THANKS!

(14 Jun '17, 07:10) wittynickname