Bug 161491 - Vertical Tab dialogs: Paragraph preview image is cut with VCLs gen, qt, win
Summary: Vertical Tab dialogs: Paragraph preview image is cut with VCLs gen, qt, win
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-UI Vertical-Tab-dialogs
  Show dependency treegraph
 
Reported: 2024-06-10 11:33 UTC by Regina Henschel
Modified: 2024-09-30 12:12 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of Indent&Spacing in RTL (25.83 KB, image/png)
2024-06-10 11:33 UTC, Regina Henschel
Details
Screenshot following instructions from comment 3, on Linux w/gtk3 (127.48 KB, image/png)
2024-07-26 15:36 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2024-06-10 11:33:09 UTC
Created attachment 194624 [details]
Screenshot of Indent&Spacing in RTL

The preview image is cut. That is a problem for RTL writing mode. You do not see the indent before text in the Indent&Spacing category.

Tested with Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 3c41e714497fdb13cdcbc4d6ba31887d4aaa4b61
CPU threads: 32; OS: Windows 11 X86_64 (10.0 build 22631); UI render: default; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2024-06-19 10:43:37 UTC
Reproduced using SAL_RTL_ENABLED=1

Version: 24.8.0.0.beta1+ (X86_64) / LibreOffice Community
Build ID: 1b61abc4451d38984338b750d85770ec9871060a
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: x11
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 2 Eyal Rozenberg 2024-07-26 10:46:02 UTC
Can't reproduce this with:

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: dc9486f2443fa52588b625c0a2a288bff56a7a45
CPU threads: 4; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US
Calc: CL threaded
Comment 3 Regina Henschel 2024-07-26 11:53:08 UTC
It is still a problem in Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: dc9486f2443fa52588b625c0a2a288bff56a7a45
CPU threads: 32; OS: Windows 11 X86_64 (10.0 build 22631); UI render: default; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: default

@Eyal: It is in the paragraph style dialog, category "Alignment". In the old tab-version of the dialog in 7.6 the right edge of the preview image is aligned to the right edge of the dialog. In the new dialog the preview image is cropped on its right side. To see the problem for RTL set 'Text-direction' to 'Right-to-Left (RTL)' and the 'Options' to 'Right/Bottom'. Then go to category "Indents & Spacing" and set "Before text" to "2cm" for example. The indent is not visible in the preview image. Compare it with the same settings in the old tab-version.
Comment 4 Eyal Rozenberg 2024-07-26 15:36:52 UTC
Created attachment 195538 [details]
Screenshot following instructions from comment 3, on Linux w/gtk3

(In reply to Regina Henschel from comment #3)

Tried the reproduction instructions - with that same build, but on Linux with gtk3; the indent appears fine... see attachment.

Could this be a platform-specific issue?
Comment 5 Gabor Kelemen (allotropia) 2024-09-30 08:43:36 UTC
(In reply to Eyal Rozenberg from comment #4)
> Created attachment 195538 [details]
> Screenshot following instructions from comment 3, on Linux w/gtk3
> 
> (In reply to Regina Henschel from comment #3)
> 
> Tried the reproduction instructions - with that same build, but on Linux
> with gtk3; the indent appears fine... see attachment.
> 
> Could this be a platform-specific issue?

Yes, the vertical tab issues are almost always limited to gen/qt/win backends and things look good on GTK. Above reproductions were from x11 (gen) and win backends.
Comment 6 Eyal Rozenberg 2024-09-30 12:12:56 UTC
I can also reproduce with gen, but not with kf5.