www-client/epiphany-2.22.3-r11 applies the following logic for selecting an application for its "Page Source" command: app = g_app_info_get_default_for_type (mime_type, FALSE); where mime_type is "text/plain". However, by default this ends up in preferring app-office/openoffice-3.0.0 over app-editors/gedit-2.22.3 when both are installed (and openoffice won't show the page source). Reproducible: Always Steps to Reproduce: 1. Emerge gnome, this will pull epiphany in. Don't customize any preferences. 2. Emerge openoffice. Again, don't customize any GNOME preferences. 3. Visit any web page with Epiphany, then attempt to view page source. Actual Results: OpenOffice opens the HTML page and renders it. Expected Results: Gedit should show the page source. Yes, I can create an empty text file, right-click on it, and in the properties remove openoffice from the list of possible openers (but it is not an intuitively obvious fix for the original problem with epiphany). This helps, but IMHO openoffice should, in the first place, never become a default opener for text/plain files.
Gnome, I haven't a clue how the mimetype magic happens. Please assign to the right place if I hit the wrong maintainer.
CC'ing openoffice.
Can't reproduce this here, gedit is the default on my machine, don't quite know which info I could provide here (we are a normal consumer of the gnome mime-type stuff), so removing OOo herd again
This is a bug in epiphany/mime-type handling. *** This bug has been marked as a duplicate of bug 242460 ***