Closed Bug 349061 Opened 18 years ago Closed 18 years ago

open text/* in the internal editor by default

Categories

(Firefox :: File Handling, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 258012

People

(Reporter: daniel, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060523 Ubuntu/dapper Firefox/1.5.0.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060523 Ubuntu/dapper Firefox/1.5.0.3

text/*, modulo a couple of obvious exceptions (html, rss?, rdf?) should be opened in the internal text editor by default.  When opening logs, diffs, and C source files, nothing irritates me more than not being able to see these inline. When a bug is reported that ends up with a MIME type of x-log, x-csrc, or x-patch, more often than not I end up not looking at the attachments and ignoring the bug completely.

For the love of god, please just handle these types internally.  If people want to save them to disk, then they can do that trivially.  If people want to edit them, then surely they'll need to do the saving anyway.

This applies for all other source code types, logs, Makefiles, readmes, all that sort of business.  text/ means, well, text.

Reproducible: Always

Steps to Reproduce:
1. Click on a link to a diff or a C file or anything, really, on a server that does the right thing with MIME.
2. Observe dialog popping up.
3. Clench fist.
4. Raise fist.
5. Lower fist rapidly into desk.
6. Repeat steps 4 and 5 until enlightenment is achieved.

Actual Results:  
A dialog box popped up asking me what I wanted to do with the file.

Expected Results:  
File was usefully viewed in the browser.

For extra hilarity, the default handler for diffs is /usr/bin/less on Debian-derived systems, and presumably others as well.  Establishing the usefulness of this default is left as an exercise to the reader.

*** This bug has been marked as a duplicate of 258012 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.