Files

3.6 KiB

plasma-nm 6.3.4 backports for Debian trixie

Modified Debian source package of plasma-nm (Plasma 6.3.4) backporting two upstream fixes for the Networks applet (system tray widget), plus a prebuilt amd64 .deb attached to the release.

Fixes included

  1. Intermittent large blank gap in the Networks widget while activating a connection — KDE bug 500674. Upstream: 63a9d544 "applet: use standard section headers" (Nate Graham, 2025-06-13). Replaces the hacky showSeparator / onDeactivatedChanged separator logic with PlasmaExtras.ListSectionHeader. (Section headings now read "Connected" / "Available" — that is the intended upstream change, not a regression.)
  2. Horizontal scrollbar shown although never needed (and a binding loop when the popup is closed). Upstream: 20f73e95 "applet/ConnectionListPage: disable unused scrollbar" (Christoph Wolk, 2025-03-12) — sets the horizontal ScrollBar policy to AlwaysOff.

Both fixes ship in newer Plasma (6.4.0 / 6.5.0) and are absent from trixie's 6.3.x series.

Install (easiest)

Download plasma-nm_6.3.4-2+lukrop1_amd64.deb from the release (direct: plasma-nm_6.3.4-2+lukrop1_amd64.deb, sha256 132660700782e40b5913a85247a819df7f223319dbbb466cc61b7fdf2ca17047) and:

sudo apt install ./plasma-nm_6.3.4-2+lukrop1_amd64.deb
systemctl --user restart plasma-plasmashell

Rollback:

sudo apt-get install --allow-downgrades plasma-nm=4:6.3.4-2
systemctl --user restart plasma-plasmashell

Notes:

  • Built against Debian trixie (13). amd64 only.
  • Version 4:6.3.4-2+lukrop1 sorts above stock -2 and below a future Debian -3: when Debian ships a newer plasma-nm, apt will upgrade away from this build automatically (and the fixes will already be included).

Build from source (Debian way)

sudo apt install devscripts quilt
dpkg-source -x plasma-nm_6.3.4-2+lukrop1.dsc
cd plasma-nm-6.3.4
sudo apt build-dep -y plasma-nm
dpkg-buildpackage -us -uc -b -j"$(nproc)"

The resulting plasma-nm_6.3.4-2+lukrop1_amd64.deb in the parent directory reproduces the release asset.

Source-level regression check for fix #1 (fails on the pristine 6.3.4 tree, passes once patched):

python3 tests/check_bug500674_fix.py plasma-nm-6.3.4

Files

File What it is
plasma-nm_6.3.4-2+lukrop1.dsc Debian source package manifest (3.0 quilt)
plasma-nm_6.3.4.orig.tar.xz Pristine upstream 6.3.4 (identical to Debian's)
plasma-nm_6.3.4-2+lukrop1.debian.tar.xz debian/ with the two backported patches and changelog
tests/check_bug500674_fix.py source-level red/green check for fix #1

Patch provenance

  • fix-bug-500674-section-headers.patch — upstream 63a9d544. One hunk was re-preimaged for 6.3.4: the ListItem.qml deletion, because 6.3.4 carries an older textual variant of that file (7 lines of implicit vs explicit listItem. id scoping, functionally identical). See the Description: header inside the patch.
  • disable-unnecessary-horizontal-scrollbar.patch — upstream 20f73e95, applies to 6.3.4 unchanged.

Canonical upstream diffs can be re-fetched from the GitHub commit .patch URLs above; the adapted patches live in debian/patches/ inside the debian.tar.xz.