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 571073 - Do we need so many aliases for text/csv?
Do we need so many aliases for text/csv?
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export Text
unspecified
Other All
: Normal normal
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-02-09 19:38 UTC by Federico Mena Quintero
Modified: 2009-02-11 02:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Federico Mena Quintero 2009-02-09 19:38:21 UTC
Please see https://bugs.freedesktop.org/show_bug.cgi?id=19664 and https://bugzilla.novell.com/show_bug.cgi?id=463510 for the backstory.

Basically, Gnumeric seems to define MIME types for application/csv, text/comma-separated-values, and text/x-comma-separated-values.  These pollute the list of MIME associations, since they are not actually aliased to the canonical type, text/csv.

Does Gnumeric really need to define so many variations for CSV data?  Have those MIME-types actually been used in the wild?

[The types get declared in gnumeric.desktop.in - later, the GNOME tools pick them up and add them to the list of MIME associations.]
Comment 1 Morten Welinder 2009-02-10 13:37:55 UTC
Chances are we do not really need them anymore.  Do you have any specific
pruning in mind?
Comment 2 Federico Mena Quintero 2009-02-10 17:07:33 UTC
I'd like to remove application/csv, text/comma-separated-values, and text/x-comma-separated-values.

Oocalc seems to only advertise text/csv and text/x-csv --- those should be enough, I think.
Comment 3 Morten Welinder 2009-02-10 18:25:24 UTC
"text/comma-separated-values" seems to be deprecated sometime since 2005.
Gone.

"text/x-comma-separated-values" is just plain silly.
Gone.

"application/csv" actually appears to be used, but it probably ought to be
killed.
Tentatively gone.


2009-02-10  Morten Welinder  <terra@gnome.org>

	* gnumeric.desktop.in (MimeType): Do not advertise deprecated
	comma-separated-values mime type.  Fixes #571073.

	* src/stf.c (stf_init): Ditto.


This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 4 Federico Mena Quintero 2009-02-11 02:03:39 UTC
Thanks, Morten; it's nice to de-pollute the global MIME list a bit...