Re: Scrolling lag in 1.5svn again, more details.

2007-06-04 Thread Helge Hafting
Peter Kümmel wrote: I've applied attached patch which only eats page up/down keys on x11 and fixes the scrollbar scrolling bug. This is a conservative approach. And because we really need more testing until the release it is now in svn (I know, I know, I know,... but somehow this thread must

Re: Scrolling lag in 1.5svn again, more details.

2007-06-04 Thread Helge Hafting
Peter Kümmel wrote: I've applied attached patch which only eats page up/down keys on x11 and fixes the scrollbar scrolling bug. This is a conservative approach. And because we really need more testing until the release it is now in svn (I know, I know, I know,... but somehow this thread must

Re: Scrolling lag in 1.5svn again, more details.

2007-06-03 Thread Peter Kümmel
Dov Feldstern wrote: Peter Kümmel wrote: I've applied attached patch which only eats page up/down keys on x11 and fixes the scrollbar scrolling bug. This is a conservative approach. And because we really need more testing until the release it is now in svn (I know, I know, I know,... but

Re: Scrolling lag in 1.5svn again, more details.

2007-06-03 Thread Peter Kümmel
Dov Feldstern wrote: > Peter Kümmel wrote: >> I've applied attached patch which only eats page up/down keys on x11 >> and fixes the scrollbar scrolling bug. This is a conservative approach. >> >> And because we really need more testing until the release it >> is now in svn (I know, I know, I

Re: Scrolling lag in 1.5svn again, more details.

2007-06-02 Thread Peter Kümmel
I've applied attached patch which only eats page up/down keys on x11 and fixes the scrollbar scrolling bug. This is a conservative approach. And because we really need more testing until the release it is now in svn (I know, I know, I know,... but somehow this thread must find an end, and we

Re: Scrolling lag in 1.5svn again, more details.

2007-06-02 Thread Dov Feldstern
Peter Kümmel wrote: I've applied attached patch which only eats page up/down keys on x11 and fixes the scrollbar scrolling bug. This is a conservative approach. And because we really need more testing until the release it is now in svn (I know, I know, I know,... but somehow this thread must

Re: Scrolling lag in 1.5svn again, more details.

2007-06-02 Thread Peter Kümmel
I've applied attached patch which only eats page up/down keys on x11 and fixes the scrollbar scrolling bug. This is a conservative approach. And because we really need more testing until the release it is now in svn (I know, I know, I know,... but somehow this thread must find an end, and we

Re: Scrolling lag in 1.5svn again, more details.

2007-06-02 Thread Dov Feldstern
Peter Kümmel wrote: I've applied attached patch which only eats page up/down keys on x11 and fixes the scrollbar scrolling bug. This is a conservative approach. And because we really need more testing until the release it is now in svn (I know, I know, I know,... but somehow this thread must

Re: Scrolling lag in 1.5svn again, more details.

2007-06-01 Thread Martin Vermeer
On Thu, May 31, 2007 at 11:22:56PM +0200, Lars Gullik Bjønnes wrote: Peter Kümmel [EMAIL PROTECTED] writes: | Peter Kümmel wrote: | | Or happens the dropping only to auto repeated keys? | | Only auto-repeated keys. | | OK, if you are really sure only auto-repeated keys will be

Re: Scrolling lag in 1.5svn again, more details.

2007-06-01 Thread Martin Vermeer
On Fri, Jun 01, 2007 at 01:44:32PM +0300, Martin Vermeer wrote: On Thu, May 31, 2007 at 11:22:56PM +0200, Lars Gullik Bjønnes wrote: ... | keys, and Martin had a counter-argument, 'word completion': then put my queue of events back in and we can controll the events ourselves. qt does

Re: Scrolling lag in 1.5svn again, more details.

2007-06-01 Thread Martin Vermeer
On Thu, May 31, 2007 at 11:22:56PM +0200, Lars Gullik Bjønnes wrote: > Peter Kümmel <[EMAIL PROTECTED]> writes: > > | Peter Kümmel wrote: > | >> | Or happens the dropping only to auto repeated keys? > | >> > | >> Only auto-repeated keys. > | > > | > OK, if you are really sure only auto-repeated

Re: Scrolling lag in 1.5svn again, more details.

2007-06-01 Thread Martin Vermeer
On Fri, Jun 01, 2007 at 01:44:32PM +0300, Martin Vermeer wrote: > On Thu, May 31, 2007 at 11:22:56PM +0200, Lars Gullik Bjønnes wrote: ... > > | keys, and Martin had a counter-argument, 'word completion': > > > > then put my queue of events back in and we can controll the events > > ourselves.

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread José Matos
On Thursday 24 May 2007 18:17:37 Peter Kümmel wrote: The event_1 patch gives better results on systems with a fast enough graphic card(?) but does not work an older systems. Jose feel free to do what you want. What is the outcome of your email exchange with Helge and Lars on this subject?

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
José Matos wrote: On Thursday 24 May 2007 18:17:37 Peter Kümmel wrote: The event_1 patch gives better results on systems with a fast enough graphic card(?) but does not work an older systems. Jose feel free to do what you want. What is the outcome of your email exchange with Helge and

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread José Matos
On Thursday 31 May 2007 20:35:06 Peter Kümmel wrote: But one patch which at least fixes the pageup/down-key scrolling should go in before RC1. I intend to release RC1 really soon now, so this patch must wait for RC2. Peter -- José Abílio

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Lars Gullik Bjønnes
Peter Kümmel [EMAIL PROTECTED] writes: | José Matos wrote: | On Thursday 24 May 2007 18:17:37 Peter Kümmel wrote: | The event_1 patch gives better results on systems | with a fast enough graphic card(?) but does not work | an older systems. | | Jose feel free to do what you want. | |

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread José Matos
On Thursday 31 May 2007 20:50:54 Lars Gullik Bjønnes wrote: My patch works for all key variants. that is entered through auto-keying. Basically all key events that we failt to handle because auto-repeat is too fast are dropped. What is the drawback then? -- Lgb -- José Abílio

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Lars Gullik Bjønnes wrote: Peter Kümmel [EMAIL PROTECTED] writes: | José Matos wrote: | On Thursday 24 May 2007 18:17:37 Peter Kümmel wrote: | The event_1 patch gives better results on systems | with a fast enough graphic card(?) but does not work | an older systems. | | Jose

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Lars Gullik Bjønnes
José Matos [EMAIL PROTECTED] writes: | On Thursday 31 May 2007 20:50:54 Lars Gullik Bjønnes wrote: | My patch works for all key variants. that is entered through | auto-keying. Basically all key events that we failt to handle because | auto-repeat is too fast are dropped. | | What is the

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Peter Kümmel wrote: And no keys will be dropped? We could also put in your patch, as it is only a problem on Linux. Do you think we could use QApplication::synxX() instead of the X11 call? The Qt code:

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Lars Gullik Bjønnes
Peter Kümmel [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | Peter Kümmel [EMAIL PROTECTED] writes: | | | José Matos wrote: | | On Thursday 24 May 2007 18:17:37 Peter Kümmel wrote: | | The event_1 patch gives better results on systems | | with a fast enough graphic card(?)

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Lars Gullik Bjønnes
Peter Kümmel [EMAIL PROTECTED] writes: | Peter Kümmel wrote: | | And no keys will be dropped? | | We could also put in your patch, as it is only a problem on Linux. | Do you think we could use QApplication::synxX() instead of the X11 | call? | | The Qt code: |

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Lars Gullik Bjønnes wrote: Peter Kümmel [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | Peter Kümmel [EMAIL PROTECTED] writes: | | | José Matos wrote: | | On Thursday 24 May 2007 18:17:37 Peter Kümmel wrote: | | The event_1 patch gives better results on systems | |

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Lars Gullik Bjønnes wrote: Peter Kümmel [EMAIL PROTECTED] writes: | Peter Kümmel wrote: | | And no keys will be dropped? | | We could also put in your patch, as it is only a problem on Linux. | Do you think we could use QApplication::synxX() instead of the X11 | call? | | The

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Lars Gullik Bjønnes
Peter Kümmel [EMAIL PROTECTED] writes: | If you go aab | then the b, might be dropped. I have not tested. | | But sure, quite a few will be dropped. (which is just what we | want if we are too slow to get them in.) | | | What if you have a slow

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Lars Gullik Bjønnes wrote: Peter Kümmel [EMAIL PROTECTED] writes: | If you go aab | then the b, might be dropped. I have not tested. | | But sure, quite a few will be dropped. (which is just what we | want if we are too slow to get them in.)

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Lars Gullik Bjønnes
Peter Kümmel [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | Peter Kümmel [EMAIL PROTECTED] writes: | | | If you go aab | | then the b, might be dropped. I have not tested. | | | | But sure, quite a few will be dropped. (which is just

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Lars Gullik Bjønnes
Peter Kümmel [EMAIL PROTECTED] writes: | Peter Kümmel wrote: | | Or happens the dropping only to auto repeated keys? | | Only auto-repeated keys. | | OK, if you are really sure only auto-repeated keys will be dropped, | I think your patch should go into RC1. | | BUT, I also had a Qt based

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Peter Kümmel wrote: | Or happens the dropping only to auto repeated keys? Only auto-repeated keys. OK, if you are really sure only auto-repeated keys will be dropped, I think your patch should go into RC1. BUT, I also had a Qt based patch which only discards auto repeated keys, and Martin

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Lars Gullik Bjønnes wrote: Peter Kümmel [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | Peter Kümmel [EMAIL PROTECTED] writes: | | | If you go aab | | then the b, might be dropped. I have not tested. | | | | But sure, quite a few

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread José Matos
On Thursday 31 May 2007 22:05:31 Lars Gullik Bjønnes wrote: Yes, quite sure + if (e-isAutoRepeat()) { +  ... + } Could you shove it in, please? -- Lgb -- José Abílio

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Lars Gullik Bjønnes wrote: Peter Kümmel [EMAIL PROTECTED] writes: | Peter Kümmel wrote: | | Or happens the dropping only to auto repeated keys? | | Only auto-repeated keys. | | OK, if you are really sure only auto-repeated keys will be dropped, | I think your patch should go into

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread José Matos
On Thursday 24 May 2007 18:17:37 Peter Kümmel wrote: > The event_1 patch gives better results on systems > with a fast enough graphic card(?) but does not work > an older systems. > > Jose feel free to do what you want. What is the outcome of your email exchange with Helge and Lars on this

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
José Matos wrote: > On Thursday 24 May 2007 18:17:37 Peter Kümmel wrote: >> The event_1 patch gives better results on systems >> with a fast enough graphic card(?) but does not work >> an older systems. >> >> Jose feel free to do what you want. > > What is the outcome of your email exchange

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread José Matos
On Thursday 31 May 2007 20:35:06 Peter Kümmel wrote: > But one patch which at least fixes the pageup/down-key scrolling > should go in before RC1. I intend to release RC1 really soon now, so this patch must wait for RC2. > Peter -- José Abílio

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Lars Gullik Bjønnes
Peter Kümmel <[EMAIL PROTECTED]> writes: | José Matos wrote: | > On Thursday 24 May 2007 18:17:37 Peter Kümmel wrote: | >> The event_1 patch gives better results on systems | >> with a fast enough graphic card(?) but does not work | >> an older systems. | >> | >> Jose feel free to do what you

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread José Matos
On Thursday 31 May 2007 20:50:54 Lars Gullik Bjønnes wrote: > My patch works for all "key" variants. that is entered through > auto-keying. Basically all key events that we failt to handle because > auto-repeat is too fast are dropped. What is the drawback then? > -- > Lgb -- José

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Lars Gullik Bjønnes wrote: > Peter Kümmel <[EMAIL PROTECTED]> writes: > > | José Matos wrote: > | > On Thursday 24 May 2007 18:17:37 Peter Kümmel wrote: > | >> The event_1 patch gives better results on systems > | >> with a fast enough graphic card(?) but does not work > | >> an older systems.

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Lars Gullik Bjønnes
José Matos <[EMAIL PROTECTED]> writes: | On Thursday 31 May 2007 20:50:54 Lars Gullik Bjønnes wrote: | > My patch works for all "key" variants. that is entered through | > auto-keying. Basically all key events that we failt to handle because | > auto-repeat is too fast are dropped. | | What is

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Peter Kümmel wrote: > > And no keys will be dropped? > > We could also put in your patch, as it is only a problem on Linux. > Do you think we could use QApplication::synxX() instead of the X11 > call? The Qt code:

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Lars Gullik Bjønnes
Peter Kümmel <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Peter Kümmel <[EMAIL PROTECTED]> writes: | > | > | José Matos wrote: | > | > On Thursday 24 May 2007 18:17:37 Peter Kümmel wrote: | > | >> The event_1 patch gives better results on systems | > | >> with a fast enough

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Lars Gullik Bjønnes
Peter Kümmel <[EMAIL PROTECTED]> writes: | Peter Kümmel wrote: | > | > And no keys will be dropped? | > | > We could also put in your patch, as it is only a problem on Linux. | > Do you think we could use QApplication::synxX() instead of the X11 | > call? | | The Qt code: |

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Lars Gullik Bjønnes wrote: > Peter Kümmel <[EMAIL PROTECTED]> writes: > > | Lars Gullik Bjønnes wrote: > | > Peter Kümmel <[EMAIL PROTECTED]> writes: > | > > | > | José Matos wrote: > | > | > On Thursday 24 May 2007 18:17:37 Peter Kümmel wrote: > | > | >> The event_1 patch gives better results

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Lars Gullik Bjønnes wrote: > Peter Kümmel <[EMAIL PROTECTED]> writes: > > | Peter Kümmel wrote: > | > > | > And no keys will be dropped? > | > > | > We could also put in your patch, as it is only a problem on Linux. > | > Do you think we could use QApplication::synxX() instead of the X11 > | >

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Lars Gullik Bjønnes
Peter Kümmel <[EMAIL PROTECTED]> writes: | > If you go aab | > then the b, might be dropped. I have not tested. | > | > But sure, quite a few will be dropped. (which is just what we | > want if we are too slow to get them in.) | > | | What if you have

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Lars Gullik Bjønnes wrote: > Peter Kümmel <[EMAIL PROTECTED]> writes: > > | > If you go aab > | > then the b, might be dropped. I have not tested. > | > > | > But sure, quite a few will be dropped. (which is just what we > | > want if we are too slow to

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Lars Gullik Bjønnes
Peter Kümmel <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Peter Kümmel <[EMAIL PROTECTED]> writes: | > | > | > If you go aab | > | > then the b, might be dropped. I have not tested. | > | > | > | > But sure, quite a few will be dropped.

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Lars Gullik Bjønnes
Peter Kümmel <[EMAIL PROTECTED]> writes: | Peter Kümmel wrote: | >> | Or happens the dropping only to auto repeated keys? | >> | >> Only auto-repeated keys. | > | > OK, if you are really sure only auto-repeated keys will be dropped, | > I think your patch should go into RC1. | | BUT, I also had

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Peter Kümmel wrote: >> | Or happens the dropping only to auto repeated keys? >> >> Only auto-repeated keys. > > OK, if you are really sure only auto-repeated keys will be dropped, > I think your patch should go into RC1. BUT, I also had a Qt based patch which only discards auto repeated keys,

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Lars Gullik Bjønnes wrote: > Peter Kümmel <[EMAIL PROTECTED]> writes: > > | Lars Gullik Bjønnes wrote: > | > Peter Kümmel <[EMAIL PROTECTED]> writes: > | > > | > | > If you go aab > | > | > then the b, might be dropped. I have not tested. > | > | > > | > | >

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread José Matos
On Thursday 31 May 2007 22:05:31 Lars Gullik Bjønnes wrote: > Yes, quite sure > > + if (e->isAutoRepeat()) { > +  ... > + } Could you shove it in, please? > -- > Lgb -- José Abílio

Re: Scrolling lag in 1.5svn again, more details.

2007-05-31 Thread Peter Kümmel
Lars Gullik Bjønnes wrote: > Peter Kümmel <[EMAIL PROTECTED]> writes: > > | Peter Kümmel wrote: > | >> | Or happens the dropping only to auto repeated keys? > | >> > | >> Only auto-repeated keys. > | > > | > OK, if you are really sure only auto-repeated keys will be dropped, > | > I think your

Re: Scrolling lag in 1.5svn again, more details.

2007-05-24 Thread Peter Kümmel
No ideas any more--also the last patch does not work (Helge's private reply). I've reverted the first patch, http://www.lyx.org/trac/changeset/18376 because it introduces this bug, http://marc.info/?l=lyx-develm=117944188219722w=2 detected by Dov. The event_1 patch gives better results on

Re: Scrolling lag in 1.5svn again, more details.

2007-05-24 Thread Peter Kümmel
No ideas any more--also the last patch does not work (Helge's private reply). I've reverted the first patch, http://www.lyx.org/trac/changeset/18376 because it introduces this bug, http://marc.info/?l=lyx-devel=117944188219722=2 detected by Dov. The event_1 patch gives better results on systems

Re: Scrolling lag in 1.5svn again, more details.

2007-05-23 Thread Helge Hafting
Dov Feldstern wrote: Peter Kümmel wrote: I'm running out of ideas... Is this patch better (the flush call is new)? Or with processEvents instead of flush? event_2.patch works for me --- but then again event_1 did, too. Again, this is on linux. Scrolling appears to be fine (both with arrow

Re: Scrolling lag in 1.5svn again, more details.

2007-05-23 Thread Andre Poenitz
On Wed, May 23, 2007 at 12:13:16PM +0200, Helge Hafting wrote: Dov Feldstern wrote: Peter Kümmel wrote: I'm running out of ideas... Is this patch better (the flush call is new)? Or with processEvents instead of flush? event_2.patch works for me --- but then again event_1 did, too.

Re: Scrolling lag in 1.5svn again, more details.

2007-05-23 Thread Helge Hafting
Dov Feldstern wrote: Peter Kümmel wrote: I'm running out of ideas... Is this patch better (the flush call is new)? Or with processEvents instead of flush? event_2.patch works for me --- but then again event_1 did, too. Again, this is on linux. Scrolling appears to be fine (both with arrow

Re: Scrolling lag in 1.5svn again, more details.

2007-05-23 Thread Andre Poenitz
On Wed, May 23, 2007 at 12:13:16PM +0200, Helge Hafting wrote: > Dov Feldstern wrote: > >Peter Kümmel wrote: > >> > >>I'm running out of ideas... > >>Is this patch better (the flush call is new)? > >>Or with processEvents instead of flush? > >> > > > >event_2.patch works for me --- but then again

Re: Scrolling lag in 1.5svn again, more details.

2007-05-22 Thread Peter Kümmel
Dov Feldstern wrote: Peter Kümmel wrote: I'm running out of ideas... Is this patch better (the flush call is new)? Or with processEvents instead of flush? event_2.patch works for me --- but then again event_1 did, too. Again, this is on linux. Scrolling appears to be fine (both with

Re: Scrolling lag in 1.5svn again, more details.

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 7:26:37 pm Peter Kümmel wrote: The current svn code is not correct, even when this patch isn't perfect, should I apply it? Could you get more people to test it, please? This is a sensitive area, just like walking on thin glass. :-) If by Friday you don't have any

Re: Scrolling lag in 1.5svn again, more details.

2007-05-22 Thread Peter Kümmel
José Matos wrote: On Tuesday 22 May 2007 7:26:37 pm Peter Kümmel wrote: The current svn code is not correct, even when this patch isn't perfect, should I apply it? Could you get more people to test it, please? This is a sensitive area, just like walking on thin glass. :-) If by

Re: Scrolling lag in 1.5svn again, more details.

2007-05-22 Thread Peter Kümmel
Dov Feldstern wrote: > Peter Kümmel wrote: >> >> I'm running out of ideas... >> Is this patch better (the flush call is new)? >> Or with processEvents instead of flush? >> > > event_2.patch works for me --- but then again event_1 did, too. Again, > this is on linux. Scrolling appears to be fine

Re: Scrolling lag in 1.5svn again, more details.

2007-05-22 Thread José Matos
On Tuesday 22 May 2007 7:26:37 pm Peter Kümmel wrote: > The current svn code is not correct, even when this patch isn't perfect, > should I apply it? Could you get more people to test it, please? This is a sensitive area, just like walking on thin glass. :-) If by Friday you don't have

Re: Scrolling lag in 1.5svn again, more details.

2007-05-22 Thread Peter Kümmel
José Matos wrote: > On Tuesday 22 May 2007 7:26:37 pm Peter Kümmel wrote: >> The current svn code is not correct, even when this patch isn't perfect, >> should I apply it? > > Could you get more people to test it, please? > > This is a sensitive area, just like walking on thin glass. :-) >

Re: Scrolling lag in 1.5svn again, more details.

2007-05-21 Thread Abdelrazak Younes
Martin Vermeer wrote: On Sun, May 20, 2007 at 07:08:59PM +0200, Peter Kümmel wrote: Abdelrazak Younes wrote: ... OK, I've found a better solution ;) I had to test if it was worth to upgrade to 1GB ram. I can understand that. I was thinking of collecting the scroll events and cancelling

Re: Scrolling lag in 1.5svn again, more details.

2007-05-21 Thread Helge Hafting
Peter Kümmel wrote: Abdelrazak Younes wrote: Is this your only comment? Yes. Sorry, don't have the time to do much more. I thought I'd share my opinion ;-) Sorry, too - for my harsh reply. Anyway I don't think there is a simpler solution, at least I will not look for it,

Re: Scrolling lag in 1.5svn again, more details.

2007-05-21 Thread Koji Yokota
Abdelrazak Younes wrote: Martin Vermeer wrote: BTW what do you mean by 'input methods? Here I have a choice of virtual keyboard and handwriting recognition. How is that relevant? Input methods are used in the CJK world to help the writing. The technique is very similar to autocompletion

Re: Scrolling lag in 1.5svn again, more details.

2007-05-21 Thread Peter Kümmel
Helge Hafting wrote: Peter Kümmel wrote: Abdelrazak Younes wrote: Is this your only comment? Yes. Sorry, don't have the time to do much more. I thought I'd share my opinion ;-) Sorry, too - for my harsh reply. Anyway I don't think there is a simpler solution, at least

Re: Scrolling lag in 1.5svn again, more details.

2007-05-21 Thread Peter Kümmel
Helge Hafting wrote: Peter Kümmel wrote: Abdelrazak Younes wrote: Is this your only comment? Yes. Sorry, don't have the time to do much more. I thought I'd share my opinion ;-) Sorry, too - for my harsh reply. Anyway I don't think there is a simpler solution, at least

Re: Scrolling lag in 1.5svn again, more details.

2007-05-21 Thread Dov Feldstern
Peter Kümmel wrote: I'm running out of ideas... Is this patch better (the flush call is new)? Or with processEvents instead of flush? event_2.patch works for me --- but then again event_1 did, too. Again, this is on linux. Scrolling appears to be fine (both with arrow keys and page-up and

Re: Scrolling lag in 1.5svn again, more details.

2007-05-21 Thread Abdelrazak Younes
Martin Vermeer wrote: On Sun, May 20, 2007 at 07:08:59PM +0200, Peter Kümmel wrote: Abdelrazak Younes wrote: ... OK, I've found a better solution ;) I had to test if it was worth to upgrade to 1GB ram. I can understand that. I was thinking of collecting the scroll events and cancelling

Re: Scrolling lag in 1.5svn again, more details.

2007-05-21 Thread Helge Hafting
Peter Kümmel wrote: Abdelrazak Younes wrote: Is this your only comment? Yes. Sorry, don't have the time to do much more. I thought I'd share my opinion ;-) Sorry, too - for my harsh reply. Anyway I don't think there is a simpler solution, at least I will not look for it,

Re: Scrolling lag in 1.5svn again, more details.

2007-05-21 Thread Koji Yokota
Abdelrazak Younes wrote: Martin Vermeer wrote: BTW what do you mean by 'input methods? Here I have a choice of virtual keyboard and handwriting recognition. How is that relevant? Input methods are used in the CJK world to help the writing. The technique is very similar to autocompletion

Re: Scrolling lag in 1.5svn again, more details.

2007-05-21 Thread Peter Kümmel
Helge Hafting wrote: > Peter Kümmel wrote: >> Abdelrazak Younes wrote: >> Is this your only comment? >>> Yes. Sorry, don't have the time to do much more. I thought I'd share my >>> opinion ;-) >>> >> >> Sorry, too - for my harsh reply. >> >> Anyway I don't think

Re: Scrolling lag in 1.5svn again, more details.

2007-05-21 Thread Peter Kümmel
Helge Hafting wrote: > Peter Kümmel wrote: >> Abdelrazak Younes wrote: >> Is this your only comment? >>> Yes. Sorry, don't have the time to do much more. I thought I'd share my >>> opinion ;-) >>> >> >> Sorry, too - for my harsh reply. >> >> Anyway I don't think

Re: Scrolling lag in 1.5svn again, more details.

2007-05-21 Thread Dov Feldstern
Peter Kümmel wrote: I'm running out of ideas... Is this patch better (the flush call is new)? Or with processEvents instead of flush? event_2.patch works for me --- but then again event_1 did, too. Again, this is on linux. Scrolling appears to be fine (both with arrow keys and page-up and

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: Peter Kümmel wrote: Next try. To see how it works change the event_delay_ms variable in the constructor to 3000 and use -dbg 12. This looks way too complicated Peter. There must be a simpler solution. Abdel. Is this your only comment? Yes.

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Peter Kümmel
Abdelrazak Younes wrote: Is this your only comment? Yes. Sorry, don't have the time to do much more. I thought I'd share my opinion ;-) Sorry, too - for my harsh reply. Anyway I don't think there is a simpler solution, at least I will not look for it, this bug has cost me already too

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Peter Kümmel
Dov Feldstern wrote: Peter Kümmel wrote: On slow/loaded systems the last patch floods the event queue with timer events instead of key/scroll events. I hope attached patch will now really fix the problem. Peter This works for me (timer_scroll_4.patch) --- at least for what I'm testing,

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Dov Feldstern
Peter Kümmel wrote: Dov Feldstern wrote: Peter Kümmel wrote: On slow/loaded systems the last patch floods the event queue with timer events instead of key/scroll events. I hope attached patch will now really fix the problem. Peter This works for me (timer_scroll_4.patch) --- at least for

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Martin Vermeer
On Sun, May 20, 2007 at 07:08:59PM +0200, Peter Kümmel wrote: Abdelrazak Younes wrote: ... OK, I've found a better solution ;) I had to test if it was worth to upgrade to 1GB ram. I can understand that. I was thinking of collecting the scroll events and cancelling them if a scroll

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Abdelrazak Younes
Peter Kümmel wrote: Abdelrazak Younes wrote: Peter Kümmel wrote: Next try. To see how it works change the event_delay_ms variable in the constructor to 3000 and use -dbg 12. This looks way too complicated Peter. There must be a simpler solution. Abdel. Is this your only comment? Yes.

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Peter Kümmel
Abdelrazak Younes wrote: >> Is this your only comment? > > Yes. Sorry, don't have the time to do much more. I thought I'd share my > opinion ;-) Sorry, too - for my harsh reply. > >> >> Anyway I don't think there is a simpler solution, at least I will >> not look for it, this bug has cost me

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Peter Kümmel
Dov Feldstern wrote: > Peter Kümmel wrote: >> >> On slow/loaded systems the last patch floods the >> event queue with timer events instead of key/scroll events. >> I hope attached patch will now really fix the problem. >> >> Peter >> > > This works for me (timer_scroll_4.patch) --- at least for

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Dov Feldstern
Peter Kümmel wrote: Dov Feldstern wrote: Peter Kümmel wrote: On slow/loaded systems the last patch floods the event queue with timer events instead of key/scroll events. I hope attached patch will now really fix the problem. Peter This works for me (timer_scroll_4.patch) --- at least for

Re: Scrolling lag in 1.5svn again, more details.

2007-05-20 Thread Martin Vermeer
On Sun, May 20, 2007 at 07:08:59PM +0200, Peter Kümmel wrote: > Abdelrazak Younes wrote: ... > OK, I've found a better solution ;) > I had to test if it was worth to upgrade to 1GB ram. > > > > > I can understand that. I was thinking of collecting the scroll events > > and cancelling them if

Re: Scrolling lag in 1.5svn again, more details.

2007-05-19 Thread Andre Poenitz
On Fri, May 18, 2007 at 08:12:33AM +0200, Peter Kümmel wrote: I also realized this while working on this bug. So I dropped my first patches and now use isAutoRepeated in the committed patch, by this a keystroke produced by a user will never get lost. All typed keystrokes are in the event queue

Re: Scrolling lag in 1.5svn again, more details.

2007-05-19 Thread Andre Poenitz
On Fri, May 18, 2007 at 08:43:12AM +0200, Peter Kümmel wrote: Andre Poenitz wrote: === --- src/frontends/qt4/GuiWorkArea.cpp (revision 18380) +++ src/frontends/qt4/GuiWorkArea.cpp (working copy) @@ -161,7 +161,7 @@

Re: Scrolling lag in 1.5svn again, more details.

2007-05-19 Thread Peter Kümmel
Andre Poenitz wrote: On Fri, May 18, 2007 at 08:12:33AM +0200, Peter Kümmel wrote: I also realized this while working on this bug. So I dropped my first patches and now use isAutoRepeated in the committed patch, by this a keystroke produced by a user will never get lost. All typed keystrokes

Re: Scrolling lag in 1.5svn again, more details.

2007-05-19 Thread Peter Kümmel
Andre Poenitz wrote: On Fri, May 18, 2007 at 08:43:12AM +0200, Peter Kümmel wrote: Andre Poenitz wrote: === --- src/frontends/qt4/GuiWorkArea.cpp (revision 18380) +++ src/frontends/qt4/GuiWorkArea.cpp (working copy) @@

Re: Scrolling lag in 1.5svn again, more details.

2007-05-19 Thread Peter Kümmel
Next try. To see how it works change the event_delay_ms variable in the constructor to 3000 and use -dbg 12. Please test if scrolling works when - moving the slider with the mouse - clicking in the scroll bar - pressing page up/down keys - arrow keys - arrow buttons on the scroll bar - using

Re: Scrolling lag in 1.5svn again, more details.

2007-05-19 Thread Peter Kümmel
+#include set not needed will remove it class QWidget; + /// + QTimer delayed_scrollbar_sync; + /// + QTimer delayed_key_event; + struct key_info { QKeySymbol* sym; Qt::KeyboardModifiers mod; }; + std::vectorkey_info delayed_keys; }; Andre, any tips how

Re: Scrolling lag in 1.5svn again, more details.

2007-05-19 Thread Peter Kümmel
Peter Kümmel wrote: Next try. To see how it works change the event_delay_ms variable in the constructor to 3000 and use -dbg 12. Please test if scrolling works when - moving the slider with the mouse - clicking in the scroll bar - pressing page up/down keys - arrow keys - arrow

Re: Scrolling lag in 1.5svn again, more details.

2007-05-19 Thread Andre Poenitz
On Sat, May 19, 2007 at 10:53:39AM +0200, Peter Kümmel wrote: +#include set not needed will remove it class QWidget; + /// + QTimer delayed_scrollbar_sync; + /// + QTimer delayed_key_event; + struct key_info { QKeySymbol* sym; Qt::KeyboardModifiers mod; }; +

Re: Scrolling lag in 1.5svn again, more details.

2007-05-19 Thread Abdelrazak Younes
Peter Kümmel wrote: Next try. To see how it works change the event_delay_ms variable in the constructor to 3000 and use -dbg 12. This looks way too complicated Peter. There must be a simpler solution. Abdel.

Re: Scrolling lag in 1.5svn again, more details.

2007-05-19 Thread Peter Kümmel
Abdelrazak Younes wrote: Peter Kümmel wrote: Next try. To see how it works change the event_delay_ms variable in the constructor to 3000 and use -dbg 12. This looks way too complicated Peter. There must be a simpler solution. Abdel. Is this your only comment? Anyway I don't think

Re: Scrolling lag in 1.5svn again, more details.

2007-05-19 Thread Peter Kümmel
Abdelrazak Younes wrote: Peter Kümmel wrote: Next try. To see how it works change the event_delay_ms variable in the constructor to 3000 and use -dbg 12. This looks way too complicated Peter. There must be a simpler solution. Abdel. You could start with some like the attached patch

Re: Scrolling lag in 1.5svn again, more details.

2007-05-19 Thread Dov Feldstern
Peter Kümmel wrote: Dov Feldstern wrote: The truth is, I don't know that this is directly related to the machine on which it's running. My machine is quite powerful --- it's a Pentium IV 3.0 GHz; and I don't see any jump in the system load when I start scrolling, either: not when I start and

Re: Scrolling lag in 1.5svn again, more details.

2007-05-19 Thread Dov Feldstern
Peter Kümmel wrote: On slow/loaded systems the last patch floods the event queue with timer events instead of key/scroll events. I hope attached patch will now really fix the problem. Peter This works for me (timer_scroll_4.patch) --- at least for what I'm testing, namely, cursor movement

Re: Scrolling lag in 1.5svn again, more details.

2007-05-19 Thread Andre Poenitz
On Fri, May 18, 2007 at 08:12:33AM +0200, Peter Kümmel wrote: > I also realized this while working on this bug. So I dropped my first > patches and now use isAutoRepeated in the committed patch, by this > a keystroke produced by a user will never get lost. > All typed keystrokes are in the event

  1   2   3   >