2017-03-09 GnuCash IRC logs

00:19:10 *** O01eg has quit IRC
00:24:43 *** fiddlerwoaroof has quit IRC
00:25:53 *** fiddlerwoaroof has joined #gnucash
00:32:04 *** fiddlerwoaroof has quit IRC
00:32:36 *** fiddlerwoaroof has joined #gnucash
00:52:45 *** fiddlerwoaroof has quit IRC
01:06:29 *** Mechtilde has joined #gnucash
01:30:41 *** fell_ has joined #gnucash
01:32:44 *** fell has quit IRC
01:38:55 *** fiddlerwoaroof has joined #gnucash
01:43:51 *** Mechtilde has quit IRC
02:30:19 *** kjetilho has left #gnucash
03:13:48 *** mrklintscher has quit IRC
03:20:17 *** gjanssens has joined #gnucash
03:20:18 *** ChanServ sets mode: +o gjanssens
03:31:37 *** mlncn has quit IRC
03:46:13 <gjanssens> .
03:49:24 *** mrklintscher has joined #gnucash
04:11:51 *** lmat has quit IRC
04:22:59 *** fekepp has joined #gnucash
04:23:36 *** lmat has joined #gnucash
04:35:52 *** fabior has joined #gnucash
05:17:06 *** karelk has quit IRC
05:37:04 *** g5pw has quit IRC
05:54:37 *** fabior has quit IRC
06:41:29 *** Jimraehl1 has joined #gnucash
07:30:53 *** User has joined #gnucash
07:33:03 *** User_ has joined #gnucash
07:35:11 *** User has quit IRC
07:50:50 *** rickoehn has joined #gnucash
08:38:59 *** fabior has joined #gnucash
09:01:46 <warlord> .
09:10:10 *** fabior has quit IRC
09:20:51 *** kael has joined #gnucash
09:30:22 *** fekepp has quit IRC
09:31:22 *** fekepp has joined #gnucash
09:39:08 *** fekepp has quit IRC
09:53:06 *** mlncn has joined #gnucash
10:30:08 *** kael has quit IRC
10:30:13 *** fekepp has joined #gnucash
10:35:05 *** O01eg has joined #gnucash
10:45:19 *** fabior has joined #gnucash
10:55:37 *** karelk has joined #gnucash
11:28:21 *** fabior has quit IRC
11:31:51 *** ajm has joined #gnucash
11:34:27 <ajm> Hi, I'm suddenly having problems printing invoices from GnuCash (2.6.15) - on some of them the right hand side of the invoice is being cropped off completely
11:35:42 <ajm> from about half way along the "Description" box, so no values are shown. It doesn't do this with every invoice, and they all look fine within GnuCash itself, but a print preview shows the problem, as does exporting to PDF
11:36:05 <ajm> Any clues as to what might be amiss?
11:42:04 <warlord> That sounds weird.
11:42:18 <warlord> Worst cast, can you export the invoice in HTML, load it in Firefox, and print from there?
11:42:53 <ajm> Will give it a go just now
11:45:03 <ajm> Yes, that works pretty well as a temporary workaround - thank you very much
11:45:56 <ajm> Obviously it's a bit long winded for every invoice from now on though! Any idea how best to troubleshoot what's actually going wrong?
11:46:01 <warlord> ajm: please file a bug report.
11:46:15 <warlord> Not specifically.
11:50:28 *** fekepp has quit IRC
11:50:45 *** fekepp has joined #gnucash
12:07:42 <ajm> I will file a bug report, after double checking that it also occurs using the bog standard invoice template (I have a very slightly modified version which just replaces the "thank you for your patronage" text with some payment details - shouldn't be causing this issue but who knows.)
12:16:51 <jralls> gjanssens: Do you know offhand which of the windows in https://bugzilla.gnome.org/show_bug.cgi?id=779792#c2 are GtkDialogs and which are GtkWindows?
12:18:50 <gjanssens> jralls: I was just reading your bug comments. I don't know offhand, but I can look it up for you :)
12:19:41 <jralls> gjanssens: If you already know where to look... Otherwise I can grep it out in a few minutes.
12:20:01 <gjanssens> That will be as fast as I could do it...
12:20:40 <gjanssens> jralls: fyi, most windows/dialogs in the business code don't have a transient set
12:21:42 <gjanssens> I started fixing this some time ago, but it meant quite a number of functions needed an additional parameter so I deferred it to some time in the future
12:21:58 <jralls> Heh. Most dialogs in GnuCash as a whole don't have a transient set. It's generally only a problem on Macs because Apple's window stacking is really weird.
12:23:04 <gjanssens> Well, it may be less common but it does also give intermittent issues on linux. If not I wouldn't have started the attempt to fix it :)
12:23:13 <jralls> You shouldn't need to pass a parameter around. Every GtkWidget knows what its toplevel is, ask with gtk_widget_get_toplevel().
12:23:14 *** kael has joined #gnucash
12:23:33 <gjanssens> But it's been a while, so memory is vague
12:23:35 *** elkenfugel has joined #gnucash
12:24:07 <gjanssens> gtk_widget_get_toplevel -> neat trick
12:24:19 * gjanssens will try to remember next time he picks this up...
12:25:00 <gjanssens> jralls: also fyi I'm making progress slowly on the gnome_canvas stuff
12:25:30 <gjanssens> The offset issue I mentioned a few days back is solved
12:25:58 <jralls> Very good.
12:26:04 <gjanssens> But I've been banging my head against the wall for a couple of days for widgets that didn't get drawn.
12:26:10 <gjanssens> Only today I figured it out
12:26:27 <gjanssens> Those were widgets that don't have their own gdkwindow
12:26:53 <gjanssens> And on a gtklayout they disappeared behind another widget that did have its own gdkwindow
12:27:14 <gjanssens> So that's sorted also
12:27:33 <gjanssens> It's beginning to look like a register rewrite after all :(
12:28:33 <gjanssens> There are several subtle behavioral differences between a gnome_canvas with its items and doing it directly in gtk (with gtklayout as base widget)
12:29:23 <gjanssens> And I continue to think the old design sucks big time to 2017 standards
12:29:47 <gjanssens> Which is to be expected of course for code about 20 years old.
12:30:17 <gjanssens> <end of ramble>
12:31:33 <gjanssens> Anyway, last thing to complete to have the same behavior as the old design is to properly handle mouse clicks. That should be easy.
12:31:34 <jralls> LOL! I don't know that the code being 20 years old is a good excuse. Fowler's "Refactoring" was published in 2001.
12:32:01 <gjanssens> Clearly nobody did for this piece of code!
12:32:03 <jralls> If that's all it sounds well short of a rewrite.
12:32:51 <gjanssens> :D Yes that was exagerated by my frustration
12:33:55 <jralls> I'm not arguing that our code base isn't poorly designed. I'm pretty sure I've been beating the Fowler drum since I joined the project 8 years ago.
12:34:12 *** mlncn has quit IRC
12:35:01 * gjanssens should read Fower's "Refactoring" one day...
12:35:12 <gjanssens> Is it a book? An article on the web ?
12:35:13 <warlord> The register design was nice for late-1990's tech
12:35:26 <jralls> OK, I'm relieved. It's sometimes hard to recognize overtones like that in a text-only channel, particularly one as terse as IRC.
12:36:13 <warlord> I feel people in the 2000s felt "it worked.. *I* don't want to touch it" --- and so they didnt
12:37:01 <jralls> warlord: The result was, and is, nice. The implementation that got us there is historically interesting but wouldn't have been considered good coding practice in 1990. Yes, I have that sentiment even now. It works, it's a bitch to figure out how, and it's darned easy to break.
12:37:27 <jralls> gjanssens: ISBN 0-201-48567-2
12:38:12 <jralls> warlord: Oh, the 1990 reference is because that's about when I last had a CS course.
12:38:20 *** Mechtilde has joined #gnucash
12:38:26 *** Mechtilde has quit IRC
12:38:31 <warlord> LOL
12:38:41 *** Mechtilde has joined #gnucash
12:40:13 <jralls> Anyway, the register is historically interesting because it's pretty clearly the precursor of GtkTreeView, or rather the gnumeric code from which it was lifted was.
12:49:48 *** elkenfugel has quit IRC
12:55:14 *** fabior has joined #gnucash
13:14:15 *** mlncn has joined #gnucash
13:38:26 *** fabior has quit IRC
13:53:30 *** fabior has joined #gnucash
13:55:08 *** mlncn has quit IRC
14:02:01 *** fabior has quit IRC
14:22:17 *** mlncn has joined #gnucash
14:29:21 *** warlord has quit IRC
14:33:14 *** frakturfreak has joined #gnucash
14:37:05 *** kael has quit IRC
14:40:15 *** mrklintscher has quit IRC
14:46:46 *** kael has joined #gnucash
14:51:30 <jralls> warlord: The account request mails are still coming from webmaster@gnucash.org. Did you think that you'd changed that? If a random person emails bureaucrat@gnucash.org will it go through?
15:04:40 *** Mechtilde has quit IRC
15:06:20 *** fabior has joined #gnucash
15:14:02 <jonas> from my issue a few days ago when I couldn't get gnucash working with python3, turns out it works fine when compiled for python2.7 like said here
15:14:03 <jonas> thanks
15:14:25 <jonas> it's a bit depressing that arch doesn't have a working ready-made build for gnucash with the python bindinds :(
15:21:54 *** mrklintscher has joined #gnucash
15:36:14 *** Mechtilde has joined #gnucash
15:47:06 *** Mechtilde has quit IRC
15:51:42 *** kael has quit IRC
15:52:22 *** warlord has joined #gnucash
15:52:22 *** gncbot sets mode: +o warlord
16:08:54 <gjanssens> jonas: I'm glad you got it working.
16:18:14 *** mlncn has quit IRC
16:20:53 *** kael has joined #gnucash
16:25:56 *** frakturfreak has quit IRC
16:33:05 *** kael has quit IRC
17:04:20 *** mrklintscher2 has joined #gnucash
17:04:29 *** mrklintscher has quit IRC
17:13:35 *** User_ has quit IRC
17:17:14 *** gjanssens has quit IRC
17:17:56 *** WincoVan has joined #gnucash
17:30:01 *** mlncn has joined #gnucash
17:38:14 *** fabior has quit IRC
17:58:32 *** User_ has joined #gnucash
18:09:23 *** kael has joined #gnucash
18:11:52 *** rickoehn has quit IRC
18:25:30 *** WincoVan has left #gnucash
18:26:42 *** kael has quit IRC
18:27:03 *** User_ has quit IRC
18:32:11 *** User_ has joined #gnucash
19:14:29 *** david has joined #gnucash
19:18:57 *** david has joined #gnucash
19:24:19 *** david has quit IRC
19:24:51 *** david has joined #gnucash
19:41:00 *** User_ has quit IRC
19:46:28 *** hub has joined #gnucash
19:48:04 <hub> I just started 2.6.15 on machine with a HiDPI screen. and, it having problems...
19:48:12 <hub> like everything is too small
19:50:02 *** codesmythe has quit IRC
19:55:34 *** codesmythe has joined #gnucash
20:04:27 *** Kaell has joined #gnucash
20:14:11 *** Kaell has quit IRC
20:19:54 *** Kaell has joined #gnucash
20:44:32 *** Kaell has quit IRC
20:56:31 *** Kaell has joined #gnucash
21:16:57 *** Kaell has quit IRC
21:18:20 *** Kaell has joined #gnucash
21:39:44 *** Kaell has quit IRC
21:41:33 *** Kaell has joined #gnucash
22:16:50 *** gnomey has quit IRC
22:17:17 *** gnomey has joined #gnucash
22:19:32 *** Kaell has quit IRC
22:32:03 *** Kaell has joined #gnucash
22:48:33 *** Kaell_ has joined #gnucash
22:53:12 *** gncbot` has joined #gnucash
22:53:14 *** Kaell_ has quit IRC
22:53:14 *** mlncn has quit IRC
22:53:14 *** ajm has quit IRC
22:53:14 *** mebX has quit IRC
22:53:14 *** Simon has quit IRC
22:53:14 *** gncbot has quit IRC
22:53:14 *** jonas has quit IRC
22:53:14 *** Artefact2 has quit IRC
22:53:14 *** puck has quit IRC
22:53:14 *** CDB-Man has quit IRC
22:53:14 *** CDB-Away has quit IRC
22:53:14 *** linas has quit IRC
22:53:14 *** mikee has quit IRC
22:53:14 *** wget has quit IRC
22:53:14 *** ThomasKeller has quit IRC
22:55:32 *** wget has joined #gnucash
22:55:51 *** mebX has joined #gnucash
22:55:51 *** CDB-Man has joined #gnucash
22:55:51 *** CDB-Away has joined #gnucash
22:55:51 *** linas has joined #gnucash
22:55:51 *** irc.gimp.ca sets mode: +o linas
22:56:15 *** Simon has joined #gnucash
22:56:45 *** ThomasKeller has joined #gnucash
22:57:25 *** mlncn has joined #gnucash
22:57:40 *** Artefact2 has joined #gnucash
22:57:40 *** puck has joined #gnucash
22:58:02 *** mikee has joined #gnucash
22:58:02 *** ChanServ sets mode: +o mikee
22:58:07 *** jonas has joined #gnucash
22:58:47 *** ajm has joined #gnucash
23:16:16 *** Heisenburg has joined #gnucash
23:20:45 *** MrWhite has joined #gnucash
23:33:46 *** Kaell_ has joined #gnucash
23:47:46 *** Kaell has quit IRC