Bug 146310 - Right-clicking on .txt file > Open with Context Menu lists LibreOffice twice
Summary: Right-clicking on .txt file > Open with Context Menu lists LibreOffice twice
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.8.1 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Desktop-Integration File-Opening
  Show dependency treegraph
 
Reported: 2021-12-19 04:29 UTC by photosample
Modified: 2023-08-20 13:29 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Right-clicking on .txt file > Open with Context Menu lists LibreOffice twice (24.83 KB, image/png)
2021-12-19 04:36 UTC, photosample
Details

Note You need to log in before you can comment on or make changes to this bug.
Description photosample 2021-12-19 04:29:11 UTC
Description:
Right-clicking on .txt file > Open with Context Menu lists LibreOffice twice

Steps to Reproduce:
1. Right-click on .txt
2. Select Open with
3.

Actual Results:
See LibreOffice listed twice

Expected Results:
See LibreOffice listed once


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: yes

Version: 7.2.4.1 (x64) / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 16; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 1 photosample 2021-12-19 04:36:53 UTC
Created attachment 177010 [details]
Right-clicking on .txt file > Open with Context Menu lists LibreOffice twice
Comment 2 Stéphane Guillou (stragu) 2021-12-19 13:42:14 UTC
Hi photosample
Thank you for the report!

Could you please check in your installed software (i.e. in the "Remove apps" dialogue, sorry I can't remember the exact name) that you only have one version of LibreOffice installed?

Could you also please check if the version differs in any way in Help > About LibreOffice when you open the file with both options?

Finally, does this happen only with .txt files?

I've set the bug to "needinfo" but once you answer these questions, please feel free to mark the status as "unconfirmed" again.
Comment 3 LeroyG 2021-12-19 17:37:59 UTC
After uninstalling (version 7.1.8.1), both instances of LibreOffice disappeared from "Open with".
When reinstalling, they appear again.

There is no other version installed in this PC.

regedit.exe (Windows) shows both Calc and Writer as open with options.
Comment 4 Tammy 2022-01-18 00:07:03 UTC
This also applies to not only .txt files but to .doc files as well. If LibreOffice is installed it will show twice when right-clicking and uninstalling both disappear.
Comment 5 Stéphane Guillou (stragu) 2022-01-19 02:56:01 UTC
confirmed with .txt files, but not with other file types. Tested with the following:

- Make sure file types are not associated to LibreOffice by default (for consistency)
- In file browser, right-click and "Open with"

Results:

- TXT: 2 × LibreOffice
- DOC: 1 × LibreOffice Writer
- DOCX: 1 × LibreOffice Writer
- ODT: 1 × LibreOffice

Using the two options for TXT does not seem to do anything differently.

Version and system details

Version: 7.1.8.1 (x64) / LibreOffice Community
Build ID: e1f30c802c3269a1d052614453f260e49458c82c
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 6 BogdanB 2023-08-19 19:41:14 UTC
I META this bug as "File opening issues". It's not about a file not opening, but it's related somehow to opening a file with LibreOffice.