Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-27 Thread John Ralls
> On Mar 27, 2020, at 8:16 AM, jean wrote: > > I gave that a shot. See > https://github.com/jeanlaroche/gnucash.git > eea20a8da..d0ee8a161 fix_autocompletion_master > But see comments below: > >> Imagine we have the following account tree: > > >> Assets:Cash >> Assets:Bank >> Income:Salary

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-27 Thread jean
I gave that a shot. See https://github.com/jeanlaroche/gnucash.git eea20a8da..d0ee8a161 fix_autocompletion_master But see comments below: Imagine we have the following account tree: > Assets:Cash Assets:Bank Income:Salary Expenses:Bets Expenses:Bets:Blue Typing 'et' will filter the list of

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-26 Thread jean laroche
I'm the one to usually bring this up, so I'll do so again: Before adding options always think very hard for ways to avoid that. I understand you don't want to replace the old behavior with your new behavior unconditionally. I agree. However I also think they are not necessarily mutually

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-26 Thread Geert Janssens
Op vrijdag 13 maart 2020 01:30:23 CET schreef Jean Laroche: > Well it's finally working. I cleaned everything and rebuilt everything, > and things are OK now. I should have started with that. :( > Thanks for the help though! > Glad you got it working. I'm the one to usually bring this up, so

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-26 Thread Geert Janssens
Op woensdag 11 maart 2020 22:03:13 CET schreef Jean Laroche: > People, > I have a version you can test here: > https://github.com/jeanlaroche/gnucash.git , fix_autocompletion branch. > A couple notes: > - I worked off of maint, which I shouldn't have since this is probably a > new feature. I'll

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-12 Thread Jean Laroche
Well it's finally working. I cleaned everything and rebuilt everything, and things are OK now. I should have started with that. :( Thanks for the help though! On 3/12/20 3:52 PM, John Ralls wrote: On Mar 12, 2020, at 3:37 PM, Jean Laroche wrote: you saw

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-12 Thread Jean Laroche
org.gnucash.gnucash.plist in fact (no G) Well, I can confirm that despite all my efforts, my pref is absent from that file. Does this need to be removed for a pref to be added? (I'm guessing not). I'm at a loss to find out what's going on... On 3/12/20 3:52 PM, John Ralls wrote: On Mar

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-12 Thread John Ralls
> On Mar 12, 2020, at 3:37 PM, Jean Laroche wrote: > >> you saw >> https://wiki.gnucash.org/wiki/Adding_Preferences? > > Well, it looks like this is out of date. > For example src/gnome-utils/gtkbuilder/dialog-preferences.glade no longer > exists. > I can only see: >

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-12 Thread Jean Laroche
you saw https://wiki.gnucash.org/wiki/Adding_Preferences? Well, it looks like this is out of date. For example src/gnome-utils/gtkbuilder/dialog-preferences.glade no longer exists. I can only see: ./gnucash/gtkbuilder/dialog-preferences.glade

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-12 Thread jean laroche
Ah crap no, I had not seen that! I looked though, I'm not sure how I missed that. Somehow I missed the wiki. Thanks a bunch. I will update the wiki, but to be fair, it's already pretty good. The issues I ran into were real issues that were fixed by John so there isn't that much to add to the

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-12 Thread Frank H. Ellenberger
Jean, Am 11.03.20 um 22:03 schrieb Jean Laroche: : > PREFERENCES: > If someone can point me in the right direction for preferences, it would > be great. I essentially replicated the code for "Enter moves to blank > transaction" (by searching all references of the defines for that pref, > and

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-11 Thread Jean Laroche
People, I have a version you can test here: https://github.com/jeanlaroche/gnucash.git , fix_autocompletion branch. A couple notes: - I worked off of maint, which I shouldn't have since this is probably a new feature. I'll fix that eventually. - The feature is fully functional, as far as I

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-10 Thread jean laroche
I have the beginning of a solution for type-ahead. It's functional but it does not implement the whole idea. Here's what I did: - Made it possible to type and see the pop up select the *first* account that match the typed string (in real-time, as you type). - From then on, if you're happy with

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-10 Thread Jean Laroche
That patch was for register2 which is stalled, it has no bearing on the current version. Bob OK Thanks, that makes sense. ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-10 Thread Robert Fewell
Jean, That patch was for register2 which is stalled, it has no bearing on the current version. Bob On Tue, 10 Mar 2020 at 16:53, Frank H. Ellenberger < frank.h.ellenber...@gmail.com> wrote: > Jean, > > Am 10.03.20 um 17:41 schrieb Jean Laroche: > > Frank, > > I tried reviving this patch, but

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-10 Thread Jean Laroche
I agree, if we implement this (typing by account number) the pop up list must show the account numbers as well as the account names, I imagine... On 3/10/20 9:54 AM, David Carlson wrote: I would like to see account selection by account number capability expanded to be able to have some

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-10 Thread David Carlson
I would like to see account selection by account number capability expanded to be able to have some visibility when typing. Currently we need to have a good memory or a cheat sheet by the keyboard. David Carlson On Tue, Mar 10, 2020 at 11:48 AM Jean Laroche wrote: > > On 3/10/20 9:23 AM,

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-10 Thread Frank H. Ellenberger
Jean, Am 10.03.20 um 17:41 schrieb Jean Laroche: > Frank, > I tried reviving this patch, but git patch failed. I recreated the patch > manually (which wasn't very hard given that it contains few changes) but > I don't see any effect (not breakpoint is hit). So I'm wondering whether > this patch

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-10 Thread Jean Laroche
On 3/10/20 9:23 AM, Adrien Monteleone wrote: Can account number entry be part of the solution? (or is that a separate ball of wax?) I know I’ve seen that asked for as well. (and would use it myself if it existed) The current work around is to include the account number in the account name

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-10 Thread Jean Laroche
Frank, I tried reviving this patch, but git patch failed. I recreated the patch manually (which wasn't very hard given that it contains few changes) but I don't see any effect (not breakpoint is hit). So I'm wondering whether this patch is still useful.

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-10 Thread Adrien Monteleone
Can account number entry be part of the solution? (or is that a separate ball of wax?) I know I’ve seen that asked for as well. (and would use it myself if it existed) The current work around is to include the account number in the account name (though it has its own field) and even then it

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-10 Thread Jean Laroche
Thanks for pointing me to this bug report! I don't know how I missed it. I looks like a patch was created a long time ago, commented upon, but then nothing was done about it, which is really too bad. It might be useful for small private acoount herarchies. But on major business templats with

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-10 Thread Frank H. Ellenberger
Hi Jean, Am 09.03.20 um 22:16 schrieb jeanl: > I'm looking at this suggestion > https://gnucash.uservoice.com/forums/101223-feature-request/suggestions/1589607-type-ahead-search-when-entering-the-accounts-to-a You can expect, more devs would read the linked bug report

Re: [GNC-dev] Ideas for account type-ahead modification

2020-03-09 Thread chris graves
+1 ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

[GNC-dev] Ideas for account type-ahead modification

2020-03-09 Thread jeanl
I'm looking at this suggestion https://gnucash.uservoice.com/forums/101223-feature-request/suggestions/1589607-type-ahead-search-when-entering-the-accounts-to-a (I'm not interested in the bounty, but I too wish the desired behavior was implemented). This would require a bit of a change to the