First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Vertical scrollbar behavior

Hi, I recently updated to v3.6.2. I'm not sure if this behavior started in an earlier version. I have a capture file open with 180 packets. The vertical scrollbar is at the top showing the first page. When I click in vertical scrollbar 'down' area, the packet display goes all the way to the bottom, not doing a page at a time like I would expect. Is that normal behavior? Thanks - Greg

gmorris007's avatar
1
gmorris007
asked 2022-03-02 22:52:22 +0000
edit flag offensive 0 remove flag close merge delete

Comments

The vertical scrollbar 'active' area is half the window pane height, even though it's only showing less than a tenth of the packets. It would appear that the scrollbar scaling is wacky.

gmorris007's avatar gmorris007 (2022-03-02 22:55:21 +0000) edit

Any idea what the version was that behaved different to this (not-wacky)?

If you have access to Windows, copy (Edit->Copy->As Plain Text) 100 or so packet lines to Notepad, size the window to show 20 lines, then click in the scrollbar.
Is this the paging behavior in Notepad what you would like to see in the Wireshark gui?

Chuckc's avatar Chuckc (2022-03-03 02:46:37 +0000) edit

Looks like it came into 3.6 branch with this change: 1579 - Qt: Set Packet List scrollbar page step

Chuckc's avatar Chuckc (2022-03-03 05:27:50 +0000) edit

I copied to Notepad the 180 packets in this capture. Notepad vertical scrollbar behavior is as I'd expect. The 'active' bar portion represents the ratio of the lines shown to the total line count, about 15% or so. It takes six clicks to go from top to bottom. Each click 'down' scrolls down a page-worth of lines. This is typical scrollbar behavior (vertical & horizontal). PgUp & PgDn work as expected in 3.6.2 WireShark. This is similar to what vertical scroll should do. I installed the Old Stable Release (3.4.12) and it works pretty much as expected, except (to be picky) it scrolls one line too many. For example, if the packet at the top is 206, a scroll up now has 204 at the bottom. 205 was skipped over. I think this depends of if a partial line is shown. Not critical.
Thanks for ... (more)

gmorris007's avatar gmorris007 (2022-03-03 15:38:18 +0000) edit

Thanks for the testing and feedback. Maybe @Stig will see the comment on the merge request and have a solution.

Chuckc's avatar Chuckc (2022-03-03 16:34:03 +0000) edit
add a comment see more comments

1 Answer

0

Should be back to the old behavior in 3.6.3: 6405 - Qt: Set Packet List scrollbar page step only on macOS

Chuckc's avatar
3k
Chuckc
answered 2022-03-10 22:55:51 +0000
edit flag offensive 0 remove flag delete link

Comments

Much appreciated! I'd upvote but I ain't got enough points!
Greg

gmorris007's avatar gmorris007 (2022-03-14 15:52:13 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer