2009-09-22 GnuCash IRC logs

00:00:29 <jsled> see HACKING; I believe it still has instructions.
00:02:00 <hachque> where would that file be located?
00:02:02 <hachque> i'm using windows
00:02:29 <hachque> foudn it
00:05:03 <hachque> gah
00:05:06 <hachque> i used attach 740 in gdb
00:05:11 <hachque> but it just freezes gnucash
00:05:20 <jsled> do you have a (gdb) prompt?
00:05:57 <hachque> no
00:06:07 <hachque> (gdb) attach 740
00:06:07 <hachque> Attaching to process 740
00:06:09 <hachque> that's all i've got
00:06:23 <hachque> it doesn't go back to the prompt again
00:07:21 <jsled> so, no prompt, but it is frozen?
00:07:22 <jsled> weird.
00:07:27 <jsled> I'd expect one or othe other.
00:07:28 <hachque> yeah
00:07:33 <hachque> i'll try run it through VC++ debugger
00:07:42 <jsled> good luck.
00:07:51 <jsled> I have no idea if that'll work.
00:08:05 <jsled> I do know I'm heading to bed. G'night.
00:08:31 <hachque> lol k, and it did work
00:26:10 <hachque> posted a bug https://bugzilla.gnome.org/show_bug.cgi?id=595902
01:07:33 *** warlord is now known as warlord-afk
01:23:26 *** kling0n has joined #gnucash
01:47:07 *** Jimraehl has quit IRC
02:19:48 *** ErKa has joined #gnucash
03:00:51 *** kling0n has quit IRC
03:10:38 *** bentob0x has joined #gnucash
05:03:46 *** paulproteus_____ has quit IRC
05:05:14 *** paulproteus_____ has joined #gnucash
05:06:02 *** Jimraehl has joined #gnucash
05:39:49 *** Michael1 has joined #gnucash
05:41:05 *** Demitar has quit IRC
06:14:38 *** paulproteus_____ has quit IRC
06:15:41 *** paulproteus_____ has joined #gnucash
06:28:10 *** Michael1 has left #gnucash
06:33:30 *** RobotCow has joined #gnucash
07:45:16 *** Jimraehl has left #gnucash
07:52:52 *** RobotCow has quit IRC
08:03:24 *** JimRaehl2 has joined #gnucash
08:05:19 *** JimRaehl2 has left #gnucash
08:05:49 *** JimRaehl2 has joined #gnucash
08:06:35 *** RobotCow has joined #gnucash
08:14:17 *** tyabux has joined #gnucash
08:22:34 *** jes__ has quit IRC
08:52:54 *** RobotCow has quit IRC
09:00:57 *** hachque has quit IRC
09:09:03 *** barfoo has joined #gnucash
09:16:12 *** barfoo has quit IRC
10:35:18 *** rockfx01 has joined #gnucash
10:41:14 <rockfx01> still wondering if anyone can tell me how to access ld->type as set by gnc_ledger_display_internal() in gnc-ledger-display.c from a func in split-register-model.c
10:48:34 *** warlord-afk is now known as warlord
10:49:58 <warlord> rockfx01: from gnc-ledger-display.h:
10:50:01 <warlord> GNCLedgerDisplayType gnc_ledger_display_type (GNCLedgerDisplay *ld);
10:50:11 <warlord> Is that what you want?
10:50:42 <warlord> the code seems to imply it returns ld->ld_type (or -1 if you pass NULL)
10:51:25 <rockfx01> Yes, but then how do I get ld to pass to it?
10:52:24 <rockfx01> pardon if its a noobish question but I spent some time trying to figure it out but I'm not that good at C yet...
10:53:27 <warlord> Well, what context do you have in your function?
10:54:37 <rockfx01> For example from gnc_split_register_get_rbaln()
10:55:08 <rockfx01> I have the splitregister and virtuallocation to start with
10:56:37 <warlord> Honestly I'm not sure.. It's been way too long since I've looked at these data structures. Where is gnc_ledger_display_internal() getting called from, and how does that get down into your code?
10:57:34 <warlord> I don't see GNCLedgerDisplay being used outside gnc-ledger-display.[ch] so I dont think it's related to the SplitRegiter... So why do you want the ld->ld_type?
10:57:55 <warlord> Why can't you use the SplitRegisterType?
11:00:50 <warlord> Oh, I think I see -- I think it's a higher level abstraction; you're asking to look up the stack.
11:01:15 <warlord> E.g., the GncSplitRegister (see src/gnome/gnc-split-reg ) contains the GNCLedgerDisplay
11:25:32 *** tyabux has quit IRC
11:28:09 *** XiXaQ has joined #gnucash
11:39:50 *** kling0n has joined #gnucash
11:42:06 *** ErKa has quit IRC
11:42:35 <rockfx01> Yes and I can't use the split register type bc it doesn't tell me if its a single acct or subaccounts register, which ld->type does
11:45:01 <rockfx01> so I just don't understand how to look up the stack for it
11:45:54 <warlord> Right now I dont know if you can.
11:46:53 <warlord> I'm not sure how to gain access to the parent GNCLedgerDisplay from within the split register model.
12:22:32 <rockfx01> Alright well I suppose ill have to do it another way then, thanks
12:27:47 <warlord> k
12:31:02 *** ErKa has joined #gnucash
13:28:18 *** mfwitten has joined #gnucash
13:30:28 *** XiXaQ has quit IRC
13:31:12 <mfwitten> I have rather long transaction descriptions; gnucash seems to use computed widths for columns, so that my Description column in an account view is very wide, thereby making the balance after a certain transaction unreadable. I am not able to resize the columns, as they spring back to their old locations (sometimes to even smaller widths). Sigh....
13:33:20 <mfwitten> I can actually move columns to the right (thereby widening the one to the left), but gnucash seems profoundly averse to breaking some minimum column width given the data size (an extravagantly large minimum in the case of the Description).
13:33:54 <warlord> Right, it wont let you have the total column width smaller than the window size.
13:34:09 <mfwitten> Also, the column sides are painfully difficult to grab in order to resize (at least on my 147x147 DPI screen).
13:34:10 <warlord> See the faq: http://wiki.gnucash.org/wiki/FAQ#Q:_How_do_I_resize_my_register_columns.3F__Why_can_I_not_shrink_the_description_column.3F
13:35:37 <mfwitten> warlord: That seems like a design flaw to me.
13:35:53 <warlord> mfwitten: perhaps.
13:36:28 <warlord> Maybe you should get a smaller-dpi screen? ;)
13:36:41 <mfwitten> warlord: :-D
13:37:31 <warlord> FWIW, on my 129x129dpi screen I can grab the column sides.
13:38:45 *** XiXaQ has joined #gnucash
13:38:50 <mfwitten> warlord: The double-line column is pretty easy to grab for me, but the single-line column is torturous!
13:39:12 <mfwitten> warlord: Some kind of wider (transparent) region would be nice
13:40:27 <mfwitten> warlord: Anyway, it's very problematic to resize the right most (Balance) column before resizing the Description column, because gnucash doesn't automatically scroll for me, so I can only resize it a few pixels at a time, then scroll over a bit more and repeat.
13:41:17 <mfwitten> Nevertheless, this trick worked for getting my columns to be readable again---something that has been plaguing me.
13:44:15 <warlord> huh --- it automatically scrolls for me (at least to the right size of the screen)
13:46:22 <mfwitten> warlord: hmmmmm... I'll try again; also, I made a silly comment: There are no such things as double-line columns; it just so happened that I had one column of width approximately 1 pixel, so that the two column sides were quite juxtaposed
13:47:15 <warlord> mfwitten: I was wondering what you meant by that...
13:49:06 <mfwitten> warlord: I get no automatic scrolling with either the last column or the second to last column (when trying to move the right side of the column off right side of the window---even when moving the mouse extremely slowly).
13:53:16 <warlord> what version of gnucash? what OS/Distro?
13:54:55 <mfwitten> warlord: 2.2.9 (Built 2009-03-22 from r17949M) on Arch Linux
14:00:19 <warlord> Hmmm.....
14:18:21 *** ErKa has quit IRC
14:26:45 <mfwitten> Hmmm..... INDEED :-D
14:33:35 <warlord> Sorry, r/l issues here...
14:39:50 *** sjc has joined #gnucash
15:29:07 *** blizgerg has quit IRC
15:42:12 *** ErKa has joined #gnucash
15:45:35 *** jonathanm has joined #gnucash
15:54:48 *** jonathanm has left #gnucash
16:34:14 <mfwitten> warlord: r/l issues?
16:34:27 <warlord> real life
16:34:56 <warlord> (sorry, i've had some offline emergencies to deal with for a while)
16:35:21 <warlord> I'm not sure what to tell you about the scrolling.. Last time I tried it worked for me.
16:35:30 <warlord> (I admit I haven't tried recently)
17:07:00 <mfwitten> warlord: No real problem: It was just an observation
17:07:11 <warlord> k
17:07:15 <mfwitten> warlord: Good luck with r/l (whatever that is ;-D)
17:10:54 *** kling0n has quit IRC
17:14:20 <warlord> LOL
17:14:25 *** sjc has quit IRC
17:21:09 *** ErKa has quit IRC
17:22:25 *** sjc has joined #gnucash
17:42:29 *** warlord has quit IRC
17:43:51 *** gncbot` has joined #gnucash
17:43:54 *** rockfx01 has quit IRC
18:17:15 *** gncbot has joined #gnucash
18:19:32 *** sjc has joined #gnucash
18:22:24 *** blizgerg has joined #gnucash
18:23:04 *** cortana has joined #gnucash
18:43:13 *** warlord has joined #gnucash
18:45:33 *** tyabux has joined #gnucash
18:50:44 *** XiXaQ has quit IRC
19:35:46 *** cortana has quit IRC
19:57:16 *** Demitar has joined #gnucash
19:57:30 *** mfwitten_ has joined #gnucash
20:02:32 *** mfwitten1 has joined #gnucash
20:05:35 *** mfwitten has quit IRC
20:08:43 *** mfwitten_ has quit IRC
20:18:57 *** sjc has quit IRC
20:20:28 *** bentob0x has quit IRC
20:58:35 *** JimRaehl2 has left #gnucash
21:03:11 *** Jimraehl has joined #gnucash
21:25:57 *** mfwitten1 has left #gnucash
21:35:08 *** warlord has quit IRC
21:36:04 *** warlord has joined #gnucash
23:41:56 *** Michael1 has joined #gnucash