GNOME Bugzilla – Bug 432104
scheduled transaction editor editor is SLOW to open
Last modified: 2018-06-29 21:33:24 UTC
My personal data file is about 1.5 years old (337kB) and has 17 scheduled transactions. Opening the scheduled transaction editor takes approximately 70 seconds. Time to open editor window seems to scale linearly with number of scheduled transactions, 1 SX = 4 seconds to open window, 2 SX = 8 seconds, etc. http://asynchronous.org/tmp/sx-log.conf was used for debug logging. Log file will be attached to bug.
Created attachment 86764 [details] log file from 70 second SX editor window opening event.
Comment on attachment 86764 [details] log file from 70 second SX editor window opening event. text/plain is better for plain text files
Created attachment 86767 [details] a very long wait during startup it seems that it takes even longer (several minutes) during startup if the SX editor was left open during the last session. The log definitely got longer. It has been attached.
Huh. I wonder why those routines are logging successes as WARNings, and the valid 32bit overflow errors, and otherwise being slow on windows. Try running with "--log Gdk=crit"? I'm wondering if just the process of writing all those log messages is part of the slowness.
Tested. Using "--log Gdk=crit" does not affect how long it takes.
Also whether log.conf was present in ~/.gnucash/ or not, it still took the same amount of time.
(In reply to comment #6) > Tested. Using "--log Gdk=crit" does not affect how long it takes. Just to double-check, did this at least have the intended effect of preventing all of those WARNings from Gdk regarding drawing and overflow and whatnot?
(In reply to comment #8) > (In reply to comment #6) > > Tested. Using "--log Gdk=crit" does not affect how long it takes. > > Just to double-check, did this at least have the intended effect of preventing > all of those WARNings from Gdk regarding drawing and overflow and whatnot? > Yep. The only messages SX editor generated were the "* DEBUG <gnc.gui.dense-cal> saving mark with tag [19458928]" messages.
I know you build from source (nice :-), may you please check whether r16132 fixes this issue?
Yes it does! SX editor opens almost instantly now.
Great news!
verified in r16142
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=432104. Please update any external references or bookmarks.