Re: [GNC-dev] Register text selection + V#3 Windows scroll bars.

2018-05-26 Thread Chris Good
Hi Geert,

 

Re Changing GnuCash 3 scrollbars back to typical MS Windows style

 

Thanks for the information.

 

I see from your comment on:
 
 
https://wiki.gnucash.org/wiki/Windows#Q:_What_if_I_need_to_change_another_vi
sual_aspect.2C_not_covered_by_.22Select_Theme.22.3F :
   To fix [This is not working as written below. The settings.ini file
is partly documented in the gtk api reference, but gnucash is not picking it
up. Perhaps we need to initialize the gtksettings early in the application
run ?]
 

that GnuCash is currently ignoring settings in the GTK3 settings.ini file. I
have tested this is still true.

 

I have raised bug https://bugzilla.gnome.org/show_bug.cgi?id=796421 - GTK3
settings.ini not being used

so that hopefully this can be fixed.

 

I see from:
 

https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-pr
imary-button-warps-slider :
   Whichever action you choose for the primary button, the other action
will be available by holding Shift and primary-clicking, or (since GTK+
3.22.25) clicking the middle mouse button.

 

I confirm that I can use shift-left-click or middle-button-click to perform
the desired scrollbar action in Windows 10.

I'll send a less complicated email to gnucash-user to let people know of the
alternative.

 

Regards, Chris Good

 

From: Geert Janssens  
Sent: Tuesday, 22 May 2018 5:57 PM
To: gnucash-devel@gnucash.org
Cc: David Carlson ; Chris Good

Subject: Re: [GNC-dev] Register text selection + V#3 Windows scroll bars.

 

This is another behavioral change we got "for free" from Gtk3.

 

Luckily this one is configurable [1] by adding

gtk-primary-button-warps-slider = false

to the [Settings] section of gtk3's settings.ini file

 

The location of this file is platform dependent.

 

On systems following the Freedesktop specification (being linux, gnucash on
macports, most bsd's,...) settings.ini should be created (if not exists yet)

in

$HOME/.config/gtk-3.0

$HOME is a special shell variable and refers to your home directory.

For example

/home/someuser/.config/gtk-3.0/settings.ini

 

On Windows this file should reside in

%localappdata%\gtk-3.0

%localappdata% is a special Windows variable and refers to a location to
store local user specific configuration files.

For example

c:\Users\someuser\AppData\Local\gtk-3.0

 

For our OS X/Quartz the settings.ini file will be searched for in

$HOME/Library/Application Support/Gnucash/config/gtk-3.0

Like on linux $HOME refers to your home direcory.

For example

/home/someuser/Library/Application
Support/Gnucash/config/gtk-3.0/settings.ini

 

Geert

 

[1] According to this AskUbuntu forum topic:

https://askubuntu.com/questions/295988/how-to-fix-gtk3-scrollbar-behavior

 

Op dinsdag 22 mei 2018 02:47:01 CEST schreef David Carlson:

> I have seen that proportional scrollbar jumping behavior in some other

> Linux applications, and I too dislike it. In very long lists like our

> registers become after a while, it is not easy to scroll several screens
up

> or down frequently. I think that it is a GTK thing. If there is a

> work-around, I would like to know about it.

> 

> David C

> 

> On Mon, May 21, 2018 at 7:36 PM, Chris Good  > wrote:

> > [GNC-dev] Register text selection

> > 

> > 

> > Geert Janssens

> >  > 20Re%3A%20%5BGNC-dev%5D%20Re

> > gister%20text%20selection=%3C1925551.

> > T7MvD3KevP%40legolas.kobalt

> > wit.lan%3E> geert.gnucash at kobaltwit.be

> > Mon May 21 09:14:29 EDT 2018

> > 

> > _

> > 

> > Op maandag 21 mei 2018 13:08:05 CEST schreef Robert Fewell:

> > > I have been looking at getting the middle mouse button to work for

> > 

> > pasting

> > 

> > > selected text and whilst trying to do that started to wonder about the

> > > existing preselected text.

> > > 

> > > Currently...

> > > If you open a register, the blank transaction date text is
preselected.

> > > If you start Gnucash with saved open registers, the last register in
the

> > > list to load has the blank date text preselected, this may not be the

> > > current open register.

> > > 

> > > If you navigate by keyboard, the next field text is preselected and
the

> > > cursor set to the end of text.

> > > If you navigate by mouse, the text is not selected and the cursor is
the

> > > mouse position.

> > > If you update a transaction in one register and have the other

> > > corresponding register open, the text where the cursor is will get

> > > selected. (I think this is an easy fix).

> > > 

> > > I am just wondering if we should be doing this 

[GNC-dev] branch-2.6

2018-05-26 Thread John Ralls
Christian,

Your "branch-2.6" drew its first PR today, so I've deleted it to avoid any 
further confusion. Please consult with the rest of the team before you do 
anything like that again. If you'd like to maintain a 2.6 branch yourself you 
are of course free to fork GnuCash, though you should change the name and 
artwork to avoid confusion with the main project.

Regards,
John Ralls

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: [GNC-dev] AqBanking Settings

2018-05-26 Thread Geert Janssens
Op zaterdag 26 mei 2018 08:36:46 CEST schreef Chris Good:
> Hi,
> 
> 
> 
> I'm modifying my BackupGnuCash [1] tool to cater for the new locations of
> GnuCash V3.
> 
> I've also added a dump of the Registry HKCU\Software\GSettings\org\gnucash.
> 
> 
> 
> I also want to backup the AqBanking settings if possible but I don't
> actually use AqBanking.
> 
> 
> 
> https://wiki.gnucash.org/wiki/FAQ#Q:_How_do_I_backup_my_GC_environment.2C_in
> cluding_preferences.3F
> 
> says:
> 
> 
> 
> Lastly if you are using AqBanking online banking
> 
> $HOME/.[aq]banking holds your online banking settings. In older versions it
> was named
> 
> .banking but .aqbanking is the current name.
> 
> 
> 
> On my Windows 10 PC I have an old (2016) C:\Users\%USERNAME%\aqbanking
> folder but not .aqbanking.
> 
> Can some-one please confirm the location of the aqbanking setup files for
> Windows & Linux if possible?

I searched the aqbanking project's sources and you are correct the name is 
"aqbanking" without 
the leading dot on Windows (and ".aqbanking" on all other platforms). I don't 
know is this has 
ever been different in the past.
> 
> And any difference between GnuCash V2/V3 AqBanking.
> 
Not that I know of.
> 
> 
> Can anyone suggest anything else my backup tool should backup?
> 
> (My new version already does all %APPDATA%\gnucash).
> 

If you have made customizations for Gtk3 you may also want to backup
%LOCALAPPDATA%\gtk-3.0

That's all I can think of on Windows.

On Freedesktop based platforms (linux, Macports on OS X,...) there is still
$HOME/.config/gnucash to back up.

Geert
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


[GNC-dev] AqBanking Settings

2018-05-26 Thread Chris Good
Hi,

 

I'm modifying my BackupGnuCash [1] tool to cater for the new locations of
GnuCash V3.

I've also added a dump of the Registry HKCU\Software\GSettings\org\gnucash.

 

I also want to backup the AqBanking settings if possible but I don't
actually use AqBanking.

 

https://wiki.gnucash.org/wiki/FAQ#Q:_How_do_I_backup_my_GC_environment.2C_in
cluding_preferences.3F

says:

 

Lastly if you are using AqBanking online banking

$HOME/.[aq]banking holds your online banking settings. In older versions it
was named

.banking but .aqbanking is the current name.

 

On my Windows 10 PC I have an old (2016) C:\Users\%USERNAME%\aqbanking
folder but not .aqbanking.

Can some-one please confirm the location of the aqbanking setup files for
Windows & Linux if possible?

And any difference between GnuCash V2/V3 AqBanking.

 

Can anyone suggest anything else my backup tool should backup?

(My new version already does all %APPDATA%\gnucash).

 

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

 

Regards, Chris Good

 

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel