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 658012 - Launching an already-running web app isn't handled right
Launching an already-running web app isn't handled right
Status: RESOLVED DUPLICATE of bug 658010
Product: epiphany
Classification: Core
Component: General
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-01 20:36 UTC by Adam Williamson
Modified: 2011-09-13 08:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Williamson 2011-09-01 20:36:22 UTC
Another bug with the new 'web application' mode.

If you have a web app running, then 'launch' it again from the overview's Applications view (or search mode), it should (I guess?) just switch to the running instance, as happens with 'normal' apps. But actually, it loads a new copy of the web app.
Comment 1 Xan Lopez 2011-09-01 20:37:51 UTC
Hrm, I cannot reproduce this.
Comment 2 Adam Williamson 2011-09-01 20:54:22 UTC
hum, interesting. so, more detail: epiphany-3.1.90-1.fc16.x86_64 , gnome-shell-3.1.90.1-1.fc16.x86_64 , running Fedora 16 (obviously) with all updates. the webapp in question shows up as:

adamw     2602  0.0  0.3 2281724 53428 ?       Sl   12:16   0:02 epiphany --application-mode --profile=/home/adamw/.gnome2/epiphany/app-Todo list http://www.happyassassin.net/todo/

(you can actually access that page - you won't see any tasks unless I give you the password, but it should be enough for testing).

a thought occurs: maybe this bug only happens after a gnome-shell restart?
Comment 3 Xan Lopez 2011-09-01 20:57:21 UTC
That's right, happens after a restart. Using 'lg' I see the shell freaks out and stops associating the WebApp with a desktop file (it says "<untracked>"), so I guess that's the problem. Not sure if this is my fault or not, asking the Shell guys now.
Comment 4 Adam Williamson 2011-09-01 22:29:48 UTC
I'm not going to file any more bugs, but a couple further observations:

* the 'bad' state can also be triggered by running the web app as part of session startup, by adding the full command (in this case 'epiphany
--application-mode --profile=/home/adamw/.gnome2/epiphany/app-Todo list
http://www.happyassassin.net/todo/') as a startup app via gnome-session-properties

* when in the 'bad' state, as well as the 'bad icon' and 're-launch' problems so far reported, there's another problem: you can't launch a regular Epiphany instance properly via the Shell (though it works from a console)

* you can get out of the 'bad' state by closing the web app and re-launching it via the shell
Comment 5 Claudio Saavedra 2011-09-13 08:34:36 UTC
This is because of bug 658010. It's fixed together with that one.

*** This bug has been marked as a duplicate of bug 658010 ***