Bug 161801 - Spurious "Default file formats not registered" message in Microsoft Store version
Summary: Spurious "Default file formats not registered" message in Microsoft Store ver...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
Version:
(earliest affected)
24.2.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: File-Association
  Show dependency treegraph
 
Reported: 2024-06-26 19:51 UTC by Roman Donchenko
Modified: 2024-08-03 19:44 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Donchenko 2024-06-26 19:51:11 UTC
Every time I open one of the LibreOffice applications, I get a messagebox saying that the .odt and .ods formats are not registered to open in LibreOffice by default. But they are.

I'm using the Microsoft Store version, which I assume has something to do with it.
Comment 1 Roman Donchenko 2024-06-26 20:00:25 UTC
FWIW, I found out that LibreOffice uses this function to determine the current file associations:

https://github.com/LibreOffice/core/blob/3c91fb758a429f51b89dfe9cea088691ced6d0c1/vcl/win/app/fileregistration.cxx#L60

I did a quick test, and the result of QueryCurrentDefault on my machine is AppXfgjcm55vr2nwmdhvw8b6y0rt7d5rfcqd for .odt and AppXht95ecfd285dyhzt1hr1cr7czz4bg2e5 for .ods.
Comment 2 Stéphane Guillou (stragu) 2024-07-12 00:45:18 UTC
Thanks for the report.

The message indeed comes from LO:
https://opengrok.libreoffice.org/xref/core/vcl/inc/strings.hrc?r=dcea29c2&mo=8330&fi=115#115
Functionality was added for bug 45735.

Can you please share your full version information copied with the button in Help > About LibreOffice?

@Matt: you might be interested.
Comment 3 Jonas Schönauer 2024-07-17 05:56:36 UTC
Suffering the same problem. Here's my version information:

Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 12; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded
Comment 4 Stéphane Guillou (stragu) 2024-07-17 06:05:00 UTC
(In reply to Jonas Schönauer from comment #3)
> Suffering the same problem. Here's my version information:
Let's mark as "new" then.
Jonas, is it the version from the Microsoft App Store?
If that's the case, any difference with the one provided by https://www.libreoffice.org/download/download/ ?
Comment 5 Roman Donchenko 2024-08-03 19:44:17 UTC
Sorry, I had no access to my computer for a while. Here's my version info:

Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded