Opened 20 years ago

Closed 19 years ago

Last modified 15 years ago

#1654 closed defect (fixed)

inserting characters to highlighted matrix rows crashes LyX

Reported by: Uwe Stöhr Owned by: poenitz
Priority: high Milestone:
Component: mathed Version: 1.3.4
Severity: critical Keywords:
Cc:

Description

Rajal Saraswat reported a crash in the lyx-users mailing list:


rajil.saraswat@… wrote:

  1. Start the math panel using Insert->Math->Math Panel
  2. Click on Insert Matrix
  3. choose more than one columns
  4. Close math panel
  5. enter a character in the first element of the matrix.
  6. Press Shift and the right arrow key until you marked the whole row
  7. now enter a character
  8. BOOM............crash..............

My OS i gentoo and i am on a p4 processor, running kde 3.2.3 and QT 3.3.2


I modified his bug report, to make it clearer.

I can also confirm this crash with LyXWin 1.3.3.

As the full row is highlighted, LyX doesn't know where to insert the new
character in the matrix. Because normally if one highlights characters and press
a character key, the highlighted characters are replaced by the new character.
To avoid this, LyX should delete all entries of the row and fill the new
character to the first box of the row.

Change History (9)

comment:1 by poenitz, 20 years ago

Component: mathedrelyx
Keywords: fixedintrunk added
Status: newassigned

works with 1.4.0cvs tex2lyx

comment:2 by poenitz, 20 years ago

fixed in 1.4.0cvs

(forget last comment. this was related to some other bug)

comment:3 by levon, 20 years ago

Keywords: fixedintrunk removed

Not fixed.

comment:4 by levon, 20 years ago

Keywords: fixedintrunk added

gah, wrong bug, please ignore

comment:5 by Georg Baum, 19 years ago

Component: relyxmathed

comment:6 by vox@…, 19 years ago

Not reproducible in CoordBranch

comment:7 by vox@…, 19 years ago

Resolution: fixed
Status: assignedclosed

Not present in HEAD 2005-2-7

comment:8 by Martin, 19 years ago

Subject: lyx-devel src/: ChangeLog CutAndPaste.C

CVSROOT: /usr/local/lyx/cvsroot
Module name: lyx-devel
Repository: lyx-devel/src/
Changes by: vermeer@… 05/04/06 09:38:25

Modified files:

lyx-devel/src/: ChangeLog CutAndPaste.C

Log message:

More precise fix for #1654

Bugs:
#1654

Patches:
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/ChangeLog?r1=1.2146&r2=1.2147
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/CutAndPaste.C?r1=1.149&r2=1.150

Complete Diff:
/usr/bin/cvs -f diff -kk -u -r 1.2146 -r 1.2147 src/ChangeLog
/usr/bin/cvs -f diff -kk -u -r 1.149 -r 1.150 src/CutAndPaste.C

comment:9 by ps@…, 15 years ago

Keywords: fixedintrunk removed
Note: See TracTickets for help on using tickets.