[Libreoffice-bugs] [Bug 144867] New: Regression: Font size selector rounds current configuration to integer in Font property dialogs
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Oct 2 06:35:27 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=144867
Bug ID: 144867
Summary: Regression: Font size selector rounds current
configuration to integer in Font property dialogs
Product: LibreOffice
Version: 7.2.1.2 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: UI
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: sergio.callegari at gmail.com
Description:
In LibO 7.2 dialogs letting you configure the font properties including the
font size do not work properly. This involves the Format->Character dialog and
the Font tab in the Style editor.
This is a regression wrt 7.1.
The issue being presented is the following.
When you open a dialog that should let you configure the font properties this
provides on the right a text field to enter the font size with a scrollable
list of values to pick right on the bottom of it. For instance, this happens
when you pick Format->Character or you open the Font tab in the style editor.
The text field should appear pre-filled with the current font size.
Unfortunately, if the current font size is fractional (e.g., 10.5 is common),
LibO 7.2 will show an integer rounding of it (e.g., 11).
This is clearly just an issue in the font properties *dialog*. The properties
pane to the right will show you the correct font size.
Marked 7.2.1.2 as the first affected version (because it is the one I tried),
but the issue has probably been present from the first 7.2 releases.
See the steps to reproduce for further details.
Note that the issue is being reported with a test case for the paragraph-style
editing, but affects all cases where a font size is to be entered in a window
(apart from the properties pane). For instance you see the same issue with
Format -> Character.
Steps to Reproduce:
1. Open LibO Writer
2. Open the window to edit the default paragraph style (get to it via F11 ->
Default paragraph Style -> Modify)
3. Go to the "Font" tab and from the list pick 10.5 as the font size (this is
an available option)
4. Press OK to close the dialog
5. Open again the window to edit the default paragraph style
6. Go the "Font tab", check what the list shows as the current font size
Alternatively
1. Type some text, select it, open the Format->Character dialog
2. Select 10.5 as the font size and close the dialog
3. Open the dialog again
Actual Results:
The dialog shows 11 as the current font size.
Expected Results:
The dialog should have shown 10.5 as the current font size, because this is
what had been selected (and actually is what is enforced — if you type some
text you see it is 10.5 points in size - you also see this from the properties
pane on the right that works OK).
LibO 7.1 was doing the right thing.
Reproducible: Always
User Profile Reset: No
Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20211002/8c6a117f/attachment.htm>
More information about the Libreoffice-bugs
mailing list