Wireshark-dev: [Wireshark-dev] Possible exported plain text formatting issue

From: Tamás Regős <regost@xxxxxxxxx>
Date: Fri, 23 May 2025 15:09:51 +0800
Dear Community,

Could anyone have a look please and confirm if the following observation is related to a bug?

Version 4.4.6 (v4.4.6-0-gaebb20483889).

One example packet is attached.

I compared the two ways of exporting the packet details into a text file:
1. Export Packet Dissectors -> As Plain Text
2. Right click, Copy -> "All Visible Items"

Or more precisely:
1. From Menu: Export Packet Dissectors -> As Plain Text with Packet Format "All expanded"
2. Right click on "NR Radio Resource Control (RRC) protocol", Expand Subtrees, right click again, Copy -> "All Visible Items"

The results do not have the same indent at the very end.
The result of option 1 seems to be incorrect to me.

For option 1:
nonCriticalExtension
    neighCellSI-AcquisitionParameters-v1550
    eutra-CGI-Reporting-ENDC-r15: supported (0)
    phyLayerParameters-v1550
    mac-Parameters-v1550
    fdd-Add-UE-EUTRA-Capabilities-v1550
    tdd-Add-UE-EUTRA-Capabilities-v1550
    nonCriticalExtension
    pdcp-ParametersNR-v1560
    irat-ParametersNR-v1560
    fdd-Add-UE-EUTRA-Capabilities-v1560
    pdcp-ParametersNR-v1560
    tdd-Add-UE-EUTRA-Capabilities-v1560
    pdcp-ParametersNR-v1560
    nonCriticalExtension
    nonCriticalExtension
    neighCellSI-AcquisitionParameters-v15a0
    nonCriticalExtension
    pdcp-Parameters-v1610
    pdcp-VersionChangeWithoutHO-r16: supported (0)
    measParameters-v1610
    altFreqPriority-r16: supported (0)
    mmtel-Parameters-v1610
    ue-BasedNetwPerfMeasParameters-v1610
    nonCriticalExtension
    mac-Parameters-v1630
    fdd-Add-UE-EUTRA-Capabilities-v1630
    measParameters-v1630
    tdd-Add-UE-EUTRA-Capabilities-v1630
    measParameters-v1630
    nonCriticalExtension
    nonCriticalExtension
    irat-ParametersNR-v1660
    nonCriticalExtension
    other-Parameters-v1690
    ul-RRC-Segmentation-r16: supported (0)

For option 2:
nonCriticalExtension
    neighCellSI-AcquisitionParameters-v1550
        eutra-CGI-Reporting-ENDC-r15: supported (0)
    phyLayerParameters-v1550
    mac-Parameters-v1550
    fdd-Add-UE-EUTRA-Capabilities-v1550
    tdd-Add-UE-EUTRA-Capabilities-v1550
    nonCriticalExtension
        pdcp-ParametersNR-v1560
        irat-ParametersNR-v1560
        fdd-Add-UE-EUTRA-Capabilities-v1560
            pdcp-ParametersNR-v1560
        tdd-Add-UE-EUTRA-Capabilities-v1560
            pdcp-ParametersNR-v1560
        nonCriticalExtension
            nonCriticalExtension
                neighCellSI-AcquisitionParameters-v15a0
                nonCriticalExtension
                    pdcp-Parameters-v1610
                        pdcp-VersionChangeWithoutHO-r16: supported (0)
                    measParameters-v1610
                        altFreqPriority-r16: supported (0)
                    mmtel-Parameters-v1610
                    ue-BasedNetwPerfMeasParameters-v1610
                    nonCriticalExtension
                        mac-Parameters-v1630
                        fdd-Add-UE-EUTRA-Capabilities-v1630
                            measParameters-v1630
                        tdd-Add-UE-EUTRA-Capabilities-v1630
                            measParameters-v1630
                        nonCriticalExtension
                            nonCriticalExtension
                                irat-ParametersNR-v1660
                                nonCriticalExtension
                                    other-Parameters-v1690
                                        ul-RRC-Segmentation-r16: supported (0)



Is this a formatting bug of exporting under option 1?

Thank you.

Regards,
Tamas

Attachment: export_as_plain_text.pcapng
Description: Binary data