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 11890] Display filter textbox loses focus during live capt

Date: Wed, 15 Jun 2016 14:55:50 +0000

Comment # 7 on bug 11890 from
ui/qt/packet_list.cpp: packet_list_select_first_row() has these 2 lines:
    gbl_cur_packet_list->goFirstPacket();
    gbl_cur_packet_list->setFocus();

If you delete the setFocus() line the problem seems to go away. I don't know
why you would need to set the focus to that row, as long as you properly scroll
to the row with goFirstPacket().

I would just delete that line, but I don't know:
1. If there was some real reason to set the focus there
2. SearchFrame::setFocus() does more than just setting focus, so I'm not sure
if that logic is OK to go away.


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