Hi folks, a bit of context about the issue:
In most cases any snap is able to auto-connect to content slots that have global auto-connection enabled, as it the case for many theme snaps.
On the other hand, if the snap needs to auto-connect to a content slot that does not have global auto-connection (which is the case for gimp that needs to auto-connect to npu-libs-2404
, openvino-libs-2404
, openvino-ai-plugins-gimp-2404
), we need to create a snap-declaration in the store side to enable it.
The problem is that the way it was designed, having a explicit list of allowed auto-connections (which is needed for npu-libs-2404
, openvino-libs-2404
, openvino-ai-plugins-gimp-2404
) makes snapd to ignore all global auto-connection. This is the reason why gimp is not auto-connecting to some theme snaps.
In summary, either the snap (gimp
) exclusively auto-connects to content slots with global auto-connections (and benefits from the global-auto-connection) or every content slot that snap (gimp
) is expected to auto-connect to is explicitly listed in its snap-declaration.
For the first option, if we don’t want to break the auto-connection to npu-libs-2404
, openvino-libs-2404
, openvino-ai-plugins-gimp-2404
, they would need to receive global auto-connection first (and it is probably not a good option considering that at least openvino-ai-plugins-gimp-2404
is very gimp specific).
For the second option, you will need to ask us to add any failing auto-connection (as it is the case for gtk-theme-pocillo
, gtk-theme-qogirbudgie
and flugir-budgie-theme
) to add them to the list of explicitly allowed auto-connection for gimp. In this case, if the content slot already have global auto-connection enabled, we can just add them to the list without voting.
Considering that the explicit list can be huge if we need to add every theme snap, a potentially more convenient alternative would be creating a slot side declaration for npu-libs-2404
, openvino-libs-2404
, openvino-ai-plugins-gimp-2404
with a plug-snap-id
constraint, limiting the auto-connection potential just to gimp. However, I would like to know if that sounds ok to @pedronis first.