https://bugs.kde.org/show_bug.cgi?id=527323
Bug ID: 527323
Summary: Ordered list markers ("1.", "2.", ...) in the rich
text editor do not follow the configured font,
creating a visual mismatch with list item text.
Classification: Applications
Product: Marknote
Version First 1.6.0
Reported In:
Platform: Garuda Linux
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---
Created attachment 197273
--> https://bugs.kde.org/attachment.cgi?id=197273&action=edit
Make ordered list numbers use the configured editor font (`Config.editorFont`)
so they match list item text.
# Bug Report
**Product:** Marknote
**Component:** Rich text editor (ordered lists)
**Version:** 1.6.0 and current master
**Type:** Bug (UX)
## Summary
Ordered list markers ("1.", "2.", ...) in the rich text editor do not follow
the configured font, creating a visual mismatch with list item text.
## Steps to reproduce
1. Change "Font family" and "Font size" in Settings ▸ General.
1. Create an ordered list in the rich text editor.
1. Observe that list numbers do not match the text font/size.
## Root cause
`BlockListItem.qml` rendered the number in a `Text` element without setting
family/size (inheriting theme defaults). The `FontMetrics` used for alignment
also used `Kirigami.Theme.defaultFont`.
## Fix
- Make the numbered marker `Text` use `Config.editorFont` (family and size),
choosing pixelSize or pointSize as appropriate.
- Update `FontMetrics` to use `Config.editorFont` so alignment remains correct.
--
You are receiving this mail because:
You are watching all bug changes.