<div dir="ltr"><div dir="ltr">Hello,<div><br clear="all"></div><div>I was trying to see if I could figure out why the performance of my GnuCash installation was terrible.</div><div>Most likely the culprit was a bug in pango version 1.56.4 [1], which was shipped with GnuCash version 5.13.</div><div>Upgrading GnuCash to versions 5.14-5.16 did not improve the performance, but manually upgrading the DLLs to 1.56.4-3 fully resolved them.</div><div>I initially assumed that the installer bundled the old version for some reason, but deleting the gnucash folder and performing a clean install resulted in no performance problems and the correct DLLs present.</div><div><br></div><div>Inspecting the version info of the DLL via `(Get-Item libpango-1.0-0.dll).VersionInfo` in PowerShell returns ProductVersion: 1.56.4 and FileVersion 1.56.4.0 for both old and new DLLs.</div><div>As far as I understand it, Inno Setup will only replace files for which the version is higher, so any user that started out with GnuCash 5.13 will have degraded performance until the version bumps to 1.57.</div><div>This failure mode is also possible for any other libs which don't embed such version bumps in their metadata.</div><div><br></div><div>A possible fix is to add `Flags: ignoreversion` to the `Source: "@MINGW_DIR@\bin\libpango-` entries in `inno_setup/gnucash-mingw64.iss`.</div><div>Might also be a good idea to add it to other DLLs.</div><div><br></div><div><br></div><div>[1] <a href="https://gitlab.gnome.org/GNOME/pango/-/work_items/864" target="_blank">https://gitlab.gnome.org/GNOME/pango/-/work_items/864</a></div><div><br></div><div>Regards,</div><div>Marcin Januszkiewicz</div></div>
</div>