Similar to Tube Converter, Foliate is also having the same auto connection issues as in, it’s not autoconnecting with Gnome, Mesa and Webkitgtk libraries. Please fix this.
@soumyaDghosh did the snap recently change to connect to different content slots? From what I can see the snap declaration currently grants:
- webkitgtk-6-gnome-2204
- gnome-42-2204
- gtk-3-themes
- sound-themes
- icon-themes
And the most recent snap revision appears to plug some others:
- webkitgtk-6-gnome-2404
- gnome-46-2404
- gpu-2404
I assume these are the ones you are referring to? In this case, since these are all already globally auto-connected there is no need for reviewers to vote - we just need to duplicate the assertions to the plug side for foliate. Note other @reviewers we cannot remove any of the existing content plug declarations for foliate since they are needed for the older revisions of the snap.
I have now done this - please let me know if there are any issues.
The situation here is the same as for Autoconnection not working for wike
Currently all needed content interfaces already count with global auto-connection. Thus I think it is best just to remove the plug side declaration for content and let the global auto-connection work.
Any concern with that @alexmurray ?
ah yes indeed @jslarraz - you are right - it looks like we can just remove the existing content plug auto-connection declarations and it will auto-connect as expected (at least ifacetool indicates it will). I have removed the content plug rules in the snap declaration for foliate and I think it is working as expected.
Thank you so much @alexmurray and @jslarraz. Foliate is working now as expected.