Scott Kostyshak wrote:
In 2.1.x, because of a bug in our validator code, we allowed negative
values to be input into some document settings. This bug has been fixed
for 2.2.0dev but what that means is that if you open such a document
with LyX 2.2.0dev, you will not be able to save any changes to document
settings unless you correct the negative values and it is not obvious to
the user that this must be done. I can imagine this causing some
confusion.

For more details, see:
http://www.lyx.org/trac/ticket/10095#comment:2

I'm not sure that we want to do anything for 2.2.0, but I wanted to
check with the list to see the thoughts of others. For example, we could
change the validators in page margins to allow negative values, which
seem to work as intended with LaTeX. Or we could provide a warning when
creating the document settings dialog that explains why the "OK" button
is disabled.

Scott

I would unconditionally allow negative values. They are often used to fix issues with padding that is too large or incorrect bounding boxes in images.

If you suddenly break documents where users relied on negative margins/spacing to fix other problems, you create more problems than you solve.
--
Regards,
Cyrille Artho - http://artho.com/
Those who will not reason, are bigots, those who cannot,
are fools, and those who dare not, are slaves.
                -- George Gordon Noel Byron

Reply via email to