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

            Bug ID: 169764
           Summary: Rendered style names placed ineffectively in their
                    style preview box rectangles
           Product: LibreOffice
           Version: 26.2.0.0 alpha0+ master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: needsUXEval
          Severity: minor
          Priority: medium
         Component: UI
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 169761

Created attachment 204349
  --> https://bugs.documentfoundation.org/attachment.cgi?id=204349&action=edit
Style preview box in LO 26.2 nightly, GTK3, in Dark mode

The style preview box renders style names, in the relevant styles, within
rectangles, within the box, for the user to select. The rectangle for rendering
the style name is not very large, and the style name may well exceed it if the
style mandates a large font size. It stands to reason, therefore, that the
placement of the style name within the rectangle will maximize the use of
space: Either:

* Placing the rendered name's center in the rectangle center; or 
* Place the start of the style name very close to the starting edge of the
rectangle. (Note I said start, note left edge; the style name may be in an RTL
script like Arabic or Hebrew.)

but - that's not what happens. It seems that the the start of the style name is
placed at a very generous distance away from the rectangle start, so that,
typically, it reaches well beyond the corresponding point on the other side of
the rectangle center. See attached (partial) screenshot.

Build:

Version: 26.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: cf56ab4c9e29cb076c3f986a75ade58d997cb43c
CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: en-IL (en_IL); UI: en-US

PS - Collabore Office 25.4.7.2 seems to suffer from the same issue.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=169761
[Bug 169761] [META] Notebookbar Tabbed: Style preview box bugs & enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to