Bug 160957

Summary: Removing dictionaries from installation (using the MSI installer) leaves orphan extensions and empty Options pages
Product: LibreOffice Reporter: Mihai Vasiliu <mihai.vasiliu.93>
Component: InstallationAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: stephane.guillou, telesto
Priority: medium    
Version: 24.2.2.2 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=160959
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 113117    
Attachments: Installation modification options
Extensions showing orphans: dict-hu and dict-ru
Options dialog showing the blank pages

Description Mihai Vasiliu 2024-05-06 11:44:44 UTC
Description:
Modifying an existing LibreOffice installation to remove some already installed dictionaries will leave stubs for the extensions installed in both the Extension Manager and the Options dialog.

Steps to Reproduce:
1. Install LO with default settings (this will include Russian and Hungarian dictionaries)
2. Open LO once, make sure all works fine.
3. Modify the installation and remove the Russian and Hungarian dictionaries from the setup options of the MSI installer. -- see attachement modify_installation.png
4. Open LO again and check the Extension Manager and Options dialog.

Actual Results:
The extension manager shows dict-ru and dict-hu as two stubs for the extensions that were previously removed. -- see attachement extensions.png
The Options dialog also shows the Hungarian Sentence Checking and the Grammar Checking (Russian) as empty pages. -- see attachement options.png

Expected Results:
The extensions should not have been there, they should have been removed entirely.
The Options dialog show not show any options regarding the Hungarian and Russian pages under Language settings.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: ro-RO (ro_RO); UI: en-US
Calc: threaded
Comment 1 Mihai Vasiliu 2024-05-06 11:45:23 UTC
Created attachment 193989 [details]
Installation modification options
Comment 2 Mihai Vasiliu 2024-05-06 11:46:01 UTC
Created attachment 193990 [details]
Extensions showing orphans: dict-hu and dict-ru
Comment 3 Mihai Vasiliu 2024-05-06 11:46:34 UTC
Created attachment 193991 [details]
Options dialog showing the blank pages
Comment 4 Stéphane Guillou (stragu) 2024-05-21 13:08:48 UTC
I tested with the English dictionary in:

Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
CPU threads: 4; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

Indeed, after removal, it shows as "en-dict" in the Extensions dialog, and the Options dialog has an empty "English Sentence Checking" page.