Size of Toolbar icons; canot read 'tooltips' text

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Size of Toolbar icons; canot read 'tooltips' text

Maurice Batey-2
Now using PAN 0.140, I cannot find a way of making the toolbar icons
bigger, or making the 'tooltip' text readable (seems to be pale yellow on
a grey background)!

Where have I omitted to look, please?

--
/\/\aurice
        (Retired in Surrey, UK)     Registered Linux User #487649
                    Linux 64-bit Mageia-6:   Pan 0.140
       


_______________________________________________
Pan-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/pan-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Size of Toolbar icons; canot read 'tooltips' text

Duncan-42
Maurice posted on Sat, 29 Jul 2017 12:00:45 +0000 as excerpted:

> Now using PAN 0.140, I cannot find a way of making the toolbar icons
> bigger, or making the 'tooltip' text readable (seems to be pale yellow
> on a grey background)!
>
> Where have I omitted to look, please?

There's a number of variables to consider here.

First, is your pan a gtk2 or gtk3 based build?  (Check package
dependencies or run ldd /path/to/pan and see.)  For years gtk2 has been
recommended as there /used/ to be mysterious issues with a gtk3 build
that "magically" disappeared with a build against gtk2, but there has
been some discussion of a renewed push to test and fix any remaining gtk3-
based issues, recently.  But I'm still running a gtk2-based build here.

Second, what desktop environment?  If it's a gtk-based DE, there's a fair
chance that the generic DE configuration will affect both icon size and
tooltip colors, particularly if your DE's gtk-base matches that of pan.

If you're running a non-gtk-based DE, however, and haven't separately
installed the appropriate gtk-config tools, you'll have to configure
things manually.  

I'm a long-time kde, now (kde-)plasma, user, and that's qt-based, so I've
had similar issues and had to do a semi-manual config.  Unfortunately it
has been long ago enough now that I don't remember the details, but I'll
see what I can find probing my own config...

FWIW, I didn't worry too much about gtk2 (and thus pan) icon size here.  
These days I run big-screen TVs as monitors so size isn't the issue it
might have been before, but the size was always big enough to hit, and as
long as the tooltips were readable, I was fine, so tooltip readability
was what I focused on and ultimately fixed.

FWIW(2), kde/plasma has long had in its color settings config a checkbox
to apply colors to non-qt-based apps as well.  From what I've seen that
means at least gtk-based; I'm honestly not sure what beyond that it
applies to, but most of my non-qt/kde apps are gtk anyway, and it applies
to them, tho it does /not/ seem to apply to the xorg/motif based tools,
etc.

But I too had the unreadable tooltips issue, as I said, many years ago
(kde3 era, so VERY long ago in kde terms!).  I suspect it was at the time
due to the fact that I prefer a "reverse" color-scheme, light text on a
dark background, and while kde was applying my kde color scheme to most
gtk elements, including either the foreground or background of the
tooltip (IDR which) , it wasn't applying it to the other one, so I ended
up with either light on light or dark on dark tooltips.  Either way, it
was unreadable and needed fixed.

I've not had the problem since, but I'm honestly not sure whether it's
because kde/plasma fixed that problem and applies its colors to both
foreground and background of the tooltip, or if my fixes from years ago
continue to stick, all these years later.  For all I know kde/plasma
fixed the problem, but my fix is still applying as well, overriding the
kde/plasma fix.

So now to rummaging around in my config, trying to see what controls the
gtk2 tooltip colors...

<oops>

It just started raining outside, and I remember a big storm was forcast
for this evening... and last time a big storm came thru the lights
blinked and the computer rebooted... more than once until I just shut it
off for a few hours... so I'm going to send this now and finish later...

--
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


_______________________________________________
Pan-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/pan-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Size of Toolbar icons; canot read 'tooltips' text

Duncan-42
Duncan posted on Sun, 30 Jul 2017 00:20:27 +0000 as excerpted:

> So now to rummaging around in my config, trying to see what controls the
> gtk2 tooltip colors...
>
> <oops>
>
> It just started raining outside, and I remember a big storm was forcast
> for this evening... and last time a big storm came thru the lights
> blinked and the computer rebooted... more than once until I just shut it
> off for a few hours... so I'm going to send this now and finish later...

Quit raining, for now...  More supposed to be coming (a total of 20-25
mm, .8 to 1.0 inch, over ~8 hours, big news here in Phoenix, which google
says averages only just over 8 inches, 200 mm rain, in 36 days with rain,
annually)...

So it seems my old manual setting is still there, but being overridden by
the now fixed kde/plasma-set colors.

What you'll want is a file with something like this (for a gtk2-based
pan, I /think/ gtk3 still uses it or similar, but am not sure):

>>>>

style "ToolTip"
{
  bg[NORMAL] = { 0.008, 0.035, 0.075 }
  base[NORMAL] = { 0.027, 0.075, 0.184 }
  text[NORMAL] = { 1.000, 0.502, 0.000 }
  fg[NORMAL] = { 0.357, 0.788, 0.000 }
}

widget "gtk-tooltip" style "ToolTip"
widget "gtk-tooltips" style "ToolTip"

<<<<

That's from the gtkrc file created by plasma.  The widget lines actually
do the style setting; the style can be named anything you like as long as
it's the same name in all three places, and the numbers represent the
standard red/green/blue, with 1.000 being full on (0xff) and 0.000 being
full off.  So { 1.000, 1.000, 1.000 } is white, all zeros is black, the
same fractional between the two for all three values is some shade of
gray, { 0.000, 1.000, 0.000 } is full green, no red or blue, etc.

And if you're happy with the rest and just want better contrast, you
probably only actually need one of the color setting lines, depending on
which part you actually want to set.  Here, it was the fg (foreground)
value I needed to set, and I simply set it to black, like so (there are
significant differences from the above, explained below):

>>>>

# This sets a black tooltip foreground color

style "tooltips"
{
        fg[NORMAL] = "#000000"
}

widget "gtk-tooltips*"          style "tooltips"

<<<<

Note the #-comment lines and the lowercase "tooltips" style name used
here, instead of the Titlecase initial-caps used in the style name
above.  I'm not sure, but I /believe/ it's case sensitive so the above
would reset the other tooltips color elements to the defaults as they're
not actually set in the style setup here, and the name is different due
to case sensitivity so it wouldn't inherit from the style named using
title-case.

And as you can see I chose to use HTML style hex-value color codes which
I'm more familiar with instead of the fractional values.  At least back
then with gtk2, it worked just fine.  I presume it still does...


Meanwhile, once you get your file setup, you need to tell pan about it.  
To do that you ensure that the GTK2_RC_FILES variable (or try
GTK_RC_Files, without the 2) is set accordingly in the environment
exported to pan.  For now I'll assume you know how to set and export
environmental vars and skip explaining it, but if you need to know how to
do that too, just ask.

--
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


_______________________________________________
Pan-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/pan-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Size of Toolbar icons; canot read 'tooltips' text

Maurice Batey-2
In reply to this post by Duncan-42
On Sun, 30 Jul 2017 00:20:27 +0000, Duncan wrote:

> First, is your pan a gtk2 or gtk3 based build?  (Check package
> dependencies or run ldd /path/to/pan and see.)


$ ldd /usr/bin/pan
        linux-vdso.so.1 (0x00007ffec7d13000)
        libgtkspell.so.0 => /lib64/libgtkspell.so.0 (0x00007f5972616000)
        libgtk-x11-2.0.so.0 => /lib64/libgtk-x11-2.0.so.0
(0x00007f5971fdf000)
        libgdk-x11-2.0.so.0 => /lib64/libgdk-x11-2.0.so.0
(0x00007f5971d2b000)
        libcairo.so.2 => /lib64/libcairo.so.2 (0x00007f5971a08000)
        libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0
(0x00007f59717e4000)
        libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007f5971453000)
        libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x00007f5971207000)
        libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0
(0x00007f5970fb5000)
        libenchant.so.1 => /lib64/libenchant.so.1 (0x00007f5970da9000)
        libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f5970a96000)
        libgmime-2.6.so.0 => /lib64/libgmime-2.6.so.0 (0x00007f5970823000)
        libgnutls.so.30 => /lib64/libgnutls.so.30 (0x00007f59704bc000)
        libnotify.so.4 => /lib64/libnotify.so.4 (0x00007f59702b4000)
        libgnome-keyring.so.0 => /lib64/libgnome-keyring.so.0
(0x00007f597008f000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f596fe73000)
        libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f596faf5000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f596f7f5000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f596f5de000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f596f3c1000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f596f00e000)
        libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0
(0x00007f596ee01000)
        libX11.so.6 => /lib64/libX11.so.6 (0x00007f596eac4000)
        libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007f596e8be000)
        libatk-1.0.so.0 => /lib64/libatk-1.0.so.0 (0x00007f596e698000)
        libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0
(0x00007f596e494000)
        libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0
(0x00007f596e27f000)
        libfontconfig.so.1 => /lib64/libfontconfig.so.1
(0x00007f596e03b000)
        libXrender.so.1 => /lib64/libXrender.so.1 (0x00007f596de31000)
        libXinerama.so.1 => /lib64/libXinerama.so.1 (0x00007f596dc2e000)
        libXi.so.6 => /lib64/libXi.so.6 (0x00007f596da1e000)
        libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007f596d813000)
        libXcursor.so.1 => /lib64/libXcursor.so.1 (0x00007f596d608000)
        libXcomposite.so.1 => /lib64/libXcomposite.so.1
(0x00007f596d405000)
        libXdamage.so.1 => /lib64/libXdamage.so.1 (0x00007f596d202000)
        libXext.so.6 => /lib64/libXext.so.6 (0x00007f596cff0000)
        libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007f596cd4a000)
        libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f596caac000)
        libEGL.so.1 => /usr/lib64/nvidia340/libEGL.so.1
(0x00007f596c7a3000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f596c59f000)
        libpng16.so.16 => /lib64/libpng16.so.16 (0x00007f596c343000)
        libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f596c140000)
        libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f596bf1a000)
        libxcb-render.so.0 => /lib64/libxcb-render.so.0
(0x00007f596bd0d000)
        libGL.so.1 => /usr/lib64/nvidia340/libGL.so.1 (0x00007f596b9c1000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f596b7b9000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f596b5a0000)
        libmount.so.1 => /lib64/libmount.so.1 (0x00007f596b359000)
        libthai.so.0 => /lib64/libthai.so.0 (0x00007f596b14f000)
        libffi.so.6 => /lib64/libffi.so.6 (0x00007f596af46000)
        libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f596acd4000)
        libgpgme.so.11 => /lib64/libgpgme.so.11 (0x00007f596aa8f000)
        libp11-kit.so.0 => /lib64/libp11-kit.so.0 (0x00007f596a82c000)
        libunistring.so.2 => /lib64/libunistring.so.2 (0x00007f596a4bb000)
        libtasn1.so.6 => /lib64/libtasn1.so.6 (0x00007f596a2a8000)
        libnettle.so.6 => /lib64/libnettle.so.6 (0x00007f596a071000)
        libhogweed.so.4 => /lib64/libhogweed.so.4 (0x00007f5969e3d000)
        libgmp.so.10 => /lib64/libgmp.so.10 (0x00007f5969bc5000)
        libintl.so.8 => /lib64/libintl.so.8 (0x00007f59699ba000)
        libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007f596976a000)
        libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007f5969459000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f597281d000)
        libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007f59691f5000)
        libxml2.so.2 => /lib64/libxml2.so.2 (0x00007f5968e8c000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f5968c7c000)
        libnvidia-glsi.so.340.102 => /usr/lib64/nvidia340/libnvidia-
glsi.so.340.102 (0x00007f59689f4000)
        libXau.so.6 => /lib64/libXau.so.6 (0x00007f59687f0000)
        libXdmcp.so.6 => /lib64/libXdmcp.so.6 (0x00007f59685ea000)
        libnvidia-tls.so.340.102 => /usr/lib64/nvidia340/tls/libnvidia-
tls.so.340.102 (0x00007f59683e7000)
        libnvidia-glcore.so.340.102 => /usr/lib64/nvidia340/libnvidia-
glcore.so.340.102 (0x00007f59657d3000)
        libblkid.so.1 => /lib64/libblkid.so.1 (0x00007f5965593000)
        libdatrie.so.1 => /lib64/libdatrie.so.1 (0x00007f596538b000)
        libassuan.so.0 => /lib64/libassuan.so.0 (0x00007f5965178000)
        libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007f5964f65000)
        libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f597297b000)
        libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007f5964d39000)
        liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f5964b04000)
        libbsd.so.0 => /lib64/libbsd.so.0 (0x00007f59648ef000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f59646ea000)

> Second, what desktop environment?  I

   64-bit KDE Plasma5 on Mageia-6

 Regards,
--
/\/\aurice
       


_______________________________________________
Pan-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/pan-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Size of Toolbar icons; canot read 'tooltips' text

Maurice Batey-2
In reply to this post by Maurice Batey-2
On Sat, 29 Jul 2017 12:00:45 +0000, I wrote:

> making the 'tooltip' text readable


OK - have fiddled around in System Settings/Colour, and chose the Zion
box, which - in Pan - shows the text white on a black background, so now
easy to read.

Not found anything yet that changes the size of the Pan icons, but is not
much of a problem.


--
/\/\aurice


_______________________________________________
Pan-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/pan-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Size of Toolbar icons; canot read 'tooltips' text

Duncan-42
In reply to this post by Duncan-42
Detlef Graef posted on Mon, 31 Jul 2017 21:56:25 +0200 as excerpted:

> Hi,
>
> Am 30.07.2017 um 05:24 schrieb Duncan:
>
>> Duncan posted on Sun, 30 Jul 2017 00:20:27 +0000 as excerpted:
>
> [...]
>
> You are using Pan 0.143:
>
> User-Agent: Pan/0.143 (Quaint little villages here and there; b4329315c)
>
> Are you using secure connections? Do you noticed any issues?

Unfortunately, no secure connections (yet).

My "bread and butter" use of pan is for gmane for my mailing lists such
as this one as newsgroups, which last I checked was no longer doing TLS
connections after the ownership transfer, so I had to reset gmane to
unencrypted. =:^(

But hey, I'm happy gmane's still up at all. =:^)  For awhile it didn't
look like it would be, and given that the fancy plans the new owners
posted to their blog haven't seen any updates in nearing a year now, it
still seems a bit abandoned, much like pan was for several years, so who
knows what the longer term will bring?

Meanwhile, I do have a "proper" paid NSP block account, a 1 TB block I
purchased with astraweb some years ago knowing that given the rareness of
my binary usage, it could well last me a lifetime, but my usage there is
just that, rare, and I've not touched it since the upgrade.

But I do have Petr's note requesting testing after the updated tls code
went in saved (marked unread, gmane is set unexpiring and my pan text
instance usage is a bit over a gig of cache with a 5 gig cache set, on a
dedicated btrfs raid1, 5 gig per device, so it shouldn't be going
anywhere), and if I happen to use the astraweb account for anything
anytime soon, it was my intention to test and reply there, tho it could
of course be here instead, now.

--
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


_______________________________________________
Pan-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/pan-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Size of Toolbar icons; canot read 'tooltips' text

Petr Kovar-2
On Mon, 31 Jul 2017 23:20:17 +0000 (UTC)
Duncan <[hidden email]> wrote:

> Detlef Graef posted on Mon, 31 Jul 2017 21:56:25 +0200 as excerpted:
>
> > Hi,
> >
> > Am 30.07.2017 um 05:24 schrieb Duncan:
> >
> >> Duncan posted on Sun, 30 Jul 2017 00:20:27 +0000 as excerpted:
> >
> > [...]
> >
> > You are using Pan 0.143:
> >
> > User-Agent: Pan/0.143 (Quaint little villages here and there; b4329315c)
> >
> > Are you using secure connections? Do you noticed any issues?
>
> Unfortunately, no secure connections (yet).
>
> My "bread and butter" use of pan is for gmane for my mailing lists such
> as this one as newsgroups, which last I checked was no longer doing TLS
> connections after the ownership transfer, so I had to reset gmane to
> unencrypted. =:^(

Duncan, gmane via port 563 works fine here for me, try it on your side.
Maybe they just reintroduced that feature?

> But hey, I'm happy gmane's still up at all. =:^)

Same here!

Cheers,
pk

_______________________________________________
Pan-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/pan-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

TLS on gmane Was: Size of Toolbar icons; canot read 'tooltips' text

Duncan-42
Petr Kovar posted on Fri, 04 Aug 2017 22:35:50 +0200 as excerpted:

> On Mon, 31 Jul 2017 23:20:17 +0000 (UTC)
> Duncan
> <[hidden email]>
> wrote:
>
>> Detlef Graef posted on Mon, 31 Jul 2017 21:56:25 +0200 as excerpted:
>>
>> > Am 30.07.2017 um 05:24 schrieb Duncan [quote killed]
>> >
>> > You are using Pan 0.143:
>> >
>> > User-Agent: Pan/0.143 (Quaint little villages here and there;
>> > b4329315c)
>> >
>> > Are you using secure connections? Do you noticed any issues?
>>
>> Unfortunately, no secure connections (yet).
>>
>> My "bread and butter" use of pan is for gmane [...] which last I
>> checked was no longer doing TLS connections after the ownership
>> transfer, so I had to reset gmane to unencrypted. =:^(
>
> Duncan, gmane via port 563 works fine here for me, try it on your side.
> Maybe they just reintroduced that feature?

Thanks for the prod.  I can confirm that 0.143's working with TLS now on
gmane. =:^)

"Last I checked" was actually just a few days after the move, when I got
tired of no gmane updates because TLS apparently /wasn't/ up again yet.

But that has of course been... at guess without checking, about a year
ago now, and obviously some time in there they fixed it. =:^)

So yes, they "just" reintroduced, but "just" is relative, and could
actually have been months ago, for all I know anyway.

Thus as I said, thanks for the prod. It's working now, both with the
"new" gmane code (which might actually be months old by now), and with
the new pan code.  =:^)

--
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


_______________________________________________
Pan-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/pan-users
Loading...