Wireshark ascii display: per-monitor DPI aware problem?

asked 2019-06-03 11:45:43 +0000

Cholertinu gravatar image

Hello folks, I just have seen a display problem with Wireshark. My Version is Version 3.0.1 (v3.0.1-0-gea351cd8) running on a Win10 machine (laptop) with 1 internal screen (1920 x 1080, 125%) and 2 external screens (1920 x 1200, 100%).

In my case, I am analyzing TCP data, but I think this doesn't matter. When I now place my wireshark window on the internal screen, then the package data is shown like this:

0000 xx yy xx yy xx yy xx yy   xx yy xx yy xx yy xx yy    aabbaabbaabbaabb
0010 xx yy xx yy xx yy xx yy   xx yy xx yy xx yy xx yy    aabbaabbaabbaabb

-->ascii representation of the package bytes on the right side

xx/yy: hex values, aa/bb: ascii representations of hex values

When I now move the wireshark window to one of the external screens, the window is re-sized (due to per-monitor DPI awareness, I think) and the ascii representation disappears. The package data then looks like this:

0000 xx yy xx yy xx yy xx yy   xx yy xx yy xx yy xx yy
0010 xx yy xx yy xx yy xx yy   xx yy xx yy xx yy xx yy

If I set one of the external monitors to 125% - like the internal one - the ascii data is shown correctly on this screen as well.

See the attachements for screenshots. I did nothing but move the wireshark window from internal to external screen, the ascii disappeared (red box). -->no attachements possible -- not enough "points", unfortunately.

Question: - Is this a known bug of wireshark? - how can I set wireshark to show ascii data on the 100% screens correctly?

Thank you for your answers!

edit retag flag offensive close merge delete

Comments

How is your layout set, it's in Preferences -> Appearance -> Layout?

grahamb gravatar imagegrahamb ( 2019-06-03 11:55:08 +0000 )edit

The settings are as default, no change there. In my setup, there is no "Preferences" menu item. (also because it is set to german...)

Under >Edit >Preferences I find nothing that changes the faulty behaviour.

Maybe under "Advanced" there could be a property belonging to that. But I did not change anything there. Any ideas where to search / what property name?

Cholertinu gravatar imageCholertinu ( 2019-06-04 07:03:59 +0000 )edit

So by default I'm assuming you have a full width packet window at the top, a full width packet details window in the middle and a full width hex bytes window at the bottom, is this correct?

Also, do you have thee Wireshark application window set to full screen, or smaller than that?

grahamb gravatar imagegrahamb ( 2019-06-04 09:29:47 +0000 )edit

yes, correct. And the ascii part is shown within the hex bytes window, located right side of the hex number blocks. It doesn't matter if I set to full screen, minimize, half-left / half-right or whatever: On the 100% screens, the ascii is not shown, on the "other-than-100%" scaline ones, the ascii is there.

When I put the wireshark window on the 125% external screen, then ascii is shown like described. When I then set the screen to 100%, the ascii still is there after rescaling the screen. I also can resize, rearrange the window on this screen - the ascii does not go away at 100%. It only disappears, when I select a different TCP packet to show details - or when I move the window to another screen and come back.

...still did not take my ftp server credentials with me - still cannot upload files from here....

Cholertinu gravatar imageCholertinu ( 2019-06-04 10:23:53 +0000 )edit

do you have a suggestion for a public upload space? I made a screenpresso video that shows the problem very clearly.

Cholertinu gravatar imageCholertinu ( 2019-06-04 10:31:08 +0000 )edit

Probably best to take this straight to the Wireshark Bugzilla and report the issue, you should be able to upload the video there. I don't think there's a quick fix.

grahamb gravatar imagegrahamb ( 2019-06-04 10:44:25 +0000 )edit

here we go: google drive...! https://drive.google.com/drive/folder...

the video shows part of left screen (125%) and part of right screen (100%). One can see that the ascii appears/disappears while moving from one to the other screen.

Have you been able to reproduce this strange behaviour?

Cholertinu gravatar imageCholertinu ( 2019-06-04 11:24:27 +0000 )edit

Nope, I don't have such a display setup, and dragging the window around my multi-monitors doesn't cause the issue.

grahamb gravatar imagegrahamb ( 2019-06-04 11:52:37 +0000 )edit

I have filed a bug report now: 15819

Cholertinu gravatar imageCholertinu ( 2019-06-04 13:54:23 +0000 )edit

If you resize the window, does the ASCII data reappear?

cmaynard gravatar imagecmaynard ( 2019-06-04 16:11:26 +0000 )edit