Timothy Wall | 18 Mar 2008 02:54
Gravatar

Re: scrollToVisible ?


On Mar 17, 2008, at 6:12 PM, Andrew Nelson wrote:

>>
>> Are your scrollbars visible and enabled?  Is the component moved on
>> scrollRectToVisible?  If the component isn't moved, then the problem
>> is in the component or its hierarchy.
>>
>> If it *is* moved, then something is wrong with reading back its new
>> location.
>
> I can't really check to see if the scrollbars are visible and enabled.
> The only place the test fails is on our build server that runs Xvfb.
> This instance of Xvfb has been up and running forever and I think this
> is the issue. If I start a new instance of Xvfb the test is  
> consistent.
>
> Until I can get this to fail in on a machine or framebuffer that  
> lets me
> view its contents I guess I'll just have to chalk this one up to the  
> bad
> frame buffer instance.
>
> If anyone has any other ideas, let me know.

You might check Sun's bug DB for anything related to Xvfb.  I suppose  
any extant WM after a long time might be positioning windows outside  
the visible area, but I'd expect that to affect more things than just  
scrolling.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Gmane