Re: 2.7.8: autosizing field width in register too small

2018-03-29 Thread Dave H
Bug 794807 is not an issue on eng-au locale using date format DD/MM/CCYY -
have updated it accordingly.

Bug 794806 is an issue however.

Cheers Dave H.

On 29 March 2018 at 22:47, Christoph R 
wrote:

> Done. Bug 794807  and
> 794806 
>
> Gruß,
> Christoph
>
> > Am 29.03.2018 um 14:09 schrieb Geert Janssens <
> geert.gnuc...@kobaltwit.be>:
> >
> > Op donderdag 29 maart 2018 12:57:55 CEST schreef Christoph R:
> >> Hi Geert et. al.
> >>
> >> Playing with the font settings in 2.7.8 I realised that the auto-sizing
> in
> >> the register is not working correctly. When double-clicking the header
> it
> >> resizes just a bit too small.
> >>
> > Thanks for reporting all the issues you encounter.
> >
> > However can you file them as bugs [1] please ? We can't keep track of
> issues
> > on the mailing list.
> >
> > Thanks,
> >
> > Geert
> >
> > [1] Refer to http://wiki.gnucash.org/wiki/Bugzilla to learn how to use
> > bugzilla
> >
> >
>
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Feedback about 2.7.8

2018-03-29 Thread Alen Siljak
Thanks for the info, Adrien.

So far I managed to paint most of the application dark by using the * selector 
only. It is a bit draconian but things are dark, alright.
Hopefully we can figure out additional selectors for borders and other elements.
The example css for register is a good start for that part, too. 

I haven't yet spent much time on this but hopefully more of us can chip in and 
add any related info to the GTK3 page. 
Please do add any links and tips you find. I'll use the info on the page once I 
get to spend some more time hacking around the styles.

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


Re: Feedback about 2.7.8

2018-03-29 Thread Adrien Monteleone
Alen,

A follow-up on the button...

Check out the CSS section of: 
https://developer.gnome.org/gtk3/stable/GtkButton.html

It seems there are no child nodes of button.

But this reference does say it will get the class .image-button or .text-button.

My suspicion would be to try .text-button as the selector instead of just 
[button] and see what happens.

It would be nice if their reference included some examples or links to some 
such resource. The W3C has a much more complete reference for their specs, 
unfortunately, they aren’t in the context of designing a UI.

Regards,
Adrien

> On Mar 29, 2018, at 7:48 AM, Adrien Monteleone  
> wrote:
> 
> 
>> On Mar 29, 2018, at 3:00 AM, Alen Siljak  wrote:
>> 
>> 
>> To answer a part of Adrien's question - see the gtk overview 
>> (https://developer.gnome.org/gtk3/stable/chap-css-overview.html), the first 
>> code entry, example 7. It sets the font to Comic Sans and paints it pink. 
>> I've created the gtk-3.0.css file in 
>> C:\Users\siljak\AppData\Roaming\GnuCash, added the example 7:
>> 
>> button, entry {
>> color: #ff00ea;
>> font: 12px "Comic Sans";
>> }
>> 
>> and the entries in the account list header and footer became pink. The font 
>> setting did not work but at least there are some signs of life! :)
>> 
>> Cheers
> 
> Thanks Alen,
> 
> I linked that page myself in response to the OP looking for CSS help. I think 
> the GTK Inspector will be a big help, especially if it is interactive.
> 
> My initial suspicion (as with all things CSS and before further investigation 
> into the button widget) is that another CSS rule is overriding your font 
> choice—or maybe GTK doesn’t like Comic Sans :)
> 
> Note that the above link you provided on gnome.org mentions that each rule is 
> applied to a node in the widget’s tree. It’s possible there is a child node 
> something like [button > label] which has a font rule that is more specific 
> than simply [button].
> 
> 
> Regards,
> Adrien
> 

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


Re: 2.7.8: autosizing field width in register too small

2018-03-29 Thread Geert Janssens
Op donderdag 29 maart 2018 14:47:27 CEST schreef Christoph R:
> Done. Bug 794807  and
> 794806 
> 
> Gruß,
> Christoph

Great, thanks!

Geert


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


Re: Feedback about 2.7.8

2018-03-29 Thread Adrien Monteleone
Thanks for creating that page Alen,

I think this will be much easier for users to work with than the FAQ. I’d 
recommend moving the FAQ material here.

I started a talk:discussion on your new wiki page. If my suggestion is fine and 
you don’t have time/access to both linux and macOS, I’ll be happy to fill in 
the info for those.


Regards,
Adrien

> On Mar 29, 2018, at 3:00 AM, Alen Siljak  wrote:
> 
> A few questions/suggestions:
> 
> - captcha
> Captcha on wiki reports that the v1 is to be deprecated soon.
> 
> - gtk3 page. 
> I've created a Wiki entry for GTK3 with the main idea being sharing tips 
> about customization - https://wiki.gnucash.org/wiki/GTK3. This is also 
> related to the issue https://bugzilla.gnome.org/show_bug.cgi?id=791823. 
> Having a sample of a customizes CSS file would be a valid workaround. My main 
> goal is to get the adawaita dark theme on Windows machine.
> Let's add any tips, findings, including links to valid .css theme 
> configurations (which could be elsewhere, i.e. gist; there are also whole 
> sites dedicated to gtk3 themes so I'm gonna try to copy adawaita dark css 
> directly).
> 
> - list of ids
> David is correct, pointing to the important question raised by Adrien. 
> However, I'd think that the sample GnuCash css files would answer that, at 
> least partly. I'll write down my findings into the wiki page as I'm darkening 
> the UI.
> 
> - variables
> And, related to the above, I'm wondering why are there @ variables in the 
> GnuCash css files. Is this .scss or are they replaced elsewhere? I've seen 
> [this](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables) 
> even though I've never used it.
> 
> To answer a part of Adrien's question - see the gtk overview 
> (https://developer.gnome.org/gtk3/stable/chap-css-overview.html), the first 
> code entry, example 7. It sets the font to Comic Sans and paints it pink. 
> I've created the gtk-3.0.css file in C:\Users\siljak\AppData\Roaming\GnuCash, 
> added the example 7:
> 
> button, entry {
>  color: #ff00ea;
>  font: 12px "Comic Sans";
> }
> 
> and the entries in the account list header and footer became pink. The font 
> setting did not work but at least there are some signs of life! :)
> 
> Cheers
> 
>> Sent: Thursday, March 29, 2018 at 12:53 AM
>> From: "David Carlson" 
>> To: "Robert Fewell" <14ubo...@gmail.com>
>> Cc: "GNUCASH devel" 
>> Subject: Re: Feedback about 2.7.8
>> 
>> Neither of those sample .css file addresses Adreien's question
>> 
>> " Is there a class/id list for the GnuCash UI so we can know what’s
>> available to style? Or are those listed in the sample file the only ones
>> available? (I’m also assuming other properties can be set, for example
>> font-size in addition to color, etc. or is this not possible?)
>> "
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

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


Re: Feedback about 2.7.8

2018-03-29 Thread Adrien Monteleone

> On Mar 29, 2018, at 3:00 AM, Alen Siljak  wrote:
> 
> 
> To answer a part of Adrien's question - see the gtk overview 
> (https://developer.gnome.org/gtk3/stable/chap-css-overview.html), the first 
> code entry, example 7. It sets the font to Comic Sans and paints it pink. 
> I've created the gtk-3.0.css file in C:\Users\siljak\AppData\Roaming\GnuCash, 
> added the example 7:
> 
> button, entry {
>  color: #ff00ea;
>  font: 12px "Comic Sans";
> }
> 
> and the entries in the account list header and footer became pink. The font 
> setting did not work but at least there are some signs of life! :)
> 
> Cheers

Thanks Alen,

I linked that page myself in response to the OP looking for CSS help. I think 
the GTK Inspector will be a big help, especially if it is interactive.

My initial suspicion (as with all things CSS and before further investigation 
into the button widget) is that another CSS rule is overriding your font 
choice—or maybe GTK doesn’t like Comic Sans :)

Note that the above link you provided on gnome.org mentions that each rule is 
applied to a node in the widget’s tree. It’s possible there is a child node 
something like [button > label] which has a font rule that is more specific 
than simply [button].


Regards,
Adrien

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


Re: 2.7.8: autosizing field width in register too small

2018-03-29 Thread Christoph R
Done. Bug 794807  and 794806 


Gruß,
Christoph

> Am 29.03.2018 um 14:09 schrieb Geert Janssens :
> 
> Op donderdag 29 maart 2018 12:57:55 CEST schreef Christoph R:
>> Hi Geert et. al.
>> 
>> Playing with the font settings in 2.7.8 I realised that the auto-sizing in
>> the register is not working correctly. When double-clicking the header it
>> resizes just a bit too small.
>> 
> Thanks for reporting all the issues you encounter.
> 
> However can you file them as bugs [1] please ? We can't keep track of issues 
> on the mailing list.
> 
> Thanks,
> 
> Geert
> 
> [1] Refer to http://wiki.gnucash.org/wiki/Bugzilla to learn how to use 
> bugzilla
> 
> 

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


Re: Feedback about 2.7.8

2018-03-29 Thread Adrien Monteleone
Thank you Geert,

That’s even better than just a list.

Regards,
Adrien

> On Mar 29, 2018, at 2:50 AM, Geert Janssens  
> wrote:
> 
> https://wiki.gnome.org/Projects/GTK%2B/Inspector

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


Re: 2.7.8: autosizing field width in register too small

2018-03-29 Thread Geert Janssens
Op donderdag 29 maart 2018 12:57:55 CEST schreef Christoph R:
> Hi Geert et. al.
> 
> Playing with the font settings in 2.7.8 I realised that the auto-sizing in
> the register is not working correctly. When double-clicking the header it
> resizes just a bit too small.
> 
Thanks for reporting all the issues you encounter.

However can you file them as bugs [1] please ? We can't keep track of issues 
on the mailing list.

Thanks,

Geert

[1] Refer to http://wiki.gnucash.org/wiki/Bugzilla to learn how to use 
bugzilla


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


2.7.8: Calendar widget current month shown as (null)

2018-03-29 Thread Christoph R
Hi Geert et. al.,

in 2.7.8 the calendar widget shows the current month as “(null)”. All other 
months are fine.

Gruß,
Christoph



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


2.7.8: autosizing field width in register too small

2018-03-29 Thread Christoph R
Hi Geert et. al.

Playing with the font settings in 2.7.8 I realised that the auto-sizing in the 
register is not working correctly. When double-clicking the header it resizes 
just a bit too small.

Cheers,
Christoph

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


Re: Feedback about 2.7.8

2018-03-29 Thread Alen Siljak
The recommended link for upgrade info:

g.co/recaptcha/upgrade


> > > - captcha
> > > Captcha on wiki reports that the v1 is to be deprecated soon.
> > 
> > Where do you get this ? I don't see this when logging in to our wiki or 
> > editing pages. Perhaps because I'm a developer ?
> 
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Feedback about 2.7.8

2018-03-29 Thread Alen Siljak


> Sent: Thursday, March 29, 2018 at 10:16 AM
> From: "Geert Janssens" 
> To: gnucash-devel@gnucash.org
> Cc: "Alen Siljak" 
> Subject: Re: Feedback about 2.7.8
>
> Op donderdag 29 maart 2018 10:00:25 CEST schreef Alen Siljak:
> > A few questions/suggestions:
> > 
> > - captcha
> > Captcha on wiki reports that the v1 is to be deprecated soon.
> 
> Where do you get this ? I don't see this when logging in to our wiki or 
> editing pages. Perhaps because I'm a developer ?

I think the captcha only appears when adding new external links. 
It is being deprecated on 31st of March!

Thanks for the other suggestions. I'll add them to the wiki page. 
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Feedback about 2.7.8

2018-03-29 Thread Geert Janssens
Op donderdag 29 maart 2018 10:00:25 CEST schreef Alen Siljak:
> A few questions/suggestions:
> 
> - captcha
> Captcha on wiki reports that the v1 is to be deprecated soon.

Where do you get this ? I don't see this when logging in to our wiki or 
editing pages. Perhaps because I'm a developer ?

> 
> - gtk3 page.
> I've created a Wiki entry for GTK3 with the main idea being sharing tips
> about customization - https://wiki.gnucash.org/wiki/GTK3. This is also
> related to the issue https://bugzilla.gnome.org/show_bug.cgi?id=791823.
> Having a sample of a customizes CSS file would be a valid workaround. My
> main goal is to get the adawaita dark theme on Windows machine. Let's add
> any tips, findings, including links to valid .css theme configurations
> (which could be elsewhere, i.e. gist; there are also whole sites dedicated
> to gtk3 themes so I'm gonna try to copy adawaita dark css directly).
> 
As Bob pointed out the proper example is 
https://github.com/Gnucash/gnucash/blob/master/doc/gtk-3.0.css
You can optionally point to the others for more details, though they are 
probably more low-level than the average user would need.

> - list of ids
> David is correct, pointing to the important question raised by Adrien.
> However, I'd think that the sample GnuCash css files would answer that, at
> least partly. I'll write down my findings into the wiki page as I'm
> darkening the UI.
> 
> - variables
> And, related to the above, I'm wondering why are there @ variables in the
> GnuCash css files. Is this .scss or are they replaced elsewhere? I've seen
> [this](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables
> ) even though I've never used it.

These are explained in 
https://developer.gnome.org/gtk3/stable/chap-css-overview.html under the color 
section. We mainly use them to
1. retrieve the default system colors (defined in the selected gtk theme)
2. to create inverse colors and support colors relative to the base colors.

Regards,

Geert


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


Re: Feedback about 2.7.8

2018-03-29 Thread Alen Siljak
Soon as in the day after tomorrow! 
(just read the warning message again)

> Sent: Thursday, March 29, 2018 at 10:00 AM
> From: "Alen Siljak" 
> To: "David Carlson" 
> Cc: "GNUCASH devel" 
> Subject: Re: Feedback about 2.7.8
>
> A few questions/suggestions:
> 
> - captcha
> Captcha on wiki reports that the v1 is to be deprecated soon.
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Feedback about 2.7.8

2018-03-29 Thread Alen Siljak
A few questions/suggestions:

- captcha
Captcha on wiki reports that the v1 is to be deprecated soon.

- gtk3 page. 
I've created a Wiki entry for GTK3 with the main idea being sharing tips about 
customization - https://wiki.gnucash.org/wiki/GTK3. This is also related to the 
issue https://bugzilla.gnome.org/show_bug.cgi?id=791823. Having a sample of a 
customizes CSS file would be a valid workaround. My main goal is to get the 
adawaita dark theme on Windows machine.
Let's add any tips, findings, including links to valid .css theme 
configurations (which could be elsewhere, i.e. gist; there are also whole sites 
dedicated to gtk3 themes so I'm gonna try to copy adawaita dark css directly).

- list of ids
David is correct, pointing to the important question raised by Adrien. However, 
I'd think that the sample GnuCash css files would answer that, at least partly. 
I'll write down my findings into the wiki page as I'm darkening the UI.

- variables
And, related to the above, I'm wondering why are there @ variables in the 
GnuCash css files. Is this .scss or are they replaced elsewhere? I've seen 
[this](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables) 
even though I've never used it.

To answer a part of Adrien's question - see the gtk overview 
(https://developer.gnome.org/gtk3/stable/chap-css-overview.html), the first 
code entry, example 7. It sets the font to Comic Sans and paints it pink. 
I've created the gtk-3.0.css file in C:\Users\siljak\AppData\Roaming\GnuCash, 
added the example 7:

button, entry {
  color: #ff00ea;
  font: 12px "Comic Sans";
}

and the entries in the account list header and footer became pink. The font 
setting did not work but at least there are some signs of life! :)

Cheers

> Sent: Thursday, March 29, 2018 at 12:53 AM
> From: "David Carlson" 
> To: "Robert Fewell" <14ubo...@gmail.com>
> Cc: "GNUCASH devel" 
> Subject: Re: Feedback about 2.7.8
>
> Neither of those sample .css file addresses Adreien's question
> 
> " Is there a class/id list for the GnuCash UI so we can know what’s
> available to style? Or are those listed in the sample file the only ones
> available? (I’m also assuming other properties can be set, for example
> font-size in addition to color, etc. or is this not possible?)
> "
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Feedback about 2.7.8

2018-03-29 Thread Geert Janssens
Op woensdag 28 maart 2018 22:06:38 CEST schreef Adrien Monteleone:
> Geert,
> 
> I just noticed in the sample file linked in the FAQ that the following rules
> are repeated at the top and bottom of the file:
> 
> 
> /* Change font color by mixing with grey */
> .lighter-grey-mix {
> color: mix (currentColor, grey, 0.8);
> }
> .darker-grey-mix {
> color: mix (currentColor, grey, 0.2);
> }
> 
> If someone didn’t see the bottom rules and only changed the top versions,
> they wouldn’t see any change in the interface.

Thanks for pointing that out. I have committed a fix.

Geert


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


Re: Feedback about 2.7.8

2018-03-29 Thread Geert Janssens
Op woensdag 28 maart 2018 23:04:33 CEST schreef Robert Fewell:
> I do not think that is the right file to link to, I would of thought this
> one was the correct one...
> https://github.com/Gnucash/gnucash/blob/unstable/doc/gtk-3.0.css
> 
Ah, yes. Thanks. I have fixed the FAQ entry.

Geert


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


Re: Feedback about 2.7.8

2018-03-29 Thread Geert Janssens
Op donderdag 29 maart 2018 00:53:34 CEST schreef David Carlson:
> Neither of those sample .css file addresses Adreien's question
> 
> " Is there a class/id list for the GnuCash UI so we can know what’s
> available to style? Or are those listed in the sample file the only ones
> available? (I’m also assuming other properties can be set, for example
> font-size in addition to color, etc. or is this not possible?)
> "
> 
> David C

There is not and it would be way too long to make a complete list. Every 
single widget in the whole gui can be addressed in css, some via classes 
others via widget hierarchies.

You can however use the GtkInspector tool [1] to discover the widget hierarchy 
and write css rules based on that. You can even interactively experiment with 
it. Note this is an advanced gtk feature so the learning curve may be fairly 
high.

Geert

[1] https://wiki.gnome.org/Projects/GTK%2B/Inspector


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