2022-07-24 GnuCash IRC logs

00:11:04 *** FH_thecat has joined #gnucash
00:22:51 *** NoobAlice has quit IRC
00:36:34 *** jralls_afk has joined #gnucash
00:36:34 *** ChanServ sets mode: +o jralls_afk
00:36:59 *** jralls has quit IRC
01:20:47 *** fell has quit IRC
01:22:07 *** fell has joined #gnucash
01:22:07 *** ChanServ sets mode: +o fell
01:36:54 *** Gandalf has joined #gnucash
02:35:24 *** FH_thecat has quit IRC
02:46:40 *** FH_thecat has joined #gnucash
05:16:56 *** jmdaemon has quit IRC
05:22:22 *** Gandalf has quit IRC
05:23:27 *** Gandalf has joined #gnucash
06:48:42 *** FH_thecat has quit IRC
06:52:23 *** bertbob has quit IRC
06:54:04 *** bertbob has joined #gnucash
06:54:04 *** ChanServ sets mode: +v bertbob
06:55:10 *** field^Mop has joined #gnucash
07:34:11 *** field^Mop has quit IRC
07:35:34 *** paul has joined #gnucash
07:45:26 *** Gandalf1 has joined #gnucash
07:45:54 *** Gandalf has quit IRC
07:45:54 *** Gandalf1 is now known as Gandalf
07:48:26 *** storyjesse has joined #gnucash
08:58:16 *** sbluhm has joined #gnucash
09:01:16 *** sbluhm has quit IRC
09:05:47 *** sbluhm has joined #gnucash
10:13:17 *** sbluhm has quit IRC
11:18:39 *** field^Mop has joined #gnucash
11:44:16 *** fabior has joined #gnucash
12:08:21 *** storyjesse has quit IRC
12:23:52 *** Gandalf1 has joined #gnucash
12:24:20 *** Gandalf has quit IRC
12:24:20 *** Gandalf1 is now known as Gandalf
12:43:32 *** Aussie_matt has quit IRC
13:11:49 *** CWehli has joined #gnucash
13:11:49 *** ChanServ sets mode: +v CWehli
13:32:25 *** CDB-Man_ has quit IRC
13:32:57 *** CDB-Man has joined #gnucash
13:32:57 *** ChanServ sets mode: +v CDB-Man
13:44:40 *** field^Mop has quit IRC
13:50:14 *** Ragnor has joined #gnucash
13:50:14 *** ChanServ sets mode: +v Ragnor
13:53:11 *** fabior has quit IRC
14:03:28 *** jmdaemon has joined #gnucash
14:18:37 *** sbluhm has joined #gnucash
14:31:09 <jralls_afk> chris, the question is about the creation of e.g.
14:36:31 <jralls_afk> "Memo" at line 940 where disp-memo? is passed as both the default value and the callback; it's clearly not a valid callback function. But I guess it doesn't matter because it gets checked with (if (procedure? setter-function-called-cb)... in gnc:make-complex-boolean-option.
14:36:36 *** jralls_afk is now known as jralls
14:41:01 <jralls> chris, I recognize that the callbacks are useful. They're currently ignored in master, so I need to fix that either by providing a different way to accomplish the same thing or to find a way to implement them directly without introducing a Guile dependency in the C++ implementation.
14:42:30 <jralls> I guess more correctly I recognize that option-widget-changed-cb is useful. I haven't yet found a place where setter-function-called-cb is used, but I still have a couple more files to look at.
14:48:58 <jralls> chris, Another question about the options in trep-engine: The option-widget-changed-cb in the first set of complex-boolean options is set to apply-selectable-by-name-display-options.
14:54:51 <jralls> That function appears to me to set a bunch of options back to the constants defined in the let statement and used as the defaults, effectively undoing whatever the user tried to change, but it doesn't work that way. How are those variables getting changed to reflect the UI changes?
15:08:52 *** sbluhm has quit IRC
15:09:08 <jralls> chris, nvm the last question, I see that I'd misread what was being passed in the callback; it's a lambda that does e.g. (set! disp-memo? x) where x is the new value from the option widget.
15:26:08 *** jonp has joined #gnucash
15:27:28 *** Guest62 has quit IRC
15:51:07 *** sbluhm has joined #gnucash
15:53:40 *** Gandalf has quit IRC
16:17:03 *** phebus has quit IRC
16:20:28 *** phebus has joined #gnucash
16:20:28 *** ChanServ sets mode: +v phebus
16:40:30 *** CWehli has quit IRC
16:57:09 *** sbluhm has quit IRC
17:02:09 *** fell has quit IRC
17:03:28 *** fell has joined #gnucash
17:03:28 *** ChanServ sets mode: +o fell
17:07:12 *** chipxxx has joined #gnucash
18:07:13 *** jmdaemon has quit IRC
18:09:26 *** field^Mop has joined #gnucash
19:06:01 *** Nav has joined #gnucash
19:07:52 *** ChanServ sets mode: +v Nav
19:08:38 <Nav> Hey, I'm having some issues getting a stock split to work correctly in GnuCash. It seems like the FX isn't correct for the entire account subtree after the split takes place. The parent account denominated in USD is showing as intended, but its parent, in GBP, is showing X times too much money, where it was a 1:X stock split.
19:09:15 <Nav> I've checked in the price editor, and even tried inserting a manual price for the stock split date, and there's nothing erroneous in the FX prices in the price editor either
19:12:30 <Nav> I've even tried not using the assistant and just manually inventing all the new units from an Imbalance account, and even still, I'm getting this mismatch.
19:16:46 <Nav> Wow, that's so weird. I had to insert a dummy price in GBP as well to make it work, the GBP price isn't inferred from the USD price followed by the GBP:USD exchange rate on the date.
19:21:32 *** ChanServ sets mode: +qo warlord warlord
20:03:53 <chris> jralls: Maybe the option could specify a list of dependent options; (list (list "Display" "Memo" #t) ..etc...) where the bool says whether the dependent option must be negated
20:04:29 <chris> hmm no, this isn't sufficient for pagename-sorting optname-show-subtotals-only
20:49:25 *** field^Mop has quit IRC
20:54:24 <chris> jralls: you're right the setter-function-cb is disp-memo? which is an invalid cb... I suspect I may have copypasted from a bad example a long time ago
21:13:14 <fell> jralls, https://lists.gnucash.org/pipermail/gnucash-user/2022-July/102021.html is missing the mentioned screenshot.
21:17:46 *** Aussie_matt has joined #gnucash
23:39:26 *** paul has quit IRC