Bug 92755 - Avoid temporary XML files in winreg configmgr backend
Summary: Avoid temporary XML files in winreg configmgr backend
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: reviewed:2022
Keywords: difficultyInteresting, easyHack, skillCpp
Depends on:
Blocks:
 
Reported: 2015-07-15 06:55 UTC by Stephan Bergmann
Modified: 2022-07-14 13:33 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 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.