Packet bytes not displayed completely if scrolling
Summary
The packet bytes pane does not scroll to the bottom.
Steps to reproduce
- Load attached capture.
- Select any frame (6, 8) with sufficient bytes to exceed the packet bytes viewport.
- Scroll to the bottom.
What is the current bug behavior?
There are 1266 = 0x4f2 bytes in frame 8, and the reassembled TCP stream has 2860 = 0xb2c bytes. In the window I'm looking at right now, the "Frame" tab ends at the row that starts at 0x4b0 and the "Reassembled TCP" tab ends at row 0xaf0.
Resizing the packet bytes pane changes which row is the last to appear. It appears that increasing the height of the pane makes it cut off earlier, and the amount of unused white space below the last full row has an effect as well. The largest size pane that I can make the last row appear in is with seven visible rows and with the blue selection background extending four pixels below the bottom of the viewport (this is the very last pixel before the last row is removed because it does not fit anymore).
What is the expected correct behavior?
The entire packet bytes are reachable by scrolling regardless of the size of the packet bytes pane.
(This is probably a separate bug, but: Filling the entire viewport by drawing a partial row below the last full one would be a nice indication that things continue below.)
Sample capture file
Build information
Version 4.0.0 (v4.0.0-0-g0cbe09cd796b).
Compiled (64-bit) using Microsoft Visual Studio 2022 (VC++ 14.32, build 31332),
with GLib 2.72.3, with PCRE2, with zlib 1.2.12, with Qt 6.2.3, with libpcap,
with Lua 5.2.4, with GnuTLS 3.6.3 and PKCS #11 support, with Gcrypt 1.10.1, with
Kerberos (MIT), with MaxMind, with nghttp2 1.46.0, with brotli, with LZ4, with
Zstandard, with Snappy, with libxml2 2.9.14, with libsmi 0.4.8, with
QtMultimedia, with automatic updates using WinSparkle 0.5.7, with AirPcap, with
SpeexDSP (using bundled resampler), with Minizip, with binary plugins.
Running on 64-bit Windows 10 (21H2), build 19044, with Intel(R) Core(TM)
i7-6700K CPU @ 4.00GHz (with SSE4.2), with 8191 MB of physical memory, with GLib
2.72.3, with PCRE2 10.40 2022-04-14, with Qt 6.2.3, with Npcap version 1.71,
based on libpcap version 1.10.2-PRE-GIT, with c-ares 1.18.1, with GnuTLS 3.6.3,
with Gcrypt 1.10.1, with nghttp2 1.46.0, with brotli 1.0.9, with LZ4 1.9.3, with
Zstandard 1.5.2, without AirPcap, with light display mode, without HiDPI, with
LC_TYPE=English_United Kingdom.utf8, binary plugins supported.
Same behavior on 11 22H2, i7-12700T.