Re: pre3: cursor misplacement and a cosmetic issue
On 11-Apr-2002 Juergen Spitzmueller wrote: > if (!isOpen()) { > draw_collapsed(pain, baseline, x); > // x += TEXT_TO_INSET_OFFSET; <-- this one! > return; > } > > But don't ask me why I did this ;-) Well I would say "good spoted" x is already set in draw_collapsed to the width of the button + 2 * TEXT_TO_INSET_OFFSET and this has been fixed in InsetCollpsable, but has been forgotten (probably myself) to fix it here too! Will comit soon! Thanks, Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Remember the... the... uhh.
Re: pre3: cursor misplacement and a cosmetic issue
Juergen Vigna wrote: > This is probably because the inset is returning a wrong width. But this > could only be caused by the Painter returning a wrong width for the drawed > button. This is obviously a bug, we have to investigate. Jug, I can fix the cursor placement by commenting out line 570 in insetert.C (InsetERT::draw): if (!isOpen()) { draw_collapsed(pain, baseline, x); // x += TEXT_TO_INSET_OFFSET; <-- this one! return; } But don't ask me why I did this ;-) Juergen.
Re: pre3: cursor misplacement and a cosmetic issue
Juergen Vigna wrote: > On 10-Apr-2002 Juergen Spitzmueller wrote: > > In pre3 (and recent CVS), I get a slightly misplaced cursor after several > > ERT's with space commands ('\,' and '\ '). Testcase and screenshot > > attached. Have a look at the cursor on the word "das". (is this related > > to bug #262?) > > This is probably because the inset is returning a wrong width. But this > could only be caused by the Painter returning a wrong width for the drawed > button. This is obviously a bug, we have to investigate. Yes, *please* investigate, since it can be really annoying. If you want to have fun: open the attached document and try to delete the first letter in the word "linguistisch" Juergen. #LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 220 \textclass article \language german \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language german \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard Das zu kritisierende Sprach \begin_inset ERT status Collapsed \layout Standard "" \end_inset (gebrauchs) \begin_inset ERT status Collapsed \layout Standard "" \end_inset phänomen muss linguistisch exakt erfasst werden. \the_end
Re: pre3: cursor misplacement and a cosmetic issue
Juergen Spitzmueller wrote: > A small thing: after "make install", the splash screen disappears *very* > fast (no change to have a look at it) (this is note the case if I start lyx > from the source after "make"). Forget it. This is caused by KDE (when you start lyx from a desktop icon and the mouse pointer is over the lyx window, the splash screen disappears). Juergen.
RE: pre3: cursor misplacement and a cosmetic issue
On 10-Apr-2002 Juergen Spitzmueller wrote: > In pre3 (and recent CVS), I get a slightly misplaced cursor after several > ERT's with space commands ('\,' and '\ '). Testcase and screenshot attached. > Have a look at the cursor on the word "das". (is this related to bug #262?) This is probably because the inset is returning a wrong width. But this could only be caused by the Painter returning a wrong width for the drawed button. This is obviously a bug, we have to investigate. Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Laughter is the closest distance between two people. -- Victor Borge
pre3: cursor misplacement and a cosmetic issue
In pre3 (and recent CVS), I get a slightly misplaced cursor after several ERT's with space commands ('\,' and '\ '). Testcase and screenshot attached. Have a look at the cursor on the word "das". (is this related to bug #262?) A small thing: after "make install", the splash screen disappears *very* fast (no change to have a look at it) (this is note the case if I start lyx from the source after "make"). Juergen. cursor.png Description: PNG image #LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 220 \textclass article \language german \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language german \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard u. \begin_inset ERT status Collapsed \layout Standard \backslash , \end_inset a. \begin_inset ERT status Collapsed \layout Standard \backslash \end_inset das \the_end