https://bugs.documentfoundation.org/show_bug.cgi?id=153727

--- Comment #43 from YOSHIDA Shigeto <[email protected]> ---
Created attachment 208178
  --> https://bugs.documentfoundation.org/attachment.cgi?id=208178&action=edit
Screenshot on Mac

I would like to report a visual/UX issue with the Calc formula bar (Input line)
on macOS.

I understand from this bug that the Input line is intentionally based on the
OS/DE system font. I have no objection to this design. In fact, I think using a
fixed system/UI font for the formula bar is perfectly reasonable.

However, on macOS, the actual appearance of the text in the Input line seems to
change depending on the font assigned to the currently selected cell.

For example, I created four cells containing the same text, but formatted
respectively with:

Arial
Arial Black
Courier New
Comic Sans MS

When each cell is selected, the text displayed in the formula bar visibly
changes its typeface and character spacing according to the font used by the
cell.

However, when I place the text cursor in the formula bar, the appearance
changes again to what appears to be the actual system/UI font of the Input
line.

In other words, the formula bar appears to behave differently depending on
whether it has the input focus:

Cell selected / Input line not focused:
the appearance seems to be influenced by the selected cell's font

Input line focused:
the appearance changes to the system/UI font

This is particularly noticeable with fonts such as Arial Black, Courier New,
and Comic Sans MS. The resulting typeface and character spacing in the
unfocused Input line look inconsistent and, frankly, rather unattractive.

I do not know exactly what font information is being taken from the selected
cell, or whether LibreOffice is actually applying the cell's font or selecting
a substitute/fallback font based on some font attributes. I am therefore
reluctant to describe the implementation as a definite bug.

Nevertheless, I believe the Input line should have a consistent font regardless
of the font assigned to the selected cell. If the intended design is for the
Input line to use the OS/DE system font, I would expect that font to remain
consistent when different cells are selected.

Expected behavior:
The Input line should use the same system/UI font consistently, regardless of
the font used in the selected cell.

Actual behavior on macOS:
The appearance of the text in the Input line changes when selecting cells with
different fonts, and changes again when the Input line receives focus.

I tested this with LibreOffice 26.2.5 on macOS 15.7.9(Sequoia). On Windows 11,
I do not observe the same visible change; the Input line appears to remain
visually consistent when selecting cells with different fonts.

I only have macOS and Windows available for testing, so I cannot determine
whether this is specific to the macOS implementation.

To be clear, I am not requesting an option to customize the Input line font
here. Whether such an option should exist is a separate issue. My request is
simply that the Input line use a consistent font rather than apparently
inheriting or responding to font information from the selected cell.

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

Reply via email to