Martin Vermeer wrote:

> 
>> 
>> > > What about the other scrollbar bug targeted at 1.4.0? Do you have
>> > an > idea on that? (bug 1923)
>> > 
>> > Please, somebody try. I could imagine that this one is gone too with
>> > this patch.
>> 
>> No luck... bug still there. But only if and as long as there are
>> un-rendered figure previews. Wonder what that says. Angus?
> 
> I posted a backtrace on bugzilla. Here some more details.
> 
> It appears that the call sequence
> 
> BufferView::Pimpl::update
> BufferView::Pimpl::fitCursor
> BufferView::Pimpl::center
> 
> ...which is called as a figure preview has finished rendering, causes the
> view
> to  *go to the cursor location* . Wherever that is; typically at the
> beginning of the document.
> 
> Setting in Preferences "Cursor follows scrollbar" makes the buggy
> behaviour go away. But of course it should work right also with this flag
> unset.
> 
> What to do? The call to center() usually makes sense, only not here. Can
> GraphicsLoader be slotted to update without the fitcursor parameter?

Try it.

Note that André tends to use "Cursor follows scrollbar" so also tends to
forget about the alternative. I tend to rely on him for advice, which
exacerbates the problem ;-)

-- 
Angus

Reply via email to