GNOME Bugzilla – Bug 658012
Launching an already-running web app isn't handled right
Last modified: 2011-09-13 08:34:36 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.
Hrm, I cannot reproduce this.
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?
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.
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
This is because of bug 658010. It's fixed together with that one. *** This bug has been marked as a duplicate of bug 658010 ***