when upgrades don't work with existing rc files
Thomas Baumgart
thb at net-bembel.de
Sun Nov 10 10:12:33 GMT 2024
On Sonntag, 10. November 2024 02:31:00 CET Jack Ostroff via KMyMoney-devel wrote:
> I have just merged Ralf's additions to the Payees chapter of the
> handbook about payee link matching. Everything worked fine with a
> newly compiled KMM, except I still didn't see "Open URL" in the context
> menu for a transaction. By email, Ralf told me I needed to
> remove/rename ~/.local/share/kxmlgui5/kmymoney/kmymoneyui.rc because it
> didn't have the newly required section. Renaming that file allowed the
> new context menu entry to show up - but oddly, after using it, and then
> closing KMM, a new version of kmymoneyui.rc did not appear.
Well, actually Ralph should have increased the version number at the top
of kmymoneyui.rc when he added new items. This would have resolved the
issue in the first place.
> I'm just curious what (if anything) will eventually cause a new version
> of that file to appear? I'm also assuming that without the file, the
> program defaults to assuming it should use the latest version, of which
> it has an internal (or otherwise hidden) copy.
Not the latest, but the one that came with the application. A new copy
in your .local sub-dir will be written, when you make local changes
(e.g. toolbar, ...)
> Is there any way for the program to know (and warn the user) when this
> (or any other) rc file needs to be updated/replaced/...? It's not very
> user friendly to introduce a new feature, and then have it not work for
> a reason like this.
See my comment about the version above. I just added that change and the
new option got merged into my local copy and the version updated also.
--
Regards
Thomas Baumgart
-------------------------------------------------------------
"I'd like to buy Windows." "Are you crazy?" "Is this part of the licence
agreement?" "Not really, but it might ease the usage ..."
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20241110/536a2712/attachment.sig>
More information about the KMyMoney-devel
mailing list