Dear @reviewers and @store staff:
Previously in February, I have requested to connect the scrcpy snap to my scrcpy-runtime-2404 snap:
in the rationale of sharing the same runtime between scrcpy and other scrcpy-related snaps.
However, the limitations of such approach(unable to use resources like command completion and XDG desktop entry in the content provider without making a copy in the snap) made me dropped its usage soonly afterwards without publishing the change.
Recently, I’m notified by the snap users:
- Scrcpy has stopped working(missing auto-connection: gpu-2404) · Issue #60 · brlin-tw/scrcpy-snap
- Latest version does not run on Ubuntu 24.04 noble, complains about missing libavformat.so.61(missing auto-connection: ffmpeg-2404) · Issue #62 · brlin-tw/scrcpy-snap
- error while loading shared libraries: libavformat.so.61: cannot open shared object file: No such file or directory(missing auto-connection: gpu-2404) · Issue #64 · brlin-tw/scrcpy-snap
that the snap stops working after snap installation/refresh. I tried to reproduce the issue and can also confirm this is the case on Ubuntu 24.04/26.04:
I’ve filed a bug to the snapd project regarding this problem:
and was informed by Oliver Calder(THANKS, BTW) that this is due to the missing auto-connection to the other depending content snaps(ffmpeg-2404,gnome-46-2404, and mesa-2404) from the store assertions:
"content": {
"allow-auto-connection": [{
"plug-attributes": {
"content": "$SLOT(content)"
},
"slot-attributes": {
"content": "scrcpy-runtime"
},
"slot-snap-id": [
"7gXRlquQK8wzBw7XcBOsxpfhuBsNwCaL"
]
}]
}
which is devestating as this seems to prevent my snap from functioning AT ALL for my (currently 33K) users without manually connecting these interfaces back.
Request
Please remove the scrcpy-runtime snap-declaration assertion from the scrcpy snap as soon as possible.
Some questions
- Will the current installations of this snap automatically be remedied by this change?
- If automatic remediation isn’t possible, is there any way to fix the missing connection from the store end?
- Why is snapd/store designed in the way that globally-auto-connected interfaces will become no longer auto-connected when a store assertion exists?
- Is this behavior (publically) documented anywhere?
- As a snap publisher, is there any guidelines to prevent this kind of problem from happening?

