#570828 epiphany-browser: Application not recognized by bug-buddy

Package:
epiphany-browser
Source:
epiphany-browser
Description:
Intuitive GNOME web browser
Submitter:
Matijs van Zuijlen
Date:
2010-04-01 05:57:06 UTC
Severity:
normal
#570828#5
Date:
2010-02-21 19:03:42 UTC
From:
To:
Since a while, bug-buddy has stopped being able to recognize Epiphany as an application that exists in Gnome's bugzilla. It seems this is due to the following combination of facts:

- epiphany's executable is identified as epiphany-browser in /usr/share/applications/epiphany.desktop
- epiphany sets its name to 'epiphany' using g_set_prgname in its main() function (src/ephy-main.c).
- when epiphany crashes, gnome-breakpad calls g_get_prgname to get epiphany's name, yielding 'epiphany'
- gnome-breakpad calls bug-buddy using the retrieved name, like so: 'bug-buddy --appname epiphany --pid xxxx'.
- bug-buddy tries to find an application called 'epiphany' but only finds 'epiphany-browser' and thus concludes it cannot sent the bug report anywhere.

Epiphany should probably set its name to 'epiphany-browser' to match its executable.

#570828#10
Date:
2010-02-22 18:23:18 UTC
From:
To:
Right. If anyone does work on this before I try my hand at it, please
keep the name set by g_set_prgname the exact same as the name of the
desktop, to make it work also with GNOME Shell, in addition to bug
buddy.

Thanks!

#570828#15
Date:
2010-03-28 08:12:36 UTC
From:
To:
Hi,

I succesfully fixed this by effectively undoing patch
00_browser_wrapper_path.patch. I have succesfully submitted a bug report through
bug-buddy this way (see https://bugzilla.gnome.org/show_bug.cgi?id=613755).

This does mean epiphany will always be launched through the wrapper script, and
I'm not sure if that has any unintended consequenses.

A better solution would probably be to remove the wrapper script entirely, since
now only epiphany-webkit is left.

Regards,

#570828#20
Date:
2010-03-28 12:00:08 UTC
From:
To:
Le dimanche 28 mars 2010 à 10:12 +0200, Matijs van Zuijlen a écrit :

Another solution would be to keep the patch but rename epiphany.desktop
to epiphany-browser.desktop. Does this work for you?

The wrapper script is here because of the game named epiphany, not
because of the webkit/gecko stuff.

Cheers,

#570828#25
Date:
2010-04-01 05:48:56 UTC
From:
To:
Josselin Mouette wrote:

Now that epiphany just crashed on me, I can say that this option does not work
for me. It would probably work if in addition the program would set its own name
to 'epiphany-browser', instead of 'epiphany' as it does now.

So in conclusion, either the desktop file, the executable or script and the
internally set name should all be 'epiphany', or they should all be
'epiphany-browser'. That should also keep Gnome 3 happy.

Does that mean there's a conflict when you install that game, or will plain
'epiphany' always launch the browser?

Regards,