After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 777189 - Can't start Web Applications even though they are created correctly
Can't start Web Applications even though they are created correctly
Status: RESOLVED NOTGNOME
Product: epiphany
Classification: Core
Component: Web Applications
3.22.x (obsolete)
Other Linux
: Normal major
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-01-12 19:23 UTC by Christian Stadelmann
Modified: 2017-01-12 23:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Stadelmann 2017-01-12 19:23:25 UTC
I don't see any way to start a web application I created with Epiphany 3.22.

Steps to reproduce:
1. browse on any website, e.g. https://web.telegram.org/
2. save website as web application
3. close epiphany
4. try to find the web application

What happens:
The web application doesn't show up in gnome-shell activities overview search or in alacarte's "Web application" section. It doesn't show up in `~/.local/share/applications` either. I have to manually start the application from ~/.config/epiphany/app-epiphany-telegram-web-[some-hash]/epiphany-telegram-web-[some-hash].desktop

What should happen:
Symlink the ~/.config/epiphany/[foo]/[bar].desktop file to ~/.local/share/applications or somewhere else where gnome-shell can find it.

Installed software versions:
gnome-shell-3.22.2-2.fc25.x86_64
epiphany-3.22.4-1.fc25.x86_64
Comment 1 Michael Catanzaro 2017-01-12 19:26:32 UTC
(In reply to Christian Stadelmann from comment #0)
> What should happen:
> Symlink the ~/.config/epiphany/[foo]/[bar].desktop file to
> ~/.local/share/applications or somewhere else where gnome-shell can find it.

Yeah, that's indeed what should happen... that's the implemented behavior, I just created a web app earlier today and it worked fine. So the question is: why does it not work for you? Is it only the Telegram website where it does not work, or are all web apps broken? Could you try creating a web app for, say, example.com and see if it works?
Comment 2 adria.arrufat 2017-01-12 20:12:48 UTC
I have a similar problem.
Some websites work, such as reddit. But some don't, like WhatsApp.
I run epiphany from the master branch.
I can see both applications in GNOME Shell, but WhatsApp refuses to start.
Comment 3 Michael Catanzaro 2017-01-12 21:42:40 UTC
(In reply to Adrià Arrufat from comment #2)
> I have a similar problem.
> Some websites work, such as reddit. But some don't, like WhatsApp.
> I run epiphany from the master branch.
> I can see both applications in GNOME Shell, but WhatsApp refuses to start.

This sounds like a different bug. If you can see WhatsApp in GNOME Shell, then the desktop file must have been created successfully. So please file a new bug. Please post a backtrace if it's crashing, a backtrace would make it much more likely to be fixed.
Comment 4 Christian Stadelmann 2017-01-12 22:13:50 UTC
(In reply to Michael Catanzaro from comment #3)
> (In reply to Adrià Arrufat from comment #2)
> > I have a similar problem.
> > Some websites work, such as reddit. But some don't, like WhatsApp.
> > I run epiphany from the master branch.
> > I can see both applications in GNOME Shell, but WhatsApp refuses to start.
> 
> This sounds like a different bug. If you can see WhatsApp in GNOME Shell,
> then the desktop file must have been created successfully. So please file a
> new bug. Please post a backtrace if it's crashing, a backtrace would make it
> much more likely to be fixed.

In fact, that's a different bug. In my case, the application doesn't even show up in gnome-shell.

(In reply to Michael Catanzaro from comment #1)
> (In reply to Christian Stadelmann from comment #0)
> > What should happen:
> > Symlink the ~/.config/epiphany/[foo]/[bar].desktop file to
> > ~/.local/share/applications or somewhere else where gnome-shell can find it.
> 
> Yeah, that's indeed what should happen... that's the implemented behavior, I
> just created a web app earlier today and it worked fine. So the question is:
> why does it not work for you? Is it only the Telegram website where it does
> not work, or are all web apps broken? Could you try creating a web app for,
> say, example.com and see if it works?

I tried example.com and it's the same. No web app created in ~/.local/share/applications, but in ~/.config/epiphany/. I'm getting a notification that the web app has been created successfully, this notification had a start button which worked fine.
Comment 5 Christian Stadelmann 2017-01-12 23:22:14 UTC
I'm sorry, this is not a bug in epiphany but in another application, firejail, used to sandbox applications. Sorry for wasting your time.

See also: https://github.com/netblue30/firejail/issues/1046