electronim icon indicating copy to clipboard operation
electronim copied to clipboard

Links won't open when running snap executable

Open manusa opened this issue 5 years ago • 4 comments

Description

When clicking a link in a BrowserView nothing happens (on snap version).

user-open error: cannot find snap for connection: not supported

Am I affected by this bug ?

Run snap with sandboxed shell and invoke xdg-open:

$ snap run --shell electronim
bash-4.4$ xdg-open https://google.com

Same error should be logged.

Relates to:

  • https://bugs.launchpad.net/snappy/+bug/1857206
  • https://github.com/snapcore/snapd/pull/7825

manusa avatar May 22 '20 13:05 manusa

Hey

How does this issue relate to refresh app awareness backend work in snapd PR 7825?

zyga avatar May 25 '20 07:05 zyga

Hi @zyga,

How does this issue relate to refresh app awareness backend work in snapd PR 7825?

TBH, I haven't checked what the PR is about, but it's linked in this issue and the issue description matches with ours. I figured out that ElectronIM's issue would probably be fixed once the PR is merged and a new version gets released.

I haven't been able to reproduce the issue on our project, it was reported by a friend running ElectronIM snap package in Fedora 32. So I can't be sure this is actually the root cause.

Link was added here for issue completeness and tracking, didn't mean to disturb you.

manusa avatar May 25 '20 08:05 manusa

@manusa I see what you mean.

With fresh eyes, I can indeed see where this is coming from. I've extended support for the code that returns snap name from PID to handle CgroupV2 better: https://github.com/snapcore/snapd/pull/7825/commits/8db540d5d39cf8256a7f1269081e965c04500b1a

zyga avatar May 27 '20 18:05 zyga

👍 thx for your work. I'd like to be of more help but this isn't really my field 😓

manusa avatar May 30 '20 17:05 manusa