Public bug reported:

I'm maintaining the snap package for some weeks now and I encountered a
very weird aspect of snaps:

The application "manuskript" can be installed normally via snapcraft as
snap and it can be launched but its window (using Python and Qt5) does
not appear. However if you manually give the snap the permission to use
the "network-manager" connection, the window appears during start as
expected but it simply does not work without it... at least as long as I
use Ubuntu 20.04 LTS or 21.04.

I've not tried other Ubuntu derivates but it is very weird since this
behavior does not exist on Manjaro KDE even though I thought snaps
should perform best on Ubuntu? ^^'

I double-checked by the way that Manjaro does not just open the
connection "network-manager" automatically during installation or
something. The snap just does not need it, like it should be.

Another thing about this, why I'm saying "a very weird aspect of snaps":
It does appear in other snap applications using Qt5 as well. For example
in the Qt version of GNU Jami. That's how I encountered the work-around
with enabling the "network-manager" connection:
https://forum.snapcraft.io/t/request-for-auto-connection-of-jami-
network-manager/22833/17

So maybe someone can help with this because I don't like recommending
users to set a permission which needs them signing in extra. Also the
application really shouldn't get a permission it does not need to have
anyway.

Maybe it's not even an issue with snapd but I don't know what could be the 
cause otherwise. So send me a link to track the solution for this issue please, 
if you have any more information.
Thanks.

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954711

Title:
  application can't open a window without network-manager connection

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1954711/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to