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.