← 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 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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged. KDE Neon extension uses the platform snap name as the plug name, preventing snapd from accumulating multiple framework connections during base updates. Fixes application breakage, aligns with GNOME strategy, and updates tests.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#5271 fix: kde-neon-6 ext build env and platform plug. snapcraft merged Merged a fix for the kde-neon-6 extension build environment and platform plug. Approved by two reviewers, changes modify two files with 213 additions and 24 deletions. Unresolved comments were noted but did not block the merge.
73%
#3991 extensions: new content snap for kde neon snapcraft merged Merged updates adding a new content snap extension for KDE Neon. The maintainer approved and merged the changes despite a failing CI test caused by outdated Ruby in core18, confirming the failure was unrelated to the update.
73%
#5261 kde-neon extension fixes snapcraft merged Merged PR fixing KDE Neon extension by preventing duplicate X11 layouts and adding mesa libs to core24 ld library path. Approved by two reviewers and passed CI. Targeted for Snapcraft 8.8 and available on edge.
72%
#3547 update kde neon extension to use the newer content snap with qt-5-15-3 snapcraft merged Merged the KDE Neon extension update to use the newer content snap with Qt 5.15.3. Test assertions were updated per reviewer feedback, and CLA status was clarified. Approved and merged into master with unchanged coverage.
71%
#3925 kde-neon-extension: New content snap for kf5 5.98 and qt 5.15.6 snapcraft merged Merged a new KDE Neon content snap for kf5 5.98 and qt 5.15.6. Approved by a reviewer, passed CI checks, and applied a minor two-file change without impacting test coverage.
71%
#4060 extensions: fix neon-extension issues for core22 snapcraft merged Merged fix for KDE Neon extension compatibility with core22. Changes revert to command-chain, remove bindtextdomain dependency, update KDE SDK snap pattern matching, and adjust tests and part names. Approved by two reviewers and passed CI.
70%