Ask Your Question
0

Vertical scrollbar behavior

asked 2022-03-02 22:52:22 +0000

gmorris007 gravatar image

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

edit retag flag offensive 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 gravatar imagegmorris007 ( 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 gravatar imageChuckc ( 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 gravatar imageChuckc ( 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 gravatar imagegmorris007 ( 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 gravatar imageChuckc ( 2022-03-03 16:34:03 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-03-10 22:55:51 +0000

Chuckc gravatar image

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

edit flag offensive delete link more

Comments

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

gmorris007 gravatar imagegmorris007 ( 2022-03-14 15:52:13 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2022-03-02 22:52:22 +0000

Seen: 1,280 times

Last updated: Mar 10 '22