"wpctl status" causes line wrap with big PID values

Bug #2020621 reported by Bernhard Riegler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wireplumber (Ubuntu)
New
Undecided
Unassigned

Bug Description

/usr/bin/wpctl is in package "wireplumber"
cat /proc/sys/kernel/pid_max
4194304
Ubuntu 22.04LTS has PID value up to 4Mi (7 digit decimal)
on a std terminal with 80 colomns it wraps lines if more then 5 digits for PID in my case.

please fix the output of "wpctl status" for 7 digit PID value without line wrap.
I see 8 SPACE characters at begin_of_line which can be reduced.

 └─ Clients:
        31. pipewire [0.3.68, bernie@prod, pid:1434]
        33. WirePlumber [0.3.68, bernie@prod, pid:1432]
        34. WirePlumber [export] [0.3.68, bernie@prod, pid:1432]
        46. GNOME Shell Volume Control [0.3.68, bernie@prod, pid:3162]
        47. GNOME Volume Control Media Keys [0.3.68, bernie@prod, pid:3336]
        48. xdg-desktop-portal [0.3.68, bernie@prod, pid:6040]
        49. gnome-shell [0.3.68, bernie@prod, pid:3162]
        50. Terminal [0.3.68, bernie@prod, pid:3555]
        51. Mutter [0.3.68, bernie@prod, pid:3162]
        52. gjs [0.3.68, bernie@prod, pid:3502]
        53. Firefox [0.3.68, bernie@prod, pid:215299]
        57. wpctl [0.3.68, bernie@prod, pid:330390]

Dylan Aïssi (daissi)
affects: pipewire-media-session (Ubuntu) → wireplumber (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.