GnuCash
Contact   Instructions
Bug 797222 - Resetting the "change reconciled split" warning doesn't take effect until GnuCash is restarted.
Summary: Resetting the "change reconciled split" warning doesn't take effect until Gnu...
Status: NEW
Alias: None
Product: GnuCash
Classification: Unclassified
Component: User Interface General (show other bugs)
Version: 3.5
Hardware: PC All
: Normal normal
Target Milestone: ---
Assignee: ui
QA Contact: ui
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-29 10:56 EDT by John Ralls
Modified: 2020-05-31 06:36 EDT (History)
4 users (show)

See Also:


Attachments

Description John Ralls 2019-04-29 10:56:35 EDT
To reproduce:

Have "Remember and don't ask me again" checked in "Change transaction with reconciled split" warning box.
Select Actions>Reset Warnings and check the box next to "Change reconciled split", click OK
Edit the description of a transaction with a reconciled split: The reconciled flag changes to n, no warning dialog.
Quit and restart GnuCash
Edit the description of a transaction with a reconciled split: Now the warning dialog comes up.
Comment 1 Chris Good 2020-05-05 01:08:59 EDT
I'm working on this.
Comment 2 Chris Good 2020-05-24 00:38:03 EDT
This problem also occurs for the warnings about deleting or unreconciling a reconciled transaction, and also occurs on Windows & Linux.

Unfortunately, I'm out of ideas. I cannot find a program logic error.

I tried:
1) recompiling glib with optimization off so I could debug, but the problem still occurs and I don't understand what glib is doing internally.
2) stopping the cashe'ing of the schemas gsettings_ptr
3) Using g_settings_sync() after the settings were reset to allow unfinished writes to complete before a read. 'This shouldn't be necessary for a normal application with a glib mainloop' according to https://stackoverflow.com/questions/19778013/g-settings-apply-changes
4) Running from install & build environments
5) Fixing owner/group of ~/.cache/dconf - it was root instead of me, probably because I had used sudo to run a gui program sometime instead of using gksudo. Also tried removing ~/.cache/dconf.

I'll have to leave this for some-one else to fix.
Comment 3 Chris Good 2020-05-31 06:36:29 EDT
Same problem in master: If you delete the AlphaVantage Key in Preferences, Online Quotes, exit the preferences, then go back in, it is still there until you exit then restart GnuCash.

Note You need to log in before you can comment on or make changes to this bug.