On Jun 27, 2006, at 12:06 PM, Abdelrazak Younes wrote:
Just call me Holmes, Abdel Holmes ;-)
Or is that Sherlock Younes?
Here are some performance numbers on Mac for scrolling through the
User's Guide using <page-down>:
trunk (Qt-4.1.3): 2 min, 10 sec (with graphics preview on, first
time through); 1 min, 59 sec (second time through)
But I have merged the branch already You did not svn-update, did you?
No: it was an old build I happened to have available -- from perhaps
1-2 weeks ago.
younes branch (revision 14247, Qt-4.1.3): 48 sec first time; 42
sec second time.
Excellent!
Do you see any side effect WRT screen update or scrollbar slider
position as Lars does?
I should have mentioned. The screen updates fine, but the scrollbar
behaves somewhat strangely. With keyboard scrolling, I get 2 sliders
appearing on screen: one is the slider that was there before I hit
<pagedown> (fully opaque); the other has perhaps 50% opacity and
moves with the cursor position as it should. Releasing <pagedown>
leaves the two sliders on screen, and they remain there (with only
the until partially transparent one active) until the mouse is used
to scroll, and then it scrolls from the position of the fully opaque
slider -- effectively changing where you are in the document. It
seems as though LyX is keeping track of 2 slider positions -- one for
mouse movements, and one for keyboard movements. (Nonetheless, using
the mouse to drag the semi-transparent slider works as expected;
using it to try to drag the fully opaque slider fails: as if that
slider weren't there. That's part of what I mean in saying only the
semi-transparent one is "active".)
younes branch (revision 14247, Qt-4.1.4): 44 sec first time; 39
sec second time.
Deceiving... I was expecting better from this Qt upgrade.
Could you give again your Qt3 numbers please?
1.4.2svn (revision 14247, Qt-3.3): 30 sec. first time; 25 sec. second
time.
trunk (revision 14247, Qt-3.3): 30 sec. first time; 26 sec. second time.
(Are these the numbers you wanted?)
What about typing and mouse scrolling?
Mouse scrolling is slower -- too slow for holding down the down-arrow
on the scroll bar -- probably taking 3 minutes or more to scroll
through the User's Guide. Clicking (and holding) the mouse on the
scrollbar above or below the slider is also a fair bit slower, though
at least part of that is because it doesn't scroll as far in each
jump. That is, <pagedown> scrolls the screen about 1/2-way (which is
too little!); clicking the mouse below the slider scrolls the screen
about 1/3-way.
Another anomaly: clicking and holding the mouse above or below the
slider works only so long as you don't move the mouse (even while
holding the button down continuously). Once the mouse moves even 1
pixel, scrolling stops until you release the mouse button and click
again.
Dragging the slider works pretty well, though there is a noticeable
lag as the slider tries to catch up with even a slowly moving mouse.
Typing seems OK (not great), pretty comparable with 1.4.1. (And
you'll have noticed we're getting complaints on the User's list about
speed on Mac.) 1.4.2 is considerably faster than 1.4.1 because of
font caching and Martin's work with nested insets. I'm not sure if
these patches made it into your branch.
Thanks for the good news!
Thanks for making it possible!
Bennett