Package: waybar
Version: 0.12.0-1
Followup-For: Bug #1110053

Dear Maintainer,

I can reproduce this issue on Debian 13 (trixie) with waybar
0.12.0-1 under Sway.

My Ethernet interface, enp4s0, has both IPv4 and IPv6 addresses.
With the following network module configuration:

    "network": {
        "format": "{ifname} {ipaddr}/{cidr}",
        "family": "ipv4"
    }

and "network" enabled in "modules-right", the bar displays an IPv6
address despite the explicit IPv4 setting. I have also observed it
occasionally switching to IPv4.

Expected result:
The module should consistently display an IPv4 address when
"family": "ipv4" is configured.

Reloading Waybar with:

    pkill -SIGUSR2 -x waybar

did not resolve the problem.

Both the installed and candidate package versions reported by
apt-cache policy are 0.12.0-1.

As a workaround, I replaced the network module with a custom module
that runs:

    ip -o -4 addr show dev enp4s0 scope global

and extracts the interface name and IPv4 address. This displays the
expected IPv4 address consistently, without disabling IPv6 or
changing the network configuration.

Could you please clarify the status of this issue for trixie?
Would a targeted fix be suitable for a stable update? If not,
is a newer Waybar version planned for trixie-backports?

I have not tested a newer Waybar version.

Thank you,
Nickolai 'Listic' Leschov

-- System Information:
Debian Release: 13.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Foreign Architectures: i386

Kernel: Linux 6.12.118+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages waybar depends on:
ii  init-system-helpers                  1.69~deb13u1
ii  libatkmm-1.6-1v5                     2.28.4-1+b2
ii  libc6                                2.41-12+deb13u5
ii  libcairomm-1.0-1v5                   1.14.5-2+b1
ii  libdbusmenu-gtk3-4                   18.10.20180917~bzr492+repack1-4
ii  libevdev2                            1.13.4+dfsg-1
ii  libfmt10                             10.1.1+ds1-4
ii  libgcc-s1                            14.2.0-19
ii  libglib2.0-0t64                      2.84.4-3~deb13u5
ii  libglibmm-2.4-1t64                   2.66.8-1
ii  libgtk-3-0t64                        3.24.49-3
ii  libgtk-layer-shell0                  0.9.0-2
ii  libgtkmm-3.0-1t64                    3.24.10-1
ii  libinput10                           1.28.1-1+deb13u1
ii  libjack-jackd2-0 [libjack-0.125]     1.9.22~dfsg-4
ii  libjsoncpp26                         1.9.6-3
ii  libmpdclient2t64                     2.22-1.1+b1
ii  libnl-3-200                          3.7.0-2
ii  libnl-genl-3-200                     3.7.0-2
ii  libpipewire-0.3-0t64                 1.4.2-1
ii  libplayerctl2                        2.4.1-3
ii  libpulse0                            17.0+dfsg1-2+b1
ii  libsigc++-2.0-0v5                    2.12.1-3
ii  libsndio7.0                          1.10.0-0.1
ii  libspdlog1.15 [libspdlog1.15-fmt10]  1:1.15.2+ds-2
ii  libstdc++6                           14.2.0-19
ii  libudev1                             257.13-1~deb13u1
ii  libupower-glib3                      1.90.9-1
ii  libwayland-client0                   1.23.1-3
ii  libwireplumber-0.5-0                 0.5.8-2
ii  libxkbregistry0                      1.7.0-2

waybar recommends no packages.

Versions of packages waybar suggests:
ii  fonts-font-awesome                              5.0.10+really4.7.0~dfsg-4.1
pn  gir1.2-playerctl-2.0                            <none>
ii  libayatana-appindicator3-1 [libappindicator3-1  0.5.94-1
    ]
ii  python3                                         3.13.5-1
ii  sway                                            1.10.1-2

-- no debconf information

Reply via email to