← Back to issue list

extensions/kde-neon: use platform snap as plug name

View original Github issue

Metadata

Project
snapcraft
Number
#3596
Type
pull request
State
merged
Author
ppd
Labels
—
Created
Updated
Closed

Current evaluation

Merged in commit 5b5d7fbf2, making the KDE Neon plug name match its platform snap to prevent stale and duplicate framework connections.

Resolution: closed resolved

Reason: PR snapcore/snapcraft#3596 was approved and merged as commit 5b5d7fbf2. It adopts platform-snap plug naming and removes the obsolete manual spread-test connection.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Using the same plug name "kde-frameworks-5-plug" for all providers leads to problems when an application updates its base or changes its default provider because a new framework snap gets published for the same base. In that case, snapd will keep the old framework snap connected and will happily connect the new framework snap in addition to the old one. This breaks applications because they won't find the correct framework snap mounted at $SNAP/kf5. Prevent this by using the same strategy that the gnome extensions use: plug name = content snap name See https://forum.snapcraft.io/t/snap-accumulates-content-interface-connections-to-multiple-platform-snaps/27523/8 - [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh tests/unit/project_loader/extensions`? ----- I built a snap (anki-ppd) with this change and everything works as expected. Also CC @jriddell. I'm not sure about the subsystem prefix; it seemed more complete than just "extensions".

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in commit 5b5d7fbf2, making the KDE Neon plug name match its platform snap to prevent stale and duplicate framework connections.
stealth/space-bunny-alpha — closed resolved Merged #3596, updating the KDE Neon extension to use the platform snap name as its plug name and prevent stale platform-snap connections.
qwen/qwen3.6-35b-a3b — — Merged a fix for KDE Neon extensions preventing snapd from accumulating multiple platform snap connections. The change aligns plug naming with GNOME extensions by using the content snap name, passing CI and review.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix updating the KDE Neon extension to use the platform snap name as the plug name. This prevents snapd from accumulating multiple framework connections during base updates, resolving application mounting failures. Test expectations were adjusted accordingly.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1244 repo: enable KDE Neon. snapcraft merged Merged in canonical/snapcraft#1244 via commit 0b70903dc, adding the neon distribution ID so Snapcraft recognizes KDE Neon.
72%
#5271 fix: kde-neon-6 ext build env and platform plug. snapcraft merged Merged as cdf598656, updating the kde-neon-6 extension's Core 24 build environment and platform plug.
72%
#3925 kde-neon-extension: New content snap for kf5 5.98 and qt 5.15.6 snapcraft merged Merged in commit 7870ff211, adding the KDE Neon content snap for KF5 5.98 and Qt 5.15.6.
72%