Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 11687] plugin_if: plugin_if_goto_frame not changing packet

Date: Fri, 13 Nov 2015 09:45:55 +0000

Comment # 6 on bug 11687 from
I think I can answer my own bug report now as I believe that this is more a
limitation than a bug per se.

When plugin_if_goto_frame is called, it repositions the packet list row, and
then I believe a signal being emitted that drives a slot that then updates the
packet detail.  This isn't happening explicitly in the Wireshark code path for
plugin_if_goto_frame but I noticed mention of Qt related objects and I wonder
if the packet list and packet detail widgets are related and so Qt drives the
packet detail update.

Anyways, because my call to plugin_if_goto_frame is from my own thread, I guess
that the resulting "update-the-packet-detail" signal will be emitted on my
thread too.  This won't drive the slot on the main thread.  Although it is
possible to use signals and slots between threads, you have to code for it.

I recommend that this bug is closed.


You are receiving this mail because:
  • You are watching all bug changes.