Bug 165299 - Add direction indication to mock-preview in style dialog
Summary: Add direction indication to mock-preview in style dialog
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: RTL-UI
  Show dependency treegraph
 
Reported: 2025-02-17 16:09 UTC by Eyal Rozenberg
Modified: 2025-02-17 16:09 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2025-02-17 16:09:21 UTC
In the Paragraph Style dialog as well as the Drawing Style dialog, we see a preview-mockup in the corner of the dialog tab involving direction and alignment. The mockup contains several gray bars representing a paragraph and its surrounding paragraphs.

While the mockup indicates the alignment well enough, it does not indicate the choice of direction in any way. I believe we should consider introducing some visual indication of the direction.

Without getting into the specific bikeshedding of what indication that would be exactly, I believe it should be possible for it to be both easy-to-understand while also not interfering with the each of understand what the alignment would look like. Perhaps something involving arrows/directed triangles on top of the bars, at the beginning, on all bars or just the first one; or replacing the beginning edge of the first bar, e.g., very roughly:

  |>========
  ==========
  ====

vs

  ==========
  ==========
  ====

which we have now.

Thus for example right-aligned LTR-text would look like this:

  ---------
  ---------
  ---------
  ======<|
  =========
  ====
  ---------
  ---------
  ---------


while right-aligned RTL-text would look like this:

  ---------
  ---------
  ---------
    =====<|
   ========
       ====
  ---------
  ---------
  ---------