[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hint on Xaw3d scroll bar colors issue [Was: Re: Changes in frame/win

From: martin rudalics
Subject: Re: Hint on Xaw3d scroll bar colors issue [Was: Re: Changes in frame/window code]
Date: Tue, 29 Jul 2014 16:01:12 +0200

> Not sure about Debian. Usually there should be a kind of a debug package.
> On my Fedora 20 system, I have:
> Xaw3d-devel-1.6.2-5.fc20.x86_64
> Xaw3d-1.6.2-5.fc20.x86_64
> Xaw3d-debuginfo-1.6.2-5.fc20.x86_64

I have

xaw3dg     1.5+E-18.2
xaw3dg-dev 1.5+E-18.2

Synaptic doesn't offer any debug package for xaw3d.

> The last one installs Xaw3d sources under /usr/src/debug/libXaw3d-1.6.2,
> and gdb uses them while stepping through source code.

These are obviously absent here.

> Do you use Xaw3d or Xaw? If any, what version?
> If that matters, this is even more interesting debugging session:
> So, vertical scroll bar's Core widget has background pixel 0xbfbfbf.
> Here Core's background pixel is 0xffffff and so colors calculated by
> Xaw3dComputeTopShadowRGB and Xaw3dComputeBottomShadowRGB for top_shadow_pixel
> and bot_shadow_pixel of our new shiny horizontal scroll bar are very
> different from the corresponding colors of vertical scroll bar.
> I can use gdb to set horizontal scroll bar Core's tdw->core.background_pixel
> to 0xbfbfbf and finally see horizontal scroll bar in an expected color.

So there's nothing we even _could_ do here?  Do you have any other
application built with Lucid that has both types of scrollbars?

> BTW, x_default_scroll_bar_color_parameter in xfns.c should take horizontal
> scroll bar into account, isn't it?

Hmmm...  I missed the build_string ("verticalScrollBar") there.  Could
that be the cause?  Can you fix it in any case (if I do it, it would be
yet another exercise in trial and error ...).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]