Re: double/triple clicking (bug 1811)

2005-04-22 Thread Jean-Marc Lasgouttes
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: Juergen I just noticed that has been added by André in order to fix Juergen bug 1797 (which came back now). Maybe Helge's insetbox crash Juergen (which I can reproduce only with xforms) is releated too. I Juergen have reopened bug 1797.

Re: double/triple clicking (bug 1811)

2005-04-22 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: Juergen I just noticed that has been added by André in order to fix Juergen bug 1797 (which came back now). Maybe Helge's insetbox crash Juergen (which I can reproduce only with xforms) is releated too. I Juergen have reopened bug 1797. Does the following patch do

Re: double/triple clicking (bug 1811)

2005-04-22 Thread Georg Baum
Juergen Spitzmueller wrote: *Sigh* I just did exactly the same fix here. Just compiling ... Me too, but my version is a bit more complicated. Really bad timing :-( Georg

Re: double/triple clicking (bug 1811)

2005-04-22 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Juergen Spitzmueller wrote: *Sigh* I just did exactly the same fix here. Just compiling ... Georg Me too, but my version is a bit more complicated. Really bad Georg timing :-( It means it is a good patch ;) JMarc

Re: double/triple clicking (bug 1811)

2005-04-22 Thread Juergen Spitzmueller
Georg Baum wrote: *Sigh* I just did exactly the same fix here. Just compiling ... Me too, but my version is a bit more complicated. Really bad timing :-( Indeed. Anyway, Jean-Marc's version works well here, and since it is less complicated, I'd think he should shove it in. Next time we'll

Re: double/triple clicking (bug 1811)

2005-04-22 Thread Jean-Marc Lasgouttes
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: Juergen Georg Baum wrote: *Sigh* I just did exactly the same fix here. Just compiling ... Me too, but my version is a bit more complicated. Really bad timing :-( Juergen Indeed. Anyway, Jean-Marc's version works well here, and

Re: double/triple clicking (bug 1811)

2005-04-22 Thread Georg Baum
Jean-Marc Lasgouttes wrote: Notice I learnt from Georg and have a better one now :) That one works, too. Please commit it before we start to create more versions for such a simple thing ;-) Georg

Re: double/triple clicking (bug 1811)

2005-04-22 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> I just noticed that has been added by André in order to fix Juergen> bug 1797 (which came back now). Maybe Helge's insetbox crash Juergen> (which I can reproduce only with xforms) is releated too. I Juergen> have

Re: double/triple clicking (bug 1811)

2005-04-22 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Juergen> I just noticed that has been added by André in order to fix > Juergen> bug 1797 (which came back now). Maybe Helge's insetbox crash > Juergen> (which I can reproduce only with xforms) is releated too. I > Juergen> have reopened bug 1797. > > Does the

Re: double/triple clicking (bug 1811)

2005-04-22 Thread Georg Baum
Juergen Spitzmueller wrote: > *Sigh* > I just did exactly the same fix here. Just compiling ... Me too, but my version is a bit more complicated. Really bad timing :-( Georg

Re: double/triple clicking (bug 1811)

2005-04-22 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Juergen Spitzmueller wrote: >> *Sigh* I just did exactly the same fix here. Just compiling ... Georg> Me too, but my version is a bit more complicated. Really bad Georg> timing :-( It means it is a good patch ;) JMarc

Re: double/triple clicking (bug 1811)

2005-04-22 Thread Juergen Spitzmueller
Georg Baum wrote: > > *Sigh* > > I just did exactly the same fix here. Just compiling ... > > Me too, but my version is a bit more complicated. Really bad timing :-( Indeed. Anyway, Jean-Marc's version works well here, and since it is less complicated, I'd think he should shove it in. Next time

Re: double/triple clicking (bug 1811)

2005-04-22 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Georg Baum wrote: >> > *Sigh* > I just did exactly the same fix here. Just compiling ... >> >> Me too, but my version is a bit more complicated. Really bad timing >> :-( Juergen> Indeed. Anyway, Jean-Marc's version

Re: double/triple clicking (bug 1811)

2005-04-22 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Notice I learnt from Georg and have a better one now :) That one works, too. Please commit it before we start to create more versions for such a simple thing ;-) Georg

Re: double/triple clicking (bug 1811)

2005-04-21 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: It looks like you did the hardest part. The following patch fixes double/triple clicking for me. Thanks. However, I see a perceptible lag when selecting by double clicking (not with xforms). Could it be related to the lag when selecting by dragging the mouse?

Re: double/triple clicking (bug 1811)

2005-04-21 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: -   case LFUN_MOUSE_DOUBLE: -   case LFUN_MOUSE_TRIPLE: -   cur.undispatched(); -   break; -    I just noticed that has been added by André in order to fix bug 1797 (which came back now). Maybe Helge's insetbox crash (which I

Re: double/triple clicking (bug 1811)

2005-04-21 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > It looks like you did the hardest part. The following patch fixes > double/triple clicking for me. Thanks. > However, I see a perceptible lag when selecting by double clicking > (not with xforms). Could it be related to the lag when selecting by > dragging the

Re: double/triple clicking (bug 1811)

2005-04-21 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > -   case LFUN_MOUSE_DOUBLE: > -   case LFUN_MOUSE_TRIPLE: > -   cur.undispatched(); > -   break; > -    I just noticed that has been added by André in order to fix bug 1797 (which came back now). Maybe Helge's insetbox crash

Re: double/triple clicking (bug 1811)

2005-04-20 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars, OK? yes -- Lgb

Re: double/triple clicking (bug 1811)

2005-04-20 Thread Jean-Marc Lasgouttes
Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: Juergen The attached patch gets the selection back, but it does not Juergen work for insets. Double clicking inside a footnote lets the Juergen cursor jump outside the inset.

Re: double/triple clicking (bug 1811)

2005-04-20 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars, OK? yes -- Lgb

Re: double/triple clicking (bug 1811)

2005-04-20 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> The attached patch gets the selection back, but it does not Juergen> work for insets. Double clicking inside a footnote lets the Juergen> cursor jump

Re: double/triple clicking (bug 1811)

2005-04-19 Thread Jean-Marc Lasgouttes
Juergen == Juergen Spitzmueller [EMAIL PROTECTED] writes: Juergen The attached patch gets the selection back, but it does not Juergen work for insets. Double clicking inside a footnote lets the Juergen cursor jump outside the inset. Triple clicking selects the Juergen line of the owning main

Re: double/triple clicking (bug 1811)

2005-04-19 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> The attached patch gets the selection back, but it does not Juergen> work for insets. Double clicking inside a footnote lets the Juergen> cursor jump outside the inset. Triple clicking selects the Juergen> line of the

double/triple clicking (bug 1811)

2005-04-18 Thread Juergen Spitzmueller
I investigated a bit into why selection with mouse double/triple clicking fails. It seems that the selection is being made but not drawn, because LyXText::drawSelection checks for bv-cursor(), while the selection has been passed to the (local?) cur in dispatch. The attached patch gets the

double/triple clicking (bug 1811)

2005-04-18 Thread Juergen Spitzmueller
I investigated a bit into why selection with mouse double/triple clicking fails. It seems that the selection is being made but not drawn, because LyXText::drawSelection checks for bv->cursor(), while the selection has been passed to the (local?) cur in dispatch. The attached patch gets the