Re: [GNC] Date Completion - sliding 12 month window

2019-01-21 Thread Geert Janssens
Op maandag 21 januari 2019 19:14:32 CET schreef Maf. King:
> On Monday, 21 January 2019 16:24:36 GMT John Ralls wrote:
> > > On Jan 21, 2019, at 12:43 AM, Geert Janssens
> > > 
> > > wrote:>
> > > 
> > > Op maandag 21 januari 2019 00:09:28 CET schreef John Ralls:
> > >>> On Jan 20, 2019, at 1:48 PM, Colin Law  wrote:
> > >>> 
> > >>> On Sun, 20 Jan 2019 at 19:20, Parke  wrote:
> >  ...
> >  Come 2020, I may try switching to Lubuntu 20.04.
> > >>> 
> > >>> I don't think that will help, I think it will still need dconf, though
> > >>> I may be wrong.
> > >> 
> > >> Maybe. It seems that KDE uses a plain config-file backend for GSettings
> > >> ...
> > > 
> > > Where did you find that info? I'm curious as my daily desktop is kde yet
> > > gnucash is using dconf.
> > > 
> > > Perhaps because Fedora is essentially a gnome distro and I'm using the
> > > non-
> > > standard kde instead ?
> > 
> > Here:
> > https://unix.stackexchange.com/questions/101147/dconf-equivalent-for-kde
> > 
> > 
> > But I see that it’s 5 years old, so I guess KDE decided to join the party.
> 
> Hi,
> 
> KDE uses flat text files under ~/.config/ to store prefs, not dconf  (no
> doubt there are various levels of conf, system defaults to over-ride etc)
> 
> however, GC isn't a native KDE program, so dconf is still used for prefs
> storage, just as on a gnome desktop  (and presumably any other flavour of
> window manager etc.)
> 
> At least that's how it is on my system!
> 
> Maf.

Or in other words, KDE is not using GSettings for KDE native applications :)

Regards,

Geert



___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Re: [GNC] Date Completion - sliding 12 month window

2019-01-21 Thread Maf. King
On Monday, 21 January 2019 16:24:36 GMT John Ralls wrote:
> > On Jan 21, 2019, at 12:43 AM, Geert Janssens 
> > wrote:> 
> > Op maandag 21 januari 2019 00:09:28 CET schreef John Ralls:
> >>> On Jan 20, 2019, at 1:48 PM, Colin Law  wrote:
> >>> 
> >>> On Sun, 20 Jan 2019 at 19:20, Parke  wrote:
>  ...
>  Come 2020, I may try switching to Lubuntu 20.04.
> >>> 
> >>> I don't think that will help, I think it will still need dconf, though
> >>> I may be wrong.
> >> 
> >> Maybe. It seems that KDE uses a plain config-file backend for GSettings
> >> ...
> > 
> > Where did you find that info? I'm curious as my daily desktop is kde yet
> > gnucash is using dconf.
> > 
> > Perhaps because Fedora is essentially a gnome distro and I'm using the
> > non-
> > standard kde instead ?
> 
> Here:
> https://unix.stackexchange.com/questions/101147/dconf-equivalent-for-kde
> 
> 
> But I see that it’s 5 years old, so I guess KDE decided to join the party.
> 

Hi,

KDE uses flat text files under ~/.config/ to store prefs, not dconf  (no doubt 
there are various levels of conf, system defaults to over-ride etc)

however, GC isn't a native KDE program, so dconf is still used for prefs 
storage, just as on a gnome desktop  (and presumably any other flavour of 
window manager etc.)

At least that's how it is on my system!

Maf.




___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Re: [GNC] Date Completion - sliding 12 month window

2019-01-21 Thread John Ralls


> On Jan 21, 2019, at 12:43 AM, Geert Janssens  
> wrote:
> 
> Op maandag 21 januari 2019 00:09:28 CET schreef John Ralls:
>>> On Jan 20, 2019, at 1:48 PM, Colin Law  wrote:
>>> 
>>> On Sun, 20 Jan 2019 at 19:20, Parke  wrote:
 ...
 Come 2020, I may try switching to Lubuntu 20.04.
>>> 
>>> I don't think that will help, I think it will still need dconf, though
>>> I may be wrong.
>> 
>> Maybe. It seems that KDE uses a plain config-file backend for GSettings ...
> 
> Where did you find that info? I'm curious as my daily desktop is kde yet 
> gnucash is using dconf.
> 
> Perhaps because Fedora is essentially a gnome distro and I'm using the non-
> standard kde instead ?

Here: https://unix.stackexchange.com/questions/101147/dconf-equivalent-for-kde 


But I see that it’s 5 years old, so I guess KDE decided to join the party.

Regards,
John Ralls

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Re: [GNC] Date Completion - sliding 12 month window

2019-01-21 Thread Maf. King
On Monday, 21 January 2019 08:43:36 GMT Geert Janssens wrote:
> Op maandag 21 januari 2019 00:09:28 CET schreef John Ralls:
> > > On Jan 20, 2019, at 1:48 PM, Colin Law  wrote:
> > > 
> > > On Sun, 20 Jan 2019 at 19:20, Parke  wrote:
> > >> ...
> > >> Come 2020, I may try switching to Lubuntu 20.04.
> > > 
> > > I don't think that will help, I think it will still need dconf, though
> > > I may be wrong.
> > 
> > Maybe. It seems that KDE uses a plain config-file backend for GSettings
> > ...
> 
> Where did you find that info? I'm curious as my daily desktop is kde yet
> gnucash is using dconf.
> 
> Perhaps because Fedora is essentially a gnome distro and I'm using the non-
> standard kde instead ?
> 
> Geert
> 

I'm on OpenSuSE, with a KDE desktop, and have been for years - recently 
upgraded (clean install to clear cruft from ~) to the latest which puts me on 
GC 3.3 at the moment - Confirm that GC's prefs are in dconf.  Had to hunt to 
change the MRU list to 6 entries as per the previous setup I'd put in to GC 
2.x 

YMMV, of course, but I see no evidence of *KDE* bypassing dconf.
Maf.



___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Date Completion - sliding 12 month window

2019-01-21 Thread Geert Janssens
Op maandag 21 januari 2019 00:09:28 CET schreef John Ralls:
> > On Jan 20, 2019, at 1:48 PM, Colin Law  wrote:
> > 
> > On Sun, 20 Jan 2019 at 19:20, Parke  wrote:
> >> ...
> >> Come 2020, I may try switching to Lubuntu 20.04.
> > 
> > I don't think that will help, I think it will still need dconf, though
> > I may be wrong.
> 
> Maybe. It seems that KDE uses a plain config-file backend for GSettings ...

Where did you find that info? I'm curious as my daily desktop is kde yet 
gnucash is using dconf.

Perhaps because Fedora is essentially a gnome distro and I'm using the non-
standard kde instead ?

Geert


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Date Completion - sliding 12 month window

2019-01-20 Thread John Ralls



> On Jan 20, 2019, at 1:48 PM, Colin Law  wrote:
> 
> On Sun, 20 Jan 2019 at 19:20, Parke  wrote:
>> ...
>> Come 2020, I may try switching to Lubuntu 20.04.
> 
> I don't think that will help, I think it will still need dconf, though
> I may be wrong.

Maybe. It seems that KDE uses a plain config-file backend for GSettings and 
Lubuntu may as well.

Regards,
John Ralls

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Date Completion - sliding 12 month window

2019-01-20 Thread Colin Law
On Sun, 20 Jan 2019 at 19:20, Parke  wrote:
> ...
> Come 2020, I may try switching to Lubuntu 20.04.

I don't think that will help, I think it will still need dconf, though
I may be wrong.


Colin
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Date Completion - sliding 12 month window

2019-01-20 Thread Parke
Hello,

Thank you David and Greet for your answers.

On Sat, Jan 19, 2019 at 1:55 AM Geert Janssens
 wrote:
> Are you able to change any of the other preferences ? If not, there may be a
> problem with the settings backend (which on linux systems is dconf).

I am not able to change any of the preferences.

It seems very likely that I have intentionally disabled dconf on my system.

Ubuntu keeps on adding more and more... (how shall I say it...)
layers... and I have taken steps to disable as many of them as
possible.

> Does the trace file [1]  show warnings if you try to change this date option ?

Yes, simply opening the preferences window causes multiple lines (all
the same) to appear in the trace file:

* 11:06:21  WARN  failed to commit changes to dconf: Could not
connect: Connection refused

Also, when I create a new set of books, the following is printed to
stdout/stderr:

Found Finance::Quote version 1.47
Error creating proxy: Could not connect: Connection refused
(g-io-error-quark, 39)

Come 2020, I may try switching to Lubuntu 20.04.

Many thanks,

Parke
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Date Completion - sliding 12 month window

2019-01-19 Thread Geert Janssens
Op zaterdag 19 januari 2019 01:58:51 CET schreef Parke:
> Hello,
> 
> I have used GnuCash since 2003.
> 
> Today I discovered the Edit -> Preferences -> Date/Time -> Date
> Completion option.  This is an option I have wanted almost every year
> in January when I am entering data from the preceding December.
> 
> Unfortunately, I am unable to activate this option.
> 
> When I click on the "In a sliding 12-month window ..." option, the
> corresponding radio button turns solid grey for slightly more than one
> second.  Then the radio button reverts to a solid white color.  (The
> "In the current calendar year" option remains selected [i.e. with a
> small black circle] the entire time.)
> 
> I also tried selecting the "sliding" option in a new set of books.  I
> was still unable to activate the "sliding" option.  However, with a
> new, empty set of books, the solid grey circle appeared only for a
> tiny fraction of a second.
> 
> Is there something I am missing?  Or is the sliding date window option
> non-functional?
> 
> I am running on Ubuntu 18.04, running GnuCash 2.6.19.  I am using the
> Openbox window manager.  (In other words, I am using neither Unity nor
> Gnome.)  No messages are written to stdout / stderr.
> 
> Thank you,
> 
> Parke

Hi Parke,

For the record on my Fedora 29 system it seems to work fine with gnucash 3.4.

Are you able to change any of the other preferences ? If not, there may be a 
problem with the settings backend (which on linux systems is dconf).

Does the trace file [1]  show warnings if you try to change this date option ?

And lastly you could also try to install a tool called dconf-editor and try to 
change the option directly in dconf.

The path in dconf is
/org/gnucash/general
The keys that would interest you there are
date-completion-sliding (should be set to "On")
date-completion-thisyear (should be set to "Off")
date-backmonths (should be set to the number of months back you want the 
sliding window to start)

Regards,

Geert

[1] http://wiki.gnucash.org/wiki/Tracefile


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Date Completion - sliding 12 month window

2019-01-18 Thread David Carlson
Parke,

I can tell you that I am using release 2.6.17 in Ubuntu 16.04 with Unity
desktop and that setting works for me, but all preferences are very
slw to respond, just as file saves are too.  When I hover over the
radio buttons the text background changes, and If I click the button it
takes 10-15 seconds for the main GnuCash window in the background to 'wink'
to black and white, and revert to color then the setting finally changes.

David C

On Fri, Jan 18, 2019 at 7:01 PM Parke  wrote:

> Hello,
>
> I have used GnuCash since 2003.
>
> Today I discovered the Edit -> Preferences -> Date/Time -> Date
> Completion option.  This is an option I have wanted almost every year
> in January when I am entering data from the preceding December.
>
> Unfortunately, I am unable to activate this option.
>
> When I click on the "In a sliding 12-month window ..." option, the
> corresponding radio button turns solid grey for slightly more than one
> second.  Then the radio button reverts to a solid white color.  (The
> "In the current calendar year" option remains selected [i.e. with a
> small black circle] the entire time.)
>
> I also tried selecting the "sliding" option in a new set of books.  I
> was still unable to activate the "sliding" option.  However, with a
> new, empty set of books, the solid grey circle appeared only for a
> tiny fraction of a second.
>
> Is there something I am missing?  Or is the sliding date window option
> non-functional?
>
> I am running on Ubuntu 18.04, running GnuCash 2.6.19.  I am using the
> Openbox window manager.  (In other words, I am using neither Unity nor
> Gnome.)  No messages are written to stdout / stderr.
>
> Thank you,
>
> Parke
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.