Bug 92755

Summary: Avoid temporary XML files in winreg configmgr backend
Product: LibreOffice Reporter: Stephan Bergmann <sberg.fun>
Component: frameworkAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: fari.libreoffice, mentoring, michael.meeks
Priority: medium Keywords: difficultyInteresting, easyHack, skillCpp
Version: unspecified   
Hardware: All   
OS: Windows (All)   
Whiteboard: reviewed:2022
Crash report or crash signature: Regression By:

Description Stephan Bergmann 2015-07-15 06:55:43 UTC
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=5a02076358a547bae8a9b596d9722a7cd2d46c34> "Windows registry configuration backend" added support to read configuration data from the Windows registry (see <https://wiki.documentfoundation.org/ReleaseNotes/4.2#Windows_Registry_changes>), but does so by creating intermediary XML files.

<http://cgit.freedesktop.org/libreoffice/core/commit/?id=ecc617e797aa5ed329668114e54ec7ffa5c0e87b> "configmgr: support reading from a dconf layer (WIP)" (which does something similar for Linux dconf support), can now be used as a blueprint (modulo any bugs that new code invariably still contains) how to avoid intermediary files and directly feed into the configmgr's internal data structures.
Comment 1 Robinson Tryon (qubit) 2015-12-14 05:03:41 UTC Comment hidden (obsolete)
Comment 2 Robinson Tryon (qubit) 2016-02-18 14:51:34 UTC Comment hidden (obsolete)
Comment 3 Hossein 2022-07-14 13:33:41 UTC
Re-evaluating the EasyHack in 2022

This enhancement is still relevant. The dumpWindowsRegistry() method in configmgr/source/winreg.cxx still creates and uses temporary xml files.