On Wed, 2006-04-12 at 00:18 +0200, Philippe Charpentier wrote: > Hi, > Under my Fedora Core 5 box, I encounter the following surprising bug > with the qt frontend : if your LANG shell is not English (en_EN for > example) you cannot enter a decimal number in a dialog box!! > Here is two examples: > suppose your LANG shell is fr_FR (the same occurs with de_DE, es_ES, > it_IT...); open lyx (1.4.0 or 1.4.1) and create a new document. > - Try to change the top margin to 2.5 cm; close the dialog box clicking > the OK button and reopen it: the top margin is 2 cm!! > - Insert a vertical space of 1.5 cm and click OK or Apply : you obtain a > 1 cm vertical space!! > > If the LANG is set to en_EN this bug does not appear!! > > I also notice that this bug does not exist with the xforms frontend. > > Is it a qt bug, a lyx bug or a FC5 bug? It does not exist in Fedora Core > 3 or Mandrake 10.1.
Is it a bug at all? Doesn't French use a decimal comma? It seems this behaviour is that of lexical_cast (boost). It should work OK in all locales. - Martin
signature.asc
Description: This is a digitally signed message part