Wireshark-bugs: [Wireshark-bugs] [Bug 11013] Qt Wireshark: Packet Bytes pane does not scrolling
Date: Thu, 26 Feb 2015 16:32:16 +0000

Comment # 6 on bug 11013 from
(In reply to Michal Labedzki from comment #0)
> Case:
> 1. Choose any packet with a lot of bytes - you need to have scrollbar
> 2. Select any field (Packet Details) that need to be show in Packet Bytes
> 3. Result: It highlight it in Packet Bytes, but does not scrolling to it.

ByteViewText::setFieldHighlight wasn't calling scrollToByte. Fixed.


> Similar issue for Packet Details: 
> 1. Expand a lot of trees
> 2. Select any byte in Packet Bye pane - Packet Details scrolled to it
> 3. Use scrollbar of Packet Details and scroll somewhere...
> 4. Select the same byte as previous in Packet Bytes
> 5. Result: Packet Details does not scroll...

ByteViewText::mousePressEvent was calling tree_widget_->setCurrentItem.
Apparently this won't scroll to an item if it is currently selected. I added an
explicit call to scrollToItem.


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