hello, 1.1.5fix1 calls function workAreaButtonRelease with parameter button set to zero, under certain conditions. This causes the input/include popup window to open unexpectedly when scrolling up and down with the wheel, if the cursor happens to be in certain areas. Maybe the lyx team could not repeat the bug when I first notified it, so I am appending a .lyx file with which you may repeat it (at least on a redhat i586 6.2 platform). The way to repeat this annoying bug is to scroll up and down with the wheel with this file (using \wheel_jump 10, for example), but the cursor *must* be on top of the area where the input/include boxes are moving. If the cursor does not fall over the boxes while you are scrolling, the bug will not come out. The bug will not come out if you scroll slowly either. If you debug the program and put a "stop" before it goes ahead and opens the input/insert dialog, you can verify that the value for parameter button is zero. Here is an alternate patch: --- BufferView_pimpl.C.bak Fri Jul 21 18:01:39 2000 +++ BufferView_pimpl.C Fri Jul 21 18:07:06 2000 @@ -729,7 +729,7 @@ void BufferView::Pimpl::workAreaButtonRelease(int x, int y, unsigned int button) { - if (buffer_ == 0 || screen == 0) return; + if (buffer_ == 0 || screen == 0 || button == 0) return; // If we hit an inset, we have the inset coordinates in these // and inset_hit points to the inset. If we do not hit an -- My guess is that this event (button==0) is generated when button release event is generated outside the input/include box but since the screen is moving, by the time it queries which button was released, the cursor is already inside the input/include box. Maybe there is a reason to do something with button==0 on a buttonrelease function. If the lyx team would let me know what it is, I would gladly look for a different patch. saludos, Edscott
#LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 2.16 \textclass book \language default \inputencoding latin1 \fontscheme default \graphics default \paperfontsize 12 \spacing single \papersize letterpaper \paperpackage a4 \use_geometry 0 \use_amsmath 0 \paperorientation portrait \leftmargin 25mm \rightmargin 25mm \secnumdepth 2 \tocdepth 2 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 2 \paperpagestyle default \bullet 0 1 14 -1 \end_bullet \layout LaTeX \layout Standard \begin_inset Include \input{/capitulo_3/3-I.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_3/3-II.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_3/3-III.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_3/3-IV.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_3/3-V.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_3/3-VI.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_3/3-VII.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_3/3-VIII.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_3/3-IX.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_3/3-XI.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_3/3-XII.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_3/3-XIII.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_4/4-I.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_4/4-II.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_4/4-III.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_4/4-IV.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_4/4-V.lyx} \end_inset \layout LaTeX \begin_inset Include \input{/capitulo_4/4-VI.lyx} \end_inset \layout LaTeX \the_end