Bug 159592 - Permanent items in styles dropdown have irregular formatting
Summary: Permanent items in styles dropdown have irregular formatting
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles-Paragraph-Combobox
  Show dependency treegraph
 
Reported: 2024-02-06 09:36 UTC by bintoro
Modified: 2024-11-05 07:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (91.85 KB, image/png)
2024-02-06 09:36 UTC, bintoro
Details
Screenshot of the issue (76.38 KB, image/jpeg)
2024-03-04 11:26 UTC, Naresh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bintoro 2024-02-06 09:36:59 UTC
Created attachment 192424 [details]
Screenshot

The styles dropdown has two permanent items: “Clear formatting” at the top and “More Styles…” at the bottom.

Currently, those two labels are formatted using the last style present in the dropdown, so their appearance fluctuates. They should be formatted consistently, using Default Paragraph Style for “Clear formatting” and the standard UI font for “More Styles…”

Since the items in the dropdown are arranged alphabetically, “Title” is often the last style, resulting in a particularly funky appearance (see attachment).
Comment 1 Naresh 2024-03-04 11:26:44 UTC
Created attachment 192941 [details]
Screenshot of the issue
Comment 2 Naresh 2024-03-04 11:27:30 UTC
I was able to replicate this

Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-IN (en_IN); UI: en-US
Calc: threaded
Comment 3 BogdanB 2024-11-04 18:41:42 UTC
I noticed also that "Clear formatting" and "More styles..." takes the style from the last style in the style list. Should be a default one, not an inherited one.

It happens also on Linux.
Comment 4 BogdanB 2024-11-05 07:23:01 UTC
I forgot to mention that it happen also on master.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 060d2fe39f27ffbb0e843de5031f6806c9abfce8
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded