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

            Bug ID: 172462
           Summary: Style preview cropped on Right rather than on End
           Product: LibreOffice
           Version: 26.8.0.0 alpha0+ master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 107237, 129661

Created attachment 207450
  --> https://bugs.documentfoundation.org/attachment.cgi?id=207450&action=edit
Writer 26.8 NBB style gallery with Hebrew UI; note clipping on right

In the NBB's style gallery, we see a preview of the style name rendered in that
style. For many styles, the preview area is too short for the style's name, and
so - the style name is cropped/clipped.

However, the cropping is always of the _right_ side of the style name. This is
wrong: The clipped part should be the _end_ of the style name. So, direction
autodetection should be applied to the name.

This is seen clearly when using an RTL script locale, where all the default
style names use that RTL script. So, to reproduce just switch your locale to
AR-SA or HE-IL; or alternatively, change the name of one of the styles on the
NBB style gallery to a name in Arabic, Farsi, Hebrew, etc.

An alternative solution, is to choose the side which gets cropped based on
whether the UI is RTL or LTR. This will mean the cropping is more uniform, but
will hurt the readability of styles with a name opposite to the UI direction,
more.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107237
[Bug 107237] [META] Notebookbar Tabbed
https://bugs.documentfoundation.org/show_bug.cgi?id=129661
[Bug 129661] [META] Right-To-Left (RTL) user interface issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to