Compiled (64-bit) with Qt 5.13.2, with libpcap, without POSIX capabilities, with
GLib 2.62.3, with zlib 1.2.11, with SMI 0.5.0, with c-ares 1.15.0, with Lua
5.2.4, with GnuTLS 3.6.10 and PKCS #11 support, with Gcrypt 1.8.5, with MIT
Kerberos, without MaxMind DB resolver, with nghttp2 1.40.0, with brotli, with
LZ4, with Zstandard, with Snappy, with libxml2 2.9.4, with QtMultimedia, with
SpeexDSP (using system library), without SBC, with SpanDSP, with bcg729.
Running on Mac OS X 10.15.1, build 19B88 (Darwin 19.0.0), with Intel(R) Core(TM)
i7-6700K CPU @ 4.00GHz (with SSE4.2), with 16384 MB of physical memory, with
locale C, with light display mode, with HiDPI, with libpcap version 1.8.1 --
Apple version 89.40.2, with GnuTLS 3.6.10, with Gcrypt 1.8.5, with brotli 1.0.7,
with zlib 1.2.11, binary plugins supported (19 loaded).
Built using clang 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.12).
When moving a column the currently selected packet is deselected and the packet list is moved to the beginning of the file.
The selection is still active (selectionModel() still gives the row as selected, but QTreeView seems to have lost it. A simple reselection is not feasible at that point, I will further investigate, why the selectionModel seems to know something is selected, but the TreeView does not.
I can't reproduce this on anything recent. I suspect that the fix for #16770 (closed) might have also fixed this, though I can't compile anything that old at the moment with my current distribution because of various deprecation warnings.
Actually it's not correct to move back to the selected packet. We should move back to the same position in the packet list, regardless of the selected packet. But this is a generic issue happening in more cases.