Ask Your Question
0

Truncate ... in UI on left instead of right for IPv6

asked 2024-06-29 01:14:00 +0000

Wireman gravatar image

It would be nice when narrowing columns for review in the UI, if the IP address, esp IPv6, could have the leftmost octets hidden by the "..." instead of the rightmost. The rightmost octet(s), or host portion, are the most important when identifying in a PCAP. When trying to do some screen shot to share, this was especially obvious since all the addresses src and dest looked the same.

Is there a way to do this or would it be an enhancement?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2024-06-29 06:01:36 +0000

SYN-bit gravatar image

Yes you can, under preferences -> advanced search for gui.packet_list_elide_mode and then you can select left, middle, right or none

edit flag offensive delete link more

Comments

For future searches:
9fd3bcc2: Add an elide mode preference for the Qt packet list.

    prefs_register_enum_preference(gui_module, "packet_list_elide_mode",
                       "Elide mode",
                       "The position of \"...\" in packet list text.",

enum Qt::TextElideMode

This enum specifies where the ellipsis should appear when displaying texts that don't fit:

Chuckc gravatar imageChuckc ( 2024-06-29 09:04:19 +0000 )edit

@SYN-bit Could/should this be a visible (not hidden) preference under Appearance->Columns or Appearance->Layout ?

Chuckc gravatar imageChuckc ( 2024-06-29 09:18:03 +0000 )edit

We could, but there are quite a few other "advanced" GUI settings that do not appear in other dialogs. Not sure if we should spend the canvas space on this setting. We might want to put it somewhere in the documentation though, if it is not already there?

SYN-bit gravatar imageSYN-bit ( 2024-06-29 11:21:54 +0000 )edit

I was searching for the character (ellipsis) not the process (elide).
Will update the preference description to include "ellipsis" so that it shows up when searching Advanced in Preferences.

Chuckc gravatar imageChuckc ( 2024-06-29 13:22:06 +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: 2024-06-29 01:14:00 +0000

Seen: 90 times

Last updated: Jun 29