On Tue, Sep 25, 2012 at 7:54 AM, Edward K. Ream <[email protected]> wrote:

> Knowing that the unwanted scroll happens somewhere in the k.keyboardQuit 
> logic is a good start, but now we must find out exactly what is causing the 
> unwanted scroll.

The problem is the call to w.setStyleSheet(s) in
leoQtBody.setEditorColors.  This is called from k.keyboardQuit in
order to set background or border color in the body pane.  When this
call is disabled, the problem goes away.

It's pretty clear why w.setStyleSheet might cause scrolling problems:
stylesheets could affect font size, so scrolling info becomes dubious.
 This might also explain the dependency of the bug on font size.

My initial attempt at saving/restoring scrollbar position in
setEditorColors haven't worked, but I'm pretty sure a fix can be found
soon.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to