Bug 160963

Summary: Installing extension from file results in Restart loop
Product: LibreOffice Reporter: Mihai Vasiliu <mihai.vasiliu.93>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: stephane.guillou
Priority: medium    
Version: 24.2.2.2 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Restart prompt
Ask to install again after restart
Extensions to test

Description Mihai Vasiliu 2024-05-06 14:03:15 UTC
Description:
When installing an extension from local file, LibreOffice asks for restart.
After restarting, LibreOffice asks again for restarting.
This loop continues infinitely until you don't click on Restart anymore and cancel it.

Steps to Reproduce:
1. Download an extension offline, for example:
https://extensions.libreoffice.org/en/extensions/show/russian-dictionary-pack

2. Double click on the oxt file and LO will launch requesting the installation and accepting the terms.
3. Close the extension manager by clicking on Close. LO asks for restart and click on Restart now.
4. LO restarts, and then asks again about installing the same extension.
5. Click OK and Close, then LO asks again to restart. Choose again Restart Now
6. Loop continues infinitely.

Actual Results:
LO asks in a loop infinitely to install the same extension. You can break the loop  only if you select not to install again the extension.

Expected Results:
After the first restart, LO should not ask again to install the same extension, as it is already installed.


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 14:03:32 UTC
Created attachment 194001 [details]
Restart prompt
Comment 2 Mihai Vasiliu 2024-05-06 14:03:56 UTC
Created attachment 194002 [details]
Ask to install again after restart
Comment 3 Mihai Vasiliu 2024-05-06 14:04:08 UTC
Created attachment 194003 [details]
Extensions to test
Comment 4 Mihai Vasiliu 2024-05-06 14:07:46 UTC
Note that this does NOT reproduce it you add the exntension with the Add button from the Extensions window interface.

This reproduces only if you double click on the oxt file and open LO this way.
Comment 5 Stéphane Guillou (stragu) 2024-05-07 14:26:04 UTC
Thank you for the report. This is resolved in the upcoming 24.8 version.

*** This bug has been marked as a duplicate of bug 117100 ***