Andre Poenitz wrote: [...] > [new lyx file, insert graphics (doesn't matter whether it exists, 'latex > size' to 'custom' and '55%', click ok, click right on the picture. boom.] [..]
there is a bug in UpdateWidgetsFromLength with this ?% units. But this can't be the reason for your crash. Herbert -- http://www.lyx.org/help/
Index: src/frontends/xforms/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ChangeLog,v retrieving revision 1.290 diff -u -r1.290 ChangeLog --- src/frontends/xforms/ChangeLog 2002/02/14 12:31:15 1.290 +++ src/frontends/xforms/ChangeLog 2002/02/14 17:14:59 @@ -1,3 +1,7 @@ +2002-02-14 Herbert Voss <[EMAIL PROTECTED]> + + * xforms_helpers.h: fix bug with "?%" units + 2002-02-14 Rob Lahaye <[EMAIL PROTECTED]> * forms/form_graphics.fd: * form_graphics.C: minor layout changes, such as stretching all Index: src/frontends/xforms/xforms_helpers.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/xforms_helpers.C,v retrieving revision 1.31 diff -u -r1.31 xforms_helpers.C --- src/frontends/xforms/xforms_helpers.C 2002/02/11 18:57:30 1.31 +++ src/frontends/xforms/xforms_helpers.C 2002/02/14 17:14:59 @@ -285,7 +285,8 @@ ostringstream buffer; buffer << len.value(); fl_set_input(input, buffer.str().c_str()); - fl_set_choice_text(choice, stringFromUnit(len.unit())); + fl_set_choice_text(choice, + subst(stringFromUnit(len.unit()),"%","%%").c_str()); } } #endif