Bug 99414 - Windows File Browser displays "OpenOffice" as file type to csv format (calc)
Summary: Windows File Browser displays "OpenOffice" as file type to csv format (calc)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Desktop-Integration
  Show dependency treegraph
 
Reported: 2016-04-20 12:36 UTC by Alvaro
Modified: 2020-12-31 20:24 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Screenshot (37.87 KB, image/png)
2016-04-20 12:36 UTC, Alvaro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro 2016-04-20 12:36:43 UTC
Created attachment 124531 [details]
Screenshot

Hi. I have installed LibreOffice on Windows 7 and windows 10. It is the only office suite that I have installed. when i work with csv format, the file browser show as file type: OpenOffice.org 1.1 Spreadsheet.

All other file type show open Document (ods, odt, etc)
The csv document is opened with calc when i selected (double click on file)
Libreoffice was installed on a clean windows instalation.
Comment 1 raal 2016-04-20 21:20:00 UTC
I can confirm on win10 - libreoffice is only office suite installed.
Comment 2 Adolfo Jayme Barrientos 2016-04-27 06:58:03 UTC
I have no idea where is that string coming from — I couldn’t find it in Pootle nor in OpenGrok. Well, at least we know it’s not a mistake in the Spanish translation.
Comment 3 Adolfo Jayme Barrientos 2016-04-27 12:15:48 UTC
(Trying to submit this comment again after Bugzilla downtime…)

OK, I’ve found the string: http://opengrok.libreoffice.org/xref/core/scp2/source/calc/registryitem_calc.ulf#23

… So the bug (apparently) is, comma-separated value (.csv) files are being misdetected as old .sxw spreadsheets…
Comment 4 V Stuart Foote 2016-04-27 15:26:15 UTC
It gets written into the Windows registry on installation, .CSV has had an OpenOffice assigned OpenWithProgIDs registry entry since 2005.

http://opengrok.libreoffice.org/xref/core/scp2/source/calc/registryitem_calc.scp#1068

When Jesús reworked names to allow LibreOffice to be installed alongside OpenOffice--we probably should have added an association for .CSV with LibreOffice Calc.  I think the legacy association that *we* alone maintain in the package could be dropped in favor of a Calc OpenWithProgramIDs association.

Looks like we probably should break the linkage to soffice.StarCalcDocument.6 -- {7B342DC$-139A-4A46-8A93-DB0827CCEE9C}-- and instead associate with Calc (LibreOffice.CalcDocument.1 with the {7BC0E713-5703-45BE-A29D-5D46D8B39262} persistent handler, but may need a friendly name.

Might be useful to include the .csv in the http://opengrok.libreoffice.org/xref/core/shell/source/win32/shlxthandler/util/fileextensions.cxx

@Jesús, do you have any time for this?
Comment 5 QA Administrators 2017-05-22 13:38:38 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2019-12-29 03:28:51 UTC Comment hidden (obsolete)
Comment 7 Martin Srdoš 2020-12-31 20:24:30 UTC
I can reproduce it:
Version: 7.2.0.0.alpha0+ (x64) Build ID: c0eee433e079d8e3413f4691607e075b99af92b0 CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: cs-CZ (cs_CZ); UI: en-US Calc: threaded