You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2016/03/01 00:23:07 UTC

[Issue 126689] Bizarre font size input filter behavior

https://bz.apache.org/ooo/show_bug.cgi?id=126689

--- Comment #3 from Ayush Jha <ay...@live.com> ---
Configuration used for Reproducing the bug: Windows 10 64-bit, 
Apache Open Office Writer Build AOO420m1(Build:9800)  -  Rev. 1692551
Rev.1692551

In addition to what the original report mentions, I tried entering an
Alphanumeric entry for the font size, (screenshots for which are attached to
this comment) namely '8k', and the Program rightly truncated the text so as to
only accept '8'. 

On the other hand, when I entered an entry in the field such that it starts
with a number and ends with a number, BUT has a character in between, it
rightly truncates the string again, so as to include only the
numerical-portion, e.g for '8k9', '89' is entered as the font size, and rightly
so, as the user's accidental keystrokes may get ignored by the program.

When a float number with a large significant value is entered into the font
size field, it simply rounds it off.

Similar to issue #4279(https://bz.apache.org/ooo/show_bug.cgi?id=4279), if You
enter a percentage value in the field, Writer simply removes the '%' and enters
100pts as the font size. This makes it clear that the font size filter only
accepts absolute values.


Also, in my follow-up tests I noticed that Writer does an unexpected
rounding-off when a float number is entered. E.g: When '25.3' is entered in the
font size filter, it is reduced to '25.2', the same is seen for some other
values like '25.8' getting reduced to '25.7'. What makes this all the more
unusual is the fact that it is observed only for certain values in the 10^-1
decimal place, for instance in this case at (3 * 10^-1) and for (8 * 10^-1).

-- 
You are receiving this mail because:
You are the assignee for the issue.