Bug 107814 - fresh install with default settings in clean Windows 10 assigns rtf file type to open with Calc instead of Writer
Summary: fresh install with default settings in clean Windows 10 assigns rtf file type...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All Windows (All)
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTF
  Show dependency treegraph
 
Reported: 2017-05-13 05:44 UTC by Robert
Modified: 2023-05-28 18:05 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot showing the default "open with" (18.92 KB, image/png)
2020-07-19 06:50 UTC, Robert
Details
rtf file properties after clean install with default options (10.36 KB, image/png)
2022-07-20 06:56 UTC, Robert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2017-05-13 05:44:58 UTC
This has been present in several recent incarnations of LibreOffice:
On a new, clean installation of Windows 10, installing LibreOffice without changing any of the default options, results in files of type .rtf to open with LibreOffice Calc.
They should either be left alone, or else open with Writer.
If one customizes the LibreOffice installation to also associate Word files with LibreOffice, then it is fixed, but with the default settings it associates only spreadsheet files with LibreOffice, but erroneously including rtf.
Comment 1 tommy27 2017-05-13 07:36:02 UTC
hi, you reported this issue with LibO 5.2.1.2
is this issue still present with latest LibO 5.3.3.2?
Comment 2 Robert 2017-05-13 10:58:30 UTC
Hi Tommy,
Yes, I tried with another fresh install of Windows 10 Home and a new download of LibO 5.3.3, and the behavior is still the same: before the LibO installer is run, rtf is associated with WordPad, after the install it is on Calc.
Comment 3 Buovjaga 2017-05-14 11:51:21 UTC
(In reply to Robert from comment #0)
> with the default settings it
> associates only spreadsheet files with LibreOffice

That's a weird default setting and I have never seen it. Usually it associates with all of them.

I can reproduce it, if I install and unselect all the other associations.

However, Calc can open RTF files: bug 59016 explains it. Maybe this association is not wise, though. Let's set to NEW.

Version: 5.3.3.2 (x64)
Build ID: 3d9a8b4b4e538a85e0782bd6c2d430bafe583448
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; Layout Engine: new; 
Locale: fi-FI (fi_FI); Calc: group
Comment 4 Robert 2017-05-14 12:00:16 UTC
It would certainly make more sense to associate RTF with LibO Writer rather than Calc, or else leave it with Wordpad.

The reason I got going on this issue is that a friend who is not computer-savvy at all, had translated a long poem in an rtf document, then he switched to a new computer with Libreoffice and there it opened with Calc -- since he didn't realize that he was using a spreadsheet application, he continued in Calc which on the first save prompted him to save in ods format, so now his poem is in a spreadsheet which is not very convenient, and I had to show him how to transform it back into an rtf and fix the file association so it opens with Writer.
Comment 5 QA Administrators 2018-07-19 02:41:28 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2020-07-19 03:35:12 UTC Comment hidden (obsolete)
Comment 7 Robert 2020-07-19 06:50:56 UTC
Created attachment 163253 [details]
screenshot showing the default "open with"
Comment 8 Robert 2020-07-19 06:53:32 UTC
Just tested again with Version: 6.4.5.2 (x64)
Build ID: a726b36747cf2001e06b58ad5db1aa3a9a1872d6
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded


And the bug is still present on a clean install of Windows 20 04

Also tested on 3.3.0, so apparently it was inherited from OpenOffice.

(Incidentally, if one tries to add a file attachment while writing this comment, then then comment text is lost! So this would be a bug in the bugzilla system which is not very user-friendly)
Comment 9 Buovjaga 2020-07-19 19:45:33 UTC
(In reply to Robert from comment #8)
> (Incidentally, if one tries to add a file attachment while writing this
> comment, then then comment text is lost! So this would be a bug in the
> bugzilla system which is not very user-friendly)

Sorry about that. I think the next Bugzilla version will have smoother functionality regarding this. It even supports copying and pasting files directly into the page.
Comment 10 QA Administrators 2022-07-20 03:29:00 UTC Comment hidden (obsolete)
Comment 11 Robert 2022-07-20 06:56:48 UTC
Created attachment 181340 [details]
rtf file properties after clean install with default options
Comment 12 Robert 2022-07-20 06:57:04 UTC
Still present in Version: 7.3.4.2 (x64) / LibreOffice Community
Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL
Comment 13 Julien Nabet 2023-05-28 18:05:22 UTC
Code pointers:
   1057 // .RTF
   1058 RegistryItem gid_Regitem_OpenOffice_RTF_OpenWith_Calc
   1059     ParentID = PREDEFINED_HKEY_CLASSES_ROOT;
   1060     Subkey = ".rtf\OpenWithProgIDs";
   1061     ModuleID = gid_Module_Prg_Calc_Bin;
   1062     Name = "soffice.StarCalcDocument.6";
   1063     Value = " ";
   1064 End
https://opengrok.libreoffice.org/xref/core/scp2/source/calc/registryitem_calc.scp?r=700f9272#1058

I suppose the block should be removed and an equivalent should be put in scp2/source/writer/registryitem_writer.scp

Andras: any thoughts here?