Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-11 Thread Jerry

On Oct 10, 2013, at 12:17 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote:

 Le 10/10/13 01:03, Gwen Barnes a écrit :
 Hi folks,
 
 I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
 instance, with the mouse wheel, or with trackpad gestures, there is
 almost a full second lag before the screen starts to change, and then it
 moves jerkily until it gets to where it's going.  Based on some comments
 I found online, I have found that the lag goes away if I make my LyX
 window tiny -- but then the window is not useful to me.
 
 Any ideas what the problem might be, and things I could try to fix it?
 
 The problem is a weakness in LyX display mechanism: text is drawn several 
 characters at a time, while metrics (measurement of size) is done 
 character-per-character. On windows and linux, it is not a problem, but on a 
 Mac, where fonts use ligatures, it means that the cursor does not appear 
 where it should.
 
 To alleviate that, by default mac builds draws the screen char-by-char too. 
 It works, but it is quite slow...
 You can see what the effect is by adding
 \force_paint_single_char 0
 in the preferences file.
 
 Unfortunately, this situation will not improve in version 2.1.

This is discouraging news. This is a serious and longstanding problem. Thanks 
for the update, J-M.
Jerry

 
 There is a branch that tackles this problem, but it is not ready yet.
 
 JMarc



Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-11 Thread Jerry

On Oct 11, 2013, at 2:28 AM, Jerry lancebo...@qwest.net wrote:

 
 On Oct 10, 2013, at 12:17 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote:
 
 Le 10/10/13 01:03, Gwen Barnes a écrit :
 Hi folks,
 
 I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
 instance, with the mouse wheel, or with trackpad gestures, there is
 almost a full second lag before the screen starts to change, and then it
 moves jerkily until it gets to where it's going.  Based on some comments
 I found online, I have found that the lag goes away if I make my LyX
 window tiny -- but then the window is not useful to me.
 
 Any ideas what the problem might be, and things I could try to fix it?
 
 The problem is a weakness in LyX display mechanism: text is drawn several 
 characters at a time, while metrics (measurement of size) is done 
 character-per-character. On windows and linux, it is not a problem, but on a 
 Mac, where fonts use ligatures, it means that the cursor does not appear 
 where it should.
 
 To alleviate that, by default mac builds draws the screen char-by-char too. 
 It works, but it is quite slow...
 You can see what the effect is by adding
 \force_paint_single_char 0
 in the preferences file.
 
 Unfortunately, this situation will not improve in version 2.1.
 
 This is discouraging news. This is a serious and longstanding problem. Thanks 
 for the update, J-M.
 Jerry

Surely this is a Qt problem since there are many Qt programs that don't have 
this issue. In fact, there are text-related windows in OS X LyX that don't have 
this problem. (Written by a casual bystander, of course.)
Jerry

 
 
 There is a branch that tackles this problem, but it is not ready yet.
 
 JMarc
 



Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-11 Thread Jean-Marc Lasgouttes

11/10/2013 11:33, Jerry:

Surely this is a Qt problem since there are many Qt programs that don't have 
this issue. In fact, there are text-related windows in OS X LyX that don't have 
this problem. (Written by a casual bystander, of course.)


This is definitely a LyX bug. However, this part of the code is not well 
understood by active developers and we have to thank pdv [*] who 
provided an initial implementation of this idea and gave me motivation 
to start this rewrite.


The branch has not landed yet because it did not get substantial 
testing. It is however more or less complete.


JMarc

[*] see the thread here: 
http://comments.gmane.org/gmane.editors.lyx.devel/145311


Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-11 Thread Jerry

On Oct 10, 2013, at 12:17 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote:

 Le 10/10/13 01:03, Gwen Barnes a écrit :
 Hi folks,
 
 I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
 instance, with the mouse wheel, or with trackpad gestures, there is
 almost a full second lag before the screen starts to change, and then it
 moves jerkily until it gets to where it's going.  Based on some comments
 I found online, I have found that the lag goes away if I make my LyX
 window tiny -- but then the window is not useful to me.
 
 Any ideas what the problem might be, and things I could try to fix it?
 
 The problem is a weakness in LyX display mechanism: text is drawn several 
 characters at a time, while metrics (measurement of size) is done 
 character-per-character. On windows and linux, it is not a problem, but on a 
 Mac, where fonts use ligatures, it means that the cursor does not appear 
 where it should.
 
 To alleviate that, by default mac builds draws the screen char-by-char too. 
 It works, but it is quite slow...
 You can see what the effect is by adding
 \force_paint_single_char 0
 in the preferences file.
 
 Unfortunately, this situation will not improve in version 2.1.

This is discouraging news. This is a serious and longstanding problem. Thanks 
for the update, J-M.
Jerry

 
 There is a branch that tackles this problem, but it is not ready yet.
 
 JMarc



Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-11 Thread Jerry

On Oct 11, 2013, at 2:28 AM, Jerry lancebo...@qwest.net wrote:

 
 On Oct 10, 2013, at 12:17 AM, Jean-Marc Lasgouttes lasgout...@lyx.org wrote:
 
 Le 10/10/13 01:03, Gwen Barnes a écrit :
 Hi folks,
 
 I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
 instance, with the mouse wheel, or with trackpad gestures, there is
 almost a full second lag before the screen starts to change, and then it
 moves jerkily until it gets to where it's going.  Based on some comments
 I found online, I have found that the lag goes away if I make my LyX
 window tiny -- but then the window is not useful to me.
 
 Any ideas what the problem might be, and things I could try to fix it?
 
 The problem is a weakness in LyX display mechanism: text is drawn several 
 characters at a time, while metrics (measurement of size) is done 
 character-per-character. On windows and linux, it is not a problem, but on a 
 Mac, where fonts use ligatures, it means that the cursor does not appear 
 where it should.
 
 To alleviate that, by default mac builds draws the screen char-by-char too. 
 It works, but it is quite slow...
 You can see what the effect is by adding
 \force_paint_single_char 0
 in the preferences file.
 
 Unfortunately, this situation will not improve in version 2.1.
 
 This is discouraging news. This is a serious and longstanding problem. Thanks 
 for the update, J-M.
 Jerry

Surely this is a Qt problem since there are many Qt programs that don't have 
this issue. In fact, there are text-related windows in OS X LyX that don't have 
this problem. (Written by a casual bystander, of course.)
Jerry

 
 
 There is a branch that tackles this problem, but it is not ready yet.
 
 JMarc
 



Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-11 Thread Jean-Marc Lasgouttes

11/10/2013 11:33, Jerry:

Surely this is a Qt problem since there are many Qt programs that don't have 
this issue. In fact, there are text-related windows in OS X LyX that don't have 
this problem. (Written by a casual bystander, of course.)


This is definitely a LyX bug. However, this part of the code is not well 
understood by active developers and we have to thank pdv [*] who 
provided an initial implementation of this idea and gave me motivation 
to start this rewrite.


The branch has not landed yet because it did not get substantial 
testing. It is however more or less complete.


JMarc

[*] see the thread here: 
http://comments.gmane.org/gmane.editors.lyx.devel/145311


Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-11 Thread Jerry

On Oct 10, 2013, at 12:17 AM, Jean-Marc Lasgouttes  wrote:

> Le 10/10/13 01:03, Gwen Barnes a écrit :
>> Hi folks,
>> 
>> I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
>> instance, with the mouse wheel, or with trackpad gestures, there is
>> almost a full second lag before the screen starts to change, and then it
>> moves jerkily until it gets to where it's going.  Based on some comments
>> I found online, I have found that the lag goes away if I make my LyX
>> window tiny -- but then the window is not useful to me.
>> 
>> Any ideas what the problem might be, and things I could try to fix it?
> 
> The problem is a weakness in LyX display mechanism: text is drawn several 
> characters at a time, while metrics (measurement of size) is done 
> character-per-character. On windows and linux, it is not a problem, but on a 
> Mac, where fonts use ligatures, it means that the cursor does not appear 
> where it should.
> 
> To alleviate that, by default mac builds draws the screen char-by-char too. 
> It works, but it is quite slow...
> You can see what the effect is by adding
> \force_paint_single_char 0
> in the preferences file.
> 
> Unfortunately, this situation will not improve in version 2.1.

This is discouraging news. This is a serious and longstanding problem. Thanks 
for the update, J-M.
Jerry

> 
> There is a branch that tackles this problem, but it is not ready yet.
> 
> JMarc



Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-11 Thread Jerry

On Oct 11, 2013, at 2:28 AM, Jerry  wrote:

> 
> On Oct 10, 2013, at 12:17 AM, Jean-Marc Lasgouttes  wrote:
> 
>> Le 10/10/13 01:03, Gwen Barnes a écrit :
>>> Hi folks,
>>> 
>>> I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
>>> instance, with the mouse wheel, or with trackpad gestures, there is
>>> almost a full second lag before the screen starts to change, and then it
>>> moves jerkily until it gets to where it's going.  Based on some comments
>>> I found online, I have found that the lag goes away if I make my LyX
>>> window tiny -- but then the window is not useful to me.
>>> 
>>> Any ideas what the problem might be, and things I could try to fix it?
>> 
>> The problem is a weakness in LyX display mechanism: text is drawn several 
>> characters at a time, while metrics (measurement of size) is done 
>> character-per-character. On windows and linux, it is not a problem, but on a 
>> Mac, where fonts use ligatures, it means that the cursor does not appear 
>> where it should.
>> 
>> To alleviate that, by default mac builds draws the screen char-by-char too. 
>> It works, but it is quite slow...
>> You can see what the effect is by adding
>> \force_paint_single_char 0
>> in the preferences file.
>> 
>> Unfortunately, this situation will not improve in version 2.1.
> 
> This is discouraging news. This is a serious and longstanding problem. Thanks 
> for the update, J-M.
> Jerry

Surely this is a Qt problem since there are many Qt programs that don't have 
this issue. In fact, there are text-related windows in OS X LyX that don't have 
this problem. (Written by a casual bystander, of course.)
Jerry

> 
>> 
>> There is a branch that tackles this problem, but it is not ready yet.
>> 
>> JMarc
> 



Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-11 Thread Jean-Marc Lasgouttes

11/10/2013 11:33, Jerry:

Surely this is a Qt problem since there are many Qt programs that don't have 
this issue. In fact, there are text-related windows in OS X LyX that don't have 
this problem. (Written by a casual bystander, of course.)


This is definitely a LyX bug. However, this part of the code is not well 
understood by active developers and we have to thank pdv [*] who 
provided an initial implementation of this idea and gave me motivation 
to start this rewrite.


The branch has not landed yet because it did not get substantial 
testing. It is however more or less complete.


JMarc

[*] see the thread here: 
http://comments.gmane.org/gmane.editors.lyx.devel/145311


Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-10 Thread Jean-Marc Lasgouttes

Le 10/10/13 01:03, Gwen Barnes a écrit :

Hi folks,

I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
instance, with the mouse wheel, or with trackpad gestures, there is
almost a full second lag before the screen starts to change, and then it
moves jerkily until it gets to where it's going.  Based on some comments
I found online, I have found that the lag goes away if I make my LyX
window tiny -- but then the window is not useful to me.

Any ideas what the problem might be, and things I could try to fix it?


The problem is a weakness in LyX display mechanism: text is drawn 
several characters at a time, while metrics (measurement of size) is 
done character-per-character. On windows and linux, it is not a problem, 
but on a Mac, where fonts use ligatures, it means that the cursor does 
not appear where it should.


To alleviate that, by default mac builds draws the screen char-by-char 
too. It works, but it is quite slow...

You can see what the effect is by adding
\force_paint_single_char 0
in the preferences file.

Unfortunately, this situation will not improve in version 2.1.

There is a branch that tackles this problem, but it is not ready yet.

JMarc


Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-10 Thread Jean-Marc Lasgouttes

Le 10/10/13 01:03, Gwen Barnes a écrit :

Hi folks,

I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
instance, with the mouse wheel, or with trackpad gestures, there is
almost a full second lag before the screen starts to change, and then it
moves jerkily until it gets to where it's going.  Based on some comments
I found online, I have found that the lag goes away if I make my LyX
window tiny -- but then the window is not useful to me.

Any ideas what the problem might be, and things I could try to fix it?


The problem is a weakness in LyX display mechanism: text is drawn 
several characters at a time, while metrics (measurement of size) is 
done character-per-character. On windows and linux, it is not a problem, 
but on a Mac, where fonts use ligatures, it means that the cursor does 
not appear where it should.


To alleviate that, by default mac builds draws the screen char-by-char 
too. It works, but it is quite slow...

You can see what the effect is by adding
\force_paint_single_char 0
in the preferences file.

Unfortunately, this situation will not improve in version 2.1.

There is a branch that tackles this problem, but it is not ready yet.

JMarc


Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-10 Thread Jean-Marc Lasgouttes

Le 10/10/13 01:03, Gwen Barnes a écrit :

Hi folks,

I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
instance, with the mouse wheel, or with trackpad gestures, there is
almost a full second lag before the screen starts to change, and then it
moves jerkily until it gets to where it's going.  Based on some comments
I found online, I have found that the lag goes away if I make my LyX
window tiny -- but then the window is not useful to me.

Any ideas what the problem might be, and things I could try to fix it?


The problem is a weakness in LyX display mechanism: text is drawn 
several characters at a time, while metrics (measurement of size) is 
done character-per-character. On windows and linux, it is not a problem, 
but on a Mac, where fonts use ligatures, it means that the cursor does 
not appear where it should.


To alleviate that, by default mac builds draws the screen char-by-char 
too. It works, but it is quite slow...

You can see what the effect is by adding
\force_paint_single_char 0
in the preferences file.

Unfortunately, this situation will not improve in version 2.1.

There is a branch that tackles this problem, but it is not ready yet.

JMarc


LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-09 Thread Gwen Barnes
Hi folks,

I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
instance, with the mouse wheel, or with trackpad gestures, there is almost
a full second lag before the screen starts to change, and then it moves
jerkily until it gets to where it's going.  Based on some comments I found
online, I have found that the lag goes away if I make my LyX window tiny --
but then the window is not useful to me.

Any ideas what the problem might be, and things I could try to fix it?

Thanks.

-Gwen


LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-09 Thread Gwen Barnes
Hi folks,

I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
instance, with the mouse wheel, or with trackpad gestures, there is almost
a full second lag before the screen starts to change, and then it moves
jerkily until it gets to where it's going.  Based on some comments I found
online, I have found that the lag goes away if I make my LyX window tiny --
but then the window is not useful to me.

Any ideas what the problem might be, and things I could try to fix it?

Thanks.

-Gwen


LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-09 Thread Gwen Barnes
Hi folks,

I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
instance, with the mouse wheel, or with trackpad gestures, there is almost
a full second lag before the screen starts to change, and then it moves
jerkily until it gets to where it's going.  Based on some comments I found
online, I have found that the lag goes away if I make my LyX window tiny --
but then the window is not useful to me.

Any ideas what the problem might be, and things I could try to fix it?

Thanks.

-Gwen