Re: Setting the color of the background (was Re: Shortcuts text colour and Command Center window problems on Puppy Linux)

2020-03-04 Thread Lib Lists
On Tue, 3 Mar 2020 at 22:25, Richard Shann  wrote:
>
> On Tue, 2020-03-03 at 18:59 +0200, Lib Lists wrote:
> > > > Talking about colours, is it possible to modify the background
> > > > colour
> > > > of both the editing
> > > >   and print view windows?
> > >
> > > The "editing window" that is, the Denemo Display, can have its
> > > color
> > > set from Scheme - I forget the syntax, ask if you need it - while
> > > the
> > > Print View is (IIRC) just the default i.e. theme-able.
> >
> > It'd be nice to be able change the background colour of the Denemo
> > Display.
>
> I searched the Help->Browse Manual for "color" and came up with
>
> SetBackground. Set passed 24 bit number as RGB color of background.
>
> which is cryptic to say the least it means
>
> (d-SetBackground 0)
>
> would set the background to black.
> (d-SetBackground #x00ff00) turns red and blue off etc.
> There is a Denemo procedure to get a color from the user, too. (d-
> SelectColor) which returns a list of r, g and b values in range 0.0-1.0
> that would need converting to use with d-SetBackground.

Great, thanks, that works perfectly!

lib
>
> HTH
>
> Richard
>



Setting the color of the background (was Re: Shortcuts text colour and Command Center window problems on Puppy Linux)

2020-03-03 Thread Richard Shann
On Tue, 2020-03-03 at 18:59 +0200, Lib Lists wrote:
> > > Talking about colours, is it possible to modify the background
> > > colour
> > > of both the editing
> > >   and print view windows?
> > 
> > The "editing window" that is, the Denemo Display, can have its
> > color
> > set from Scheme - I forget the syntax, ask if you need it - while
> > the
> > Print View is (IIRC) just the default i.e. theme-able.
> 
> It'd be nice to be able change the background colour of the Denemo
> Display.

I searched the Help->Browse Manual for "color" and came up with

SetBackground. Set passed 24 bit number as RGB color of background. 

which is cryptic to say the least it means

(d-SetBackground 0)

would set the background to black. 
(d-SetBackground #x00ff00) turns red and blue off etc.
There is a Denemo procedure to get a color from the user, too. (d-
SelectColor) which returns a list of r, g and b values in range 0.0-1.0
that would need converting to use with d-SetBackground.

HTH

Richard




Re: Shortcuts text colour and Command Center window problems on Puppy Linux

2020-03-03 Thread Lib Lists
On Tue, 3 Mar 2020 at 17:34, Richard Shann  wrote:
>
> On Tue, 2020-03-03 at 15:31 +0200, Lib Lists wrote:
> > On Mon, 2 Mar 2020 at 20:55, Lib Lists  wrote:
> > >
> > > On Mon, 2 Mar 2020 at 14:48, Richard Shann  > > > wrote:
> > > >
> > > > On Mon, 2020-03-02 at 14:18 +0200, Lib Lists wrote:
> > > > > On Mon, 2 Mar 2020 at 12:08, Richard Shann  > > > > .com>
> > > > > wrote:
> > > > > >
> > > > > > On Sat, 2020-02-29 at 19:51 +0200, Lib Lists wrote:
> > > > > > >
> > > > > >
> > > > > > [...]
> > > > > > > > > > The color of the keyboard shortcuts is hard wired,
> > > > > > > > > > unfortunately,
> > > > > > > > > > and I
> > > > > > > > > > see from your picture that it doesn't work well with
> > > > > > > > > > themes
> > > > > > > > > > that
> > > > > > > > > > use a
> > > > > > > > > > dark background with light colored lettering. The
> > > > > > > > > > menu
> > > > > > > > > > background
> > > > > > > > > > color
> > > > > > > > > > and the color of the labels in the menus is not hard-
> > > > > > > > > > wired
> > > > > > > > > > by
> > > > > > > > > > Denemo
> > > > > > > > > > however, so theming should work for them. I've not
> > > > > > > > > > explored
> > > > > > > > > > how
> > > > > > > > > > themes
> > > > > > > > > > can be chosen under Gtk though so I can't really go
> > > > > > > > > > beyond
> > > > > > > > > > saying
> > > > > > > > > > it
> > > > > > > > > > should work :( Do other Gtk-based applications change
> > > > > > > > > > appropriately
> > > > > > > > > > on
> > > > > > > > > > that virtual machine?
> > > > > > > > >
> > > > > > > > > Hi, just tested with Abiword
> > > > > > > >
> > > > > > > > is that a Gtk based program (or Qt for example)?
> > > > > > >
> > > > > > > Yes it's a Gtk program.
> > > > > >
> > > > > > and the background color of pop-up menus in Abiword changes
> > > > > > when
> > > > > > you
> > > > > > change theme but does not in Denemo?
> > > > >
> > > > > Sorry my mistake, Abiword behaves like Denemo i.e. only the
> > > > > title bar
> > > > > changes, while the menus don't. However, Gnumeric works well.
> > > > > After
> > > > > some research it seems that the installed version of Abiword is
> > > > > a
> > > > > Gtk3
> > > > > program, while Gnumeric (version 1.10.17) is a Gtk2 program.
> > > >
> > > > You can build Denemo against Gtk2 but there are some features
> > > > that are
> > > > not so good. IIRC Gtk3 has switched to using cascading style
> > > > sheets (or
> > > > some such terminology) where you can specify the style of things
> > > > at an
> > > > extremely granular level - Denemo is exploiting this internally,
> > > > e.g.
> > > > to paint the background of the frames differently for the
> > > > different
> > > > types of Denemo Directive in the Score/Movement/Staff/etc
> > > > editors.
> > > > Ideally this would be done by providing a style sheet with Denemo
> > > > that
> > > > the user could then adjust, but, as I say, I haven't delved so
> > > > deeply
> > > > into how that would work.
> > > > I think the installed Gtk3 libraries that you have will include a
> > > > variety of styles and something to specify the default, so, short
> > > > of
> > > > finding a Gtk3 theme chooser program you could directly alter
> > > > that
> > > > default (probably by putting the choice in some .config file in
> > > > your
> > > > home directory).
> > >
> > > Hi Richard,
> > > thank you for your suggestion! I'll give it a try and report.
> >
> > Hi,
> > I tried to modify various gtk3 .css files but didn't succeed.
> > However,
> > I noticed that in Abiword's menus the keyboard shortcuts are light
> > grey and not dark blue as in Denemo. Otherwise the menu colours are
> > exactly the same. Could it be that in Denemo the shortcut colour
> > number is hardcoded?
>
> it is - I mentioned this earlier (first sentence above!)

Hi, oops, I completely skipped that sentence, sorry about that.
>
> >
> > Talking about colours, is it possible to modify the background colour
> > of both the editing
> >  and print view windows?
>
> The "editing window" that is, the Denemo Display, can have its color
> set from Scheme - I forget the syntax, ask if you need it - while the
> Print View is (IIRC) just the default i.e. theme-able.

It'd be nice to be able change the background colour of the Denemo Display.

>
> >
> > Finally, I just noticed that in the version compiled by myself syntax
> > highlighting
>
> LilyPond syntax highlighting?

Yes

>
> >  doesn't work, while it works in the appimage downloaded
> > from Denemo website. Any hint?
> The Gtk widget involved is GtkSourceView which has refers to a file
> containing the syntax highlighting rules
> do you get this warning
>
> g_warning ("No syntax highlighting for LilyPond");

Yes, exactly, that's the message I get.
Thanks!

>
> the code doing this stuff is in src/export/exportlilypond.c if that
> helps.
>
> HTH
>
> Richard
>



Re: Shortcuts text colour and Command Center window problems on Puppy Linux

2020-03-03 Thread Richard Shann
On Tue, 2020-03-03 at 15:31 +0200, Lib Lists wrote:
> On Mon, 2 Mar 2020 at 20:55, Lib Lists  wrote:
> > 
> > On Mon, 2 Mar 2020 at 14:48, Richard Shann  > > wrote:
> > > 
> > > On Mon, 2020-03-02 at 14:18 +0200, Lib Lists wrote:
> > > > On Mon, 2 Mar 2020 at 12:08, Richard Shann  > > > .com>
> > > > wrote:
> > > > > 
> > > > > On Sat, 2020-02-29 at 19:51 +0200, Lib Lists wrote:
> > > > > > 
> > > > > 
> > > > > [...]
> > > > > > > > > The color of the keyboard shortcuts is hard wired,
> > > > > > > > > unfortunately,
> > > > > > > > > and I
> > > > > > > > > see from your picture that it doesn't work well with
> > > > > > > > > themes
> > > > > > > > > that
> > > > > > > > > use a
> > > > > > > > > dark background with light colored lettering. The
> > > > > > > > > menu
> > > > > > > > > background
> > > > > > > > > color
> > > > > > > > > and the color of the labels in the menus is not hard-
> > > > > > > > > wired
> > > > > > > > > by
> > > > > > > > > Denemo
> > > > > > > > > however, so theming should work for them. I've not
> > > > > > > > > explored
> > > > > > > > > how
> > > > > > > > > themes
> > > > > > > > > can be chosen under Gtk though so I can't really go
> > > > > > > > > beyond
> > > > > > > > > saying
> > > > > > > > > it
> > > > > > > > > should work :( Do other Gtk-based applications change
> > > > > > > > > appropriately
> > > > > > > > > on
> > > > > > > > > that virtual machine?
> > > > > > > > 
> > > > > > > > Hi, just tested with Abiword
> > > > > > > 
> > > > > > > is that a Gtk based program (or Qt for example)?
> > > > > > 
> > > > > > Yes it's a Gtk program.
> > > > > 
> > > > > and the background color of pop-up menus in Abiword changes
> > > > > when
> > > > > you
> > > > > change theme but does not in Denemo?
> > > > 
> > > > Sorry my mistake, Abiword behaves like Denemo i.e. only the
> > > > title bar
> > > > changes, while the menus don't. However, Gnumeric works well.
> > > > After
> > > > some research it seems that the installed version of Abiword is
> > > > a
> > > > Gtk3
> > > > program, while Gnumeric (version 1.10.17) is a Gtk2 program.
> > > 
> > > You can build Denemo against Gtk2 but there are some features
> > > that are
> > > not so good. IIRC Gtk3 has switched to using cascading style
> > > sheets (or
> > > some such terminology) where you can specify the style of things
> > > at an
> > > extremely granular level - Denemo is exploiting this internally,
> > > e.g.
> > > to paint the background of the frames differently for the
> > > different
> > > types of Denemo Directive in the Score/Movement/Staff/etc
> > > editors.
> > > Ideally this would be done by providing a style sheet with Denemo
> > > that
> > > the user could then adjust, but, as I say, I haven't delved so
> > > deeply
> > > into how that would work.
> > > I think the installed Gtk3 libraries that you have will include a
> > > variety of styles and something to specify the default, so, short
> > > of
> > > finding a Gtk3 theme chooser program you could directly alter
> > > that
> > > default (probably by putting the choice in some .config file in
> > > your
> > > home directory).
> > 
> > Hi Richard,
> > thank you for your suggestion! I'll give it a try and report.
> 
> Hi,
> I tried to modify various gtk3 .css files but didn't succeed.
> However,
> I noticed that in Abiword's menus the keyboard shortcuts are light
> grey and not dark blue as in Denemo. Otherwise the menu colours are
> exactly the same. Could it be that in Denemo the shortcut colour
> number is hardcoded?

it is - I mentioned this earlier (first sentence above!)

> 
> Talking about colours, is it possible to modify the background colour
> of both the editing
>  and print view windows?

The "editing window" that is, the Denemo Display, can have its color
set from Scheme - I forget the syntax, ask if you need it - while the
Print View is (IIRC) just the default i.e. theme-able.

> 
> Finally, I just noticed that in the version compiled by myself syntax
> highlighting

LilyPond syntax highlighting?

>  doesn't work, while it works in the appimage downloaded
> from Denemo website. Any hint?
The Gtk widget involved is GtkSourceView which has refers to a file
containing the syntax highlighting rules
do you get this warning

g_warning ("No syntax highlighting for LilyPond");

the code doing this stuff is in src/export/exportlilypond.c if that
helps.

HTH

Richard




Re: Shortcuts text colour and Command Center window problems on Puppy Linux

2020-03-03 Thread Lib Lists
On Mon, 2 Mar 2020 at 20:55, Lib Lists  wrote:
>
> On Mon, 2 Mar 2020 at 14:48, Richard Shann  wrote:
> >
> > On Mon, 2020-03-02 at 14:18 +0200, Lib Lists wrote:
> > > On Mon, 2 Mar 2020 at 12:08, Richard Shann 
> > > wrote:
> > > >
> > > > On Sat, 2020-02-29 at 19:51 +0200, Lib Lists wrote:
> > > > >
> > > >
> > > > [...]
> > > > > > > > The color of the keyboard shortcuts is hard wired,
> > > > > > > > unfortunately,
> > > > > > > > and I
> > > > > > > > see from your picture that it doesn't work well with themes
> > > > > > > > that
> > > > > > > > use a
> > > > > > > > dark background with light colored lettering. The menu
> > > > > > > > background
> > > > > > > > color
> > > > > > > > and the color of the labels in the menus is not hard-wired
> > > > > > > > by
> > > > > > > > Denemo
> > > > > > > > however, so theming should work for them. I've not explored
> > > > > > > > how
> > > > > > > > themes
> > > > > > > > can be chosen under Gtk though so I can't really go beyond
> > > > > > > > saying
> > > > > > > > it
> > > > > > > > should work :( Do other Gtk-based applications change
> > > > > > > > appropriately
> > > > > > > > on
> > > > > > > > that virtual machine?
> > > > > > >
> > > > > > > Hi, just tested with Abiword
> > > > > >
> > > > > > is that a Gtk based program (or Qt for example)?
> > > > >
> > > > > Yes it's a Gtk program.
> > > >
> > > > and the background color of pop-up menus in Abiword changes when
> > > > you
> > > > change theme but does not in Denemo?
> > >
> > > Sorry my mistake, Abiword behaves like Denemo i.e. only the title bar
> > > changes, while the menus don't. However, Gnumeric works well. After
> > > some research it seems that the installed version of Abiword is a
> > > Gtk3
> > > program, while Gnumeric (version 1.10.17) is a Gtk2 program.
> >
> > You can build Denemo against Gtk2 but there are some features that are
> > not so good. IIRC Gtk3 has switched to using cascading style sheets (or
> > some such terminology) where you can specify the style of things at an
> > extremely granular level - Denemo is exploiting this internally, e.g.
> > to paint the background of the frames differently for the different
> > types of Denemo Directive in the Score/Movement/Staff/etc editors.
> > Ideally this would be done by providing a style sheet with Denemo that
> > the user could then adjust, but, as I say, I haven't delved so deeply
> > into how that would work.
> > I think the installed Gtk3 libraries that you have will include a
> > variety of styles and something to specify the default, so, short of
> > finding a Gtk3 theme chooser program you could directly alter that
> > default (probably by putting the choice in some .config file in your
> > home directory).
>
> Hi Richard,
> thank you for your suggestion! I'll give it a try and report.

Hi,
I tried to modify various gtk3 .css files but didn't succeed. However,
I noticed that in Abiword's menus the keyboard shortcuts are light
grey and not dark blue as in Denemo. Otherwise the menu colours are
exactly the same. Could it be that in Denemo the shortcut colour
number is hardcoded?

Talking about colours, is it possible to modify the background colour
of both the editing and print view windows?

Finally, I just noticed that in the version compiled by myself syntax
highlighting doesn't work, while it works in the appimage downloaded
from Denemo website. Any hint?

Thanks!
>
> lib
> >
> > HTH
> >
> > Richard
> >
> >
> >



Re: Shortcuts text colour and Command Center window problems on Puppy Linux

2020-03-02 Thread Lib Lists
On Mon, 2 Mar 2020 at 14:48, Richard Shann  wrote:
>
> On Mon, 2020-03-02 at 14:18 +0200, Lib Lists wrote:
> > On Mon, 2 Mar 2020 at 12:08, Richard Shann 
> > wrote:
> > >
> > > On Sat, 2020-02-29 at 19:51 +0200, Lib Lists wrote:
> > > >
> > >
> > > [...]
> > > > > > > The color of the keyboard shortcuts is hard wired,
> > > > > > > unfortunately,
> > > > > > > and I
> > > > > > > see from your picture that it doesn't work well with themes
> > > > > > > that
> > > > > > > use a
> > > > > > > dark background with light colored lettering. The menu
> > > > > > > background
> > > > > > > color
> > > > > > > and the color of the labels in the menus is not hard-wired
> > > > > > > by
> > > > > > > Denemo
> > > > > > > however, so theming should work for them. I've not explored
> > > > > > > how
> > > > > > > themes
> > > > > > > can be chosen under Gtk though so I can't really go beyond
> > > > > > > saying
> > > > > > > it
> > > > > > > should work :( Do other Gtk-based applications change
> > > > > > > appropriately
> > > > > > > on
> > > > > > > that virtual machine?
> > > > > >
> > > > > > Hi, just tested with Abiword
> > > > >
> > > > > is that a Gtk based program (or Qt for example)?
> > > >
> > > > Yes it's a Gtk program.
> > >
> > > and the background color of pop-up menus in Abiword changes when
> > > you
> > > change theme but does not in Denemo?
> >
> > Sorry my mistake, Abiword behaves like Denemo i.e. only the title bar
> > changes, while the menus don't. However, Gnumeric works well. After
> > some research it seems that the installed version of Abiword is a
> > Gtk3
> > program, while Gnumeric (version 1.10.17) is a Gtk2 program.
>
> You can build Denemo against Gtk2 but there are some features that are
> not so good. IIRC Gtk3 has switched to using cascading style sheets (or
> some such terminology) where you can specify the style of things at an
> extremely granular level - Denemo is exploiting this internally, e.g.
> to paint the background of the frames differently for the different
> types of Denemo Directive in the Score/Movement/Staff/etc editors.
> Ideally this would be done by providing a style sheet with Denemo that
> the user could then adjust, but, as I say, I haven't delved so deeply
> into how that would work.
> I think the installed Gtk3 libraries that you have will include a
> variety of styles and something to specify the default, so, short of
> finding a Gtk3 theme chooser program you could directly alter that
> default (probably by putting the choice in some .config file in your
> home directory).

Hi Richard,
thank you for your suggestion! I'll give it a try and report.

lib
>
> HTH
>
> Richard
>
>
>



Re: Shortcuts text colour and Command Center window problems on Puppy Linux

2020-03-02 Thread Richard Shann
On Mon, 2020-03-02 at 14:18 +0200, Lib Lists wrote:
> On Mon, 2 Mar 2020 at 12:08, Richard Shann 
> wrote:
> > 
> > On Sat, 2020-02-29 at 19:51 +0200, Lib Lists wrote:
> > > 
> > 
> > [...]
> > > > > > The color of the keyboard shortcuts is hard wired,
> > > > > > unfortunately,
> > > > > > and I
> > > > > > see from your picture that it doesn't work well with themes
> > > > > > that
> > > > > > use a
> > > > > > dark background with light colored lettering. The menu
> > > > > > background
> > > > > > color
> > > > > > and the color of the labels in the menus is not hard-wired
> > > > > > by
> > > > > > Denemo
> > > > > > however, so theming should work for them. I've not explored
> > > > > > how
> > > > > > themes
> > > > > > can be chosen under Gtk though so I can't really go beyond
> > > > > > saying
> > > > > > it
> > > > > > should work :( Do other Gtk-based applications change
> > > > > > appropriately
> > > > > > on
> > > > > > that virtual machine?
> > > > > 
> > > > > Hi, just tested with Abiword
> > > > 
> > > > is that a Gtk based program (or Qt for example)?
> > > 
> > > Yes it's a Gtk program.
> > 
> > and the background color of pop-up menus in Abiword changes when
> > you
> > change theme but does not in Denemo?
> 
> Sorry my mistake, Abiword behaves like Denemo i.e. only the title bar
> changes, while the menus don't. However, Gnumeric works well. After
> some research it seems that the installed version of Abiword is a
> Gtk3
> program, while Gnumeric (version 1.10.17) is a Gtk2 program.

You can build Denemo against Gtk2 but there are some features that are
not so good. IIRC Gtk3 has switched to using cascading style sheets (or
some such terminology) where you can specify the style of things at an
extremely granular level - Denemo is exploiting this internally, e.g.
to paint the background of the frames differently for the different
types of Denemo Directive in the Score/Movement/Staff/etc editors.
Ideally this would be done by providing a style sheet with Denemo that
the user could then adjust, but, as I say, I haven't delved so deeply
into how that would work.
I think the installed Gtk3 libraries that you have will include a
variety of styles and something to specify the default, so, short of
finding a Gtk3 theme chooser program you could directly alter that
default (probably by putting the choice in some .config file in your
home directory).

HTH

Richard






Re: Shortcuts text colour and Command Center window problems on Puppy Linux

2020-03-02 Thread Lib Lists
On Mon, 2 Mar 2020 at 12:08, Richard Shann  wrote:
>
> On Sat, 2020-02-29 at 19:51 +0200, Lib Lists wrote:
> >
> [...]
> > > > > The color of the keyboard shortcuts is hard wired,
> > > > > unfortunately,
> > > > > and I
> > > > > see from your picture that it doesn't work well with themes
> > > > > that
> > > > > use a
> > > > > dark background with light colored lettering. The menu
> > > > > background
> > > > > color
> > > > > and the color of the labels in the menus is not hard-wired by
> > > > > Denemo
> > > > > however, so theming should work for them. I've not explored how
> > > > > themes
> > > > > can be chosen under Gtk though so I can't really go beyond
> > > > > saying
> > > > > it
> > > > > should work :( Do other Gtk-based applications change
> > > > > appropriately
> > > > > on
> > > > > that virtual machine?
> > > >
> > > > Hi, just tested with Abiword
> > >
> > > is that a Gtk based program (or Qt for example)?
> >
> > Yes it's a Gtk program.
>
> and the background color of pop-up menus in Abiword changes when you
> change theme but does not in Denemo?

Sorry my mistake, Abiword behaves like Denemo i.e. only the title bar
changes, while the menus don't. However, Gnumeric works well. After
some research it seems that the installed version of Abiword is a Gtk3
program, while Gnumeric (version 1.10.17) is a Gtk2 program.

>
>
> >
> > >
> > > >
> > > > > > [...]
>
> > > > > >  Unfortunately then the menu from which 'Open Command
> > > > > > Center'
> > > > > > was invoked remains visible (Screenshot_3).
> > > > >
> > > > > I tested this (on Debian) and the menu remains visible but can
> > > > > be
> > > > > dismissed by clicking off the menu (e.g. clicking on the
> > > > > Command
> > > > > Center
> > > > > itself). Does that not happen with your version?
> > > >
> > > > Yes, the same happens here.
> > >
> > > ok, then that is the "normal" behavior - perhaps it could pop-down
> > > the
> > > menu when that option is chosen, it would need a bug filing against
> > > it
> > > if it is behavior that bothers you...
> >
> > Why not, it feels like an unnecessary click to pop the menu down
> > every time.
>
> I've looked at this: this is the general behavior, and I think I can
> understand why: having navigated down several layers of menus to a menu
> item it will often be not convenient for the menu to disappear without
> consent as the user may want to choose another command from the same
> menu or actually execute that command...

Ah yes, of course, I see the point.

Thank you!


>
> Richard.



Re: Shortcuts text colour and Command Center window problems on Puppy Linux

2020-03-02 Thread Richard Shann
On Sat, 2020-02-29 at 19:51 +0200, Lib Lists wrote:
> 
[...]
> > > > The color of the keyboard shortcuts is hard wired,
> > > > unfortunately,
> > > > and I
> > > > see from your picture that it doesn't work well with themes
> > > > that
> > > > use a
> > > > dark background with light colored lettering. The menu
> > > > background
> > > > color
> > > > and the color of the labels in the menus is not hard-wired by
> > > > Denemo
> > > > however, so theming should work for them. I've not explored how
> > > > themes
> > > > can be chosen under Gtk though so I can't really go beyond
> > > > saying
> > > > it
> > > > should work :( Do other Gtk-based applications change
> > > > appropriately
> > > > on
> > > > that virtual machine?
> > > 
> > > Hi, just tested with Abiword
> > 
> > is that a Gtk based program (or Qt for example)?
> 
> Yes it's a Gtk program.

and the background color of pop-up menus in Abiword changes when you
change theme but does not in Denemo?


> 
> > 
> > > 
> > > > > [...]

> > > > >  Unfortunately then the menu from which 'Open Command
> > > > > Center'
> > > > > was invoked remains visible (Screenshot_3).
> > > > 
> > > > I tested this (on Debian) and the menu remains visible but can
> > > > be
> > > > dismissed by clicking off the menu (e.g. clicking on the
> > > > Command
> > > > Center
> > > > itself). Does that not happen with your version?
> > > 
> > > Yes, the same happens here.
> > 
> > ok, then that is the "normal" behavior - perhaps it could pop-down
> > the
> > menu when that option is chosen, it would need a bug filing against
> > it
> > if it is behavior that bothers you...
> 
> Why not, it feels like an unnecessary click to pop the menu down
> every time.

I've looked at this: this is the general behavior, and I think I can
understand why: having navigated down several layers of menus to a menu
item it will often be not convenient for the menu to disappear without
consent as the user may want to choose another command from the same
menu or actually execute that command...

Richard.



Re: Shortcuts text colour and Command Center window problems on Puppy Linux

2020-02-29 Thread Lib Lists
Sorry for double post and the previous unfinished message.

On Sat, 29 Feb 2020 at 19:20, Richard Shann  wrote:
>
> On Sat, 2020-02-29 at 18:51 +0200, Lib Lists wrote:
> > Hi Richard,
> > thanks for your message.
> > Answers below,
> >
> [...]
> > > That's very interesting to know that it is possible to get the
> > > latest
> > > Denemo on a Mac. What version of Denemo do you have working, and
> > > where
> > > did it come from?
> >
> > Latest Denemo (version 2.3.2), compiled from source, downloaded from
> > the git repository https://git.savannah.gnu.org/git/denemo.git
>
> great!
>
> >
> > >
> > > >
> > > > However, there are a couple of problems (see attached
> > > > screenshots):
> > > >
> > > > 1) Is it possible to change the keyboard shortcuts text or the
> > > > menu
> > > > background colours (dark grey on dark blue)? I tried
> > > > changing  the
> > > > JWM
> > > > theme but it didn't work (Screenshot_1).
> > >
> > > The color of the keyboard shortcuts is hard wired, unfortunately,
> > > and I
> > > see from your picture that it doesn't work well with themes that
> > > use a
> > > dark background with light colored lettering. The menu background
> > > color
> > > and the color of the labels in the menus is not hard-wired by
> > > Denemo
> > > however, so theming should work for them. I've not explored how
> > > themes
> > > can be chosen under Gtk though so I can't really go beyond saying
> > > it
> > > should work :( Do other Gtk-based applications change appropriately
> > > on
> > > that virtual machine?
> >
> > Hi, just tested with Abiword
> is that a Gtk based program (or Qt for example)?

Yes it's a Gtk program.

>
> > and the 'theme chooser' application and
> > everything works correctly. However, Denemo menus don't change, only
> > its title bar does.
>
> Hmm, it sounds like there is more than one layer of theming here: your
> window manager is being themed by your "theme chooser" but not actual
> program - Gtk allows the user to theme the programs compiled with it
> and it comes with a number of themes to choose from. But I haven't
> experimented with it (or if I have it was long enough ago for me to
> forget...).

I really don't know the inner working of Puppy Linux, there's a JWM
Theme Switcher and a Gtk+ 2.0 Change Theme 0.3.1 application.

>
> >
> > > >
> > > > 2) When I click 'Open Command Center on this command', the
> > > > Command
> > > > Center window appears without title bar, and the only way to
> > > > close
> > > > the
> > > > window is from the View menu (Screenshot_2).
> > >
> > > The appearance of the window without decorations is presumably some
> > > bug
> > > in the Gtk version you are compiled or running with... I can be
> > > pretty
> > > certain Denemo does not request a window without decorations for
> > > the
> > > Command Center.
> >
> > I've used libgtk-3-dev_3.22.30
>
> I see I have 3.22.11 which I guess is what my Debian oldstable comes
> with.
>
> >
> > >
> > > >  However, the behaviour
> > > > happens only the first time and on the following times the title
> > > > bar
> > > > appears. Unfortunately then the menu from which 'Open Command
> > > > Center'
> > > > was invoked remains visible (Screenshot_3).
> > >
> > > I tested this (on Debian) and the menu remains visible but can be
> > > dismissed by clicking off the menu (e.g. clicking on the Command
> > > Center
> > > itself). Does that not happen with your version?
> >
> > Yes, the same happens here.
>
> ok, then that is the "normal" behavior - perhaps it could pop-down the
> menu when that option is chosen, it would need a bug filing against it
> if it is behavior that bothers you...

Why not, it feels like an unnecessary click to pop the menu down every time.

Thank you for your help!

>
> HTH Richard
>



Re: Shortcuts text colour and Command Center window problems on Puppy Linux

2020-02-29 Thread Lib Lists
On Sat, 29 Feb 2020 at 19:20, Richard Shann  wrote:
>
> On Sat, 2020-02-29 at 18:51 +0200, Lib Lists wrote:
> > Hi Richard,
> > thanks for your message.
> > Answers below,
> >
> [...]
> > > That's very interesting to know that it is possible to get the
> > > latest
> > > Denemo on a Mac. What version of Denemo do you have working, and
> > > where
> > > did it come from?
> >
> > Latest Denemo (version 2.3.2), compiled from source, downloaded from
> > the git repository https://git.savannah.gnu.org/git/denemo.git
>
> great!
>
> >
> > >
> > > >
> > > > However, there are a couple of problems (see attached
> > > > screenshots):
> > > >
> > > > 1) Is it possible to change the keyboard shortcuts text or the
> > > > menu
> > > > background colours (dark grey on dark blue)? I tried
> > > > changing  the
> > > > JWM
> > > > theme but it didn't work (Screenshot_1).
> > >
> > > The color of the keyboard shortcuts is hard wired, unfortunately,
> > > and I
> > > see from your picture that it doesn't work well with themes that
> > > use a
> > > dark background with light colored lettering. The menu background
> > > color
> > > and the color of the labels in the menus is not hard-wired by
> > > Denemo
> > > however, so theming should work for them. I've not explored how
> > > themes
> > > can be chosen under Gtk though so I can't really go beyond saying
> > > it
> > > should work :( Do other Gtk-based applications change appropriately
> > > on
> > > that virtual machine?
> >
> > Hi, just tested with Abiword
> is that a Gtk based program (or Qt for example)?

It's a Gtk program.

>
> > and the 'theme chooser' application and
> > everything works correctly. However, Denemo menus don't change, only
> > its title bar does.
>
> Hmm, it sounds like there is more than one layer of theming here: your
> window manager is being themed by your "theme chooser" but not actual
> program - Gtk allows the user to theme the programs compiled with it
> and it comes with a number of themes to choose from. But I haven't
> experimented with it (or if I have it was long enough ago for me to
> forget...).

I really don't know the inner working of Puppy Linux, there's a JWM
Theme Switcher and a

>
> >
> > > >
> > > > 2) When I click 'Open Command Center on this command', the
> > > > Command
> > > > Center window appears without title bar, and the only way to
> > > > close
> > > > the
> > > > window is from the View menu (Screenshot_2).
> > >
> > > The appearance of the window without decorations is presumably some
> > > bug
> > > in the Gtk version you are compiled or running with... I can be
> > > pretty
> > > certain Denemo does not request a window without decorations for
> > > the
> > > Command Center.
> >
> > I've used libgtk-3-dev_3.22.30
>
> I see I have 3.22.11 which I guess is what my Debian oldstable comes
> with.
>
> >
> > >
> > > >  However, the behaviour
> > > > happens only the first time and on the following times the title
> > > > bar
> > > > appears. Unfortunately then the menu from which 'Open Command
> > > > Center'
> > > > was invoked remains visible (Screenshot_3).
> > >
> > > I tested this (on Debian) and the menu remains visible but can be
> > > dismissed by clicking off the menu (e.g. clicking on the Command
> > > Center
> > > itself). Does that not happen with your version?
> >
> > Yes, the same happens here.
>
> ok, then that is the "normal" behavior - perhaps it could pop-down the
> menu when that option is chosen, it would need a bug filing against it
> if it is behavior that bothers you...
>
> HTH Richard
>



Re: Shortcuts text colour and Command Center window problems on Puppy Linux

2020-02-29 Thread Richard Shann
On Sat, 2020-02-29 at 18:51 +0200, Lib Lists wrote:
> Hi Richard,
> thanks for your message.
> Answers below,
> 
[...]
> > That's very interesting to know that it is possible to get the
> > latest
> > Denemo on a Mac. What version of Denemo do you have working, and
> > where
> > did it come from?
> 
> Latest Denemo (version 2.3.2), compiled from source, downloaded from
> the git repository https://git.savannah.gnu.org/git/denemo.git

great!

> 
> > 
> > > 
> > > However, there are a couple of problems (see attached
> > > screenshots):
> > > 
> > > 1) Is it possible to change the keyboard shortcuts text or the
> > > menu
> > > background colours (dark grey on dark blue)? I tried
> > > changing  the
> > > JWM
> > > theme but it didn't work (Screenshot_1).
> > 
> > The color of the keyboard shortcuts is hard wired, unfortunately,
> > and I
> > see from your picture that it doesn't work well with themes that
> > use a
> > dark background with light colored lettering. The menu background
> > color
> > and the color of the labels in the menus is not hard-wired by
> > Denemo
> > however, so theming should work for them. I've not explored how
> > themes
> > can be chosen under Gtk though so I can't really go beyond saying
> > it
> > should work :( Do other Gtk-based applications change appropriately
> > on
> > that virtual machine?
> 
> Hi, just tested with Abiword 
is that a Gtk based program (or Qt for example)?

> and the 'theme chooser' application and
> everything works correctly. However, Denemo menus don't change, only
> its title bar does.

Hmm, it sounds like there is more than one layer of theming here: your
window manager is being themed by your "theme chooser" but not actual
program - Gtk allows the user to theme the programs compiled with it
and it comes with a number of themes to choose from. But I haven't
experimented with it (or if I have it was long enough ago for me to
forget...).

> 
> > > 
> > > 2) When I click 'Open Command Center on this command', the
> > > Command
> > > Center window appears without title bar, and the only way to
> > > close
> > > the
> > > window is from the View menu (Screenshot_2).
> > 
> > The appearance of the window without decorations is presumably some
> > bug
> > in the Gtk version you are compiled or running with... I can be
> > pretty
> > certain Denemo does not request a window without decorations for
> > the
> > Command Center.
> 
> I've used libgtk-3-dev_3.22.30

I see I have 3.22.11 which I guess is what my Debian oldstable comes
with.

> 
> > 
> > >  However, the behaviour
> > > happens only the first time and on the following times the title
> > > bar
> > > appears. Unfortunately then the menu from which 'Open Command
> > > Center'
> > > was invoked remains visible (Screenshot_3).
> > 
> > I tested this (on Debian) and the menu remains visible but can be
> > dismissed by clicking off the menu (e.g. clicking on the Command
> > Center
> > itself). Does that not happen with your version?
> 
> Yes, the same happens here.

ok, then that is the "normal" behavior - perhaps it could pop-down the
menu when that option is chosen, it would need a bug filing against it
if it is behavior that bothers you...

HTH Richard




Re: Shortcuts text colour and Command Center window problems on Puppy Linux

2020-02-29 Thread Lib Lists
Hi Richard,
thanks for your message.
Answers below,

On Sat, 29 Feb 2020 at 17:21, Richard Shann  wrote:
>
> On Sat, 2020-02-29 at 14:49 +0200, Lib Lists wrote:
> > Hi,
> > I started using Denemo on my mac on a VirtualBoxed Puppy Linux
> > because
> > of the unavailability of an updated MacOs version. I chose Puppy
> > Linux
> > because I have some past experience with it and because runs smoothly
> > on a virtual machine. I'm using the version called Bionicpup64 8.0.
> That's very interesting to know that it is possible to get the latest
> Denemo on a Mac. What version of Denemo do you have working, and where
> did it come from?

Latest Denemo (version 2.3.2), compiled from source, downloaded from
the git repository https://git.savannah.gnu.org/git/denemo.git

>
> >
> > However, there are a couple of problems (see attached screenshots):
> >
> > 1) Is it possible to change the keyboard shortcuts text or the menu
> > background colours (dark grey on dark blue)? I tried changing  the
> > JWM
> > theme but it didn't work (Screenshot_1).
>
> The color of the keyboard shortcuts is hard wired, unfortunately, and I
> see from your picture that it doesn't work well with themes that use a
> dark background with light colored lettering. The menu background color
> and the color of the labels in the menus is not hard-wired by Denemo
> however, so theming should work for them. I've not explored how themes
> can be chosen under Gtk though so I can't really go beyond saying it
> should work :( Do other Gtk-based applications change appropriately on
> that virtual machine?

Hi, just tested with Abiword and the 'theme chooser' application and
everything works correctly. However, Denemo menus don't change, only
its title bar does.

> >
> > 2) When I click 'Open Command Center on this command', the Command
> > Center window appears without title bar, and the only way to close
> > the
> > window is from the View menu (Screenshot_2).
>
> The appearance of the window without decorations is presumably some bug
> in the Gtk version you are compiled or running with... I can be pretty
> certain Denemo does not request a window without decorations for the
> Command Center.

I've used libgtk-3-dev_3.22.30

>
> >  However, the behaviour
> > happens only the first time and on the following times the title bar
> > appears. Unfortunately then the menu from which 'Open Command Center'
> > was invoked remains visible (Screenshot_3).
>
> I tested this (on Debian) and the menu remains visible but can be
> dismissed by clicking off the menu (e.g. clicking on the Command Center
> itself). Does that not happen with your version?

Yes, the same happens here.

>
>
> HTH
>
> Richard



Re: Shortcuts text colour and Command Center window problems on Puppy Linux

2020-02-29 Thread Richard Shann
On Sat, 2020-02-29 at 14:49 +0200, Lib Lists wrote:
> Hi,
> I started using Denemo on my mac on a VirtualBoxed Puppy Linux
> because
> of the unavailability of an updated MacOs version. I chose Puppy
> Linux
> because I have some past experience with it and because runs smoothly
> on a virtual machine. I'm using the version called Bionicpup64 8.0.
That's very interesting to know that it is possible to get the latest
Denemo on a Mac. What version of Denemo do you have working, and where
did it come from?

> 
> However, there are a couple of problems (see attached screenshots):
> 
> 1) Is it possible to change the keyboard shortcuts text or the menu
> background colours (dark grey on dark blue)? I tried changing  the
> JWM
> theme but it didn't work (Screenshot_1).

The color of the keyboard shortcuts is hard wired, unfortunately, and I
see from your picture that it doesn't work well with themes that use a
dark background with light colored lettering. The menu background color
and the color of the labels in the menus is not hard-wired by Denemo
however, so theming should work for them. I've not explored how themes
can be chosen under Gtk though so I can't really go beyond saying it
should work :( Do other Gtk-based applications change appropriately on
that virtual machine?
> 
> 2) When I click 'Open Command Center on this command', the Command
> Center window appears without title bar, and the only way to close
> the
> window is from the View menu (Screenshot_2).

The appearance of the window without decorations is presumably some bug
in the Gtk version you are compiled or running with... I can be pretty
certain Denemo does not request a window without decorations for the
Command Center.

>  However, the behaviour
> happens only the first time and on the following times the title bar
> appears. Unfortunately then the menu from which 'Open Command Center'
> was invoked remains visible (Screenshot_3).

I tested this (on Debian) and the menu remains visible but can be
dismissed by clicking off the menu (e.g. clicking on the Command Center
itself). Does that not happen with your version?


HTH

Richard