Leo w/ Qt 'looses' focus in the body of each node ...

6 views
Skip to first unread message

VR

unread,
Mar 29, 2011, 7:26:44 AM3/29/11
to leo-editor
Hello Edward,

since you have announced that Tk will be phased out as a GUI for Leo
I've tried to move to Qt ...

'Live URLs' are working well, so a major reason which held me back is
gone. The one thing that is irritating me
now, is that Leo is loosing the focus at the end of the body of a node
where I type. - It always goes back several lines after I switched for
example to the web-browser to copy some content and I have to
explicitely set the focus to the end of the body again.

Am I missing something - or - is this a known issue/ limitation ? - I
have tried it with both
--gui=qt & --gui=qttabs. - No change in behaviour ...

Here is the content from the log pane:

<log1>

Leo Log Window
Leo 4.8 final, build 3752, November 26, 2010
Python 2.7.1, qt version 4.7.1
Windows 6, 1, 7600, 2,
leoID=VR20100603 (in D:\Users\Viktor Ransmayr\.leo)
load dir: D:\Branches\leo-editor\leo\core
global config dir: D:\Branches\leo-editor\leo\config
home dir: D:\Users\Viktor Ransmayr
reading settings in D:\Branches\leo-editor\leo\config\leoSettings.leo
reading settings in D:\Users\Viktor Ransmayr\.leo\myLeoSettings.leo
reading settings in D:\Users\Viktor Ransmayr\Documents\Wl2011.leo

</log1>

Here is the content from 'print plugins info':

<log2>

leo.plugins.contextmenu myLeoSettings.leo
leo.plugins.quicksearch myLeoSettings.leo
leo.plugins.nav_qt myLeoSettings.leo
leo.plugins.leo_to_html myLeoSettings.leo
leo.plugins.maximizeNewWindows myLeoSettings.leo
leo.plugins.plugins_menu myLeoSettings.leo
leo.plugins.mod_scripting myLeoSettings.leo

</log2>

I'm eager to try out any suggestion ...

With kind regards,

VR

Ivanov Dmitriy

unread,
Mar 29, 2011, 8:09:49 AM3/29/11
to leo-editor
> Leo is loosing the focus at the end of the body of a node
> where I type. - It always goes back several lines after I switched for
> example to the web-browser to copy some content and I have to
> explicitely set the focus to the end of the body again.

I am using Qt for a long time. Never had this bug. There is definitely
something with your Qt. Here is my info:

Leo 4.8 final, build 3752, November 26, 2010
Python 2.6.4, qt version 4.7.0
Windows 5, 1, 2600, 2, Service Pack 3

Try to use the same Qt version as me.

HTH, Dmitry

Terry Brown

unread,
Mar 29, 2011, 9:16:53 AM3/29/11
to leo-e...@googlegroups.com
On Tue, 29 Mar 2011 04:26:44 -0700 (PDT)
VR <viktor....@gmail.com> wrote:

> The one thing that is irritating me
> now, is that Leo is loosing the focus at the end of the body of a node
> where I type.

I think I've noticed something like that, if you're adding text at the
end of the body, after focus out and in it's scrolled the bottom down a
few lines so you can't see it, irritating. Will try and pay attention
to details next time I notice it.

Leo Log Window
Leo 4.8 final, build 3752, November 26, 2010

Python 2.6.5, qt version 4.6.2
linux2

(trunk leo)

Cheers -Terry

redla

unread,
Mar 29, 2011, 11:45:09 AM3/29/11
to leo-editor
> I think I've noticed something like that, if you're adding text at the
> end of the body, after focus out and in it's scrolled the bottom down a
> few lines so you can't see it, irritating.  Will try and pay attention
> to details next time I notice it.

That's IMHO unrelated issue and I see that too. Exactly as you wrote:
if you are on the last page in your body pane and already at the
bottom
of the screen, pressing new-line moves the cursor properly on the next
line,
but the text isn't scrolled. So you can type with no problems, only
you
haven't see the text until you scroll explicitly. Yeah, irritating ;-(

What could be important: I see that misbehaviour already for some time
(say two months at least) and it is also in Tk version. So that should
be something more related to Leo core than to the GUI...
KR,
Radim

VR

unread,
Mar 29, 2011, 4:02:49 PM3/29/11
to leo-editor
Hello Radim,
I have several nodes where I experience that behaviour. - It *only*
happens
with --gui= qt or --gui=qttabs but *not* with --gui=tab !

Therefore I stick with my initial statement that it is Qt-related ...

With kind regards,

VR

VR

unread,
Mar 29, 2011, 4:06:34 PM3/29/11
to leo-editor
Hello Dmitriy,
Thanks for your suggestion. - However since I'm using everything
different, i.e. Python version, Qt version and Windows version I do
not
plan to go along that line, but will try to find a pattern with the
nodes
where I experience that behaviour ...

With kind regards,

VR/

VR

unread,
Mar 31, 2011, 5:20:13 AM3/31/11
to leo-editor
Hello Edward,

On 29 Mrz., 13:26, VR <viktor.ransm...@gmail.com> wrote:
> ...
> The one thing that is irritating me now, is that Leo is loosing the focus
> at the end of the body of a node where I type. - It always goes back
> several lines after I switched for example to the web-browser to copy
> some content and I have to explicitely set the focus to the end of the
> body again.

I was able to create a small outline that consistently demonstrates
the
problem in my environement. - I'll send this outline to your gmail-
address.

Thanks in advance for looking into it.

With kind regards,

VR

Edward K. Ream

unread,
May 16, 2011, 2:14:50 PM5/16/11
to leo-editor


On Mar 31, 4:20 am, VR <viktor.ransm...@gmail.com> wrote:

> > The one thing that is irritating me now, is that Leo is loosing the focus
> > at the end of the body of a node where I type.

Is this still happening? I regard such focus problems as high-
priority bugs. And now I'm in bug-fixing mode :-)

Edward

Viktor Ransmayr

unread,
May 16, 2011, 3:45:02 PM5/16/11
to leo-editor
Hello Edward,
Yes, it is still happening once in a while. - I have not really kept
track lately.
- However as soon as it happens again, I'll send you the outline.

With kind regards,

VR

Edward K. Ream

unread,
May 18, 2011, 2:57:04 AM5/18/11
to leo-e...@googlegroups.com
On Mon, May 16, 2011 at 2:45 PM, Viktor Ransmayr
<viktor....@gmail.com> wrote:

> Yes, it is still happening once in a while. - I have not really kept
> track lately.
> - However as soon as it happens again, I'll send you the outline.

The outline is not important information. What is important are the
precise actions you took that caused Leo to lose focus.

Edward

Reply all
Reply to author
Forward
0 new messages