Bug 124987 - Text Box anchored to page in a Right-to-left document doesn't appear
Summary: Text Box anchored to page in a Right-to-left document doesn't appear
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4 all versions
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: RTL-Textbox Regressions-no-off-page-print-drawobj
  Show dependency treegraph
 
Reported: 2019-04-26 19:07 UTC by Zaid Barghouthi
Modified: 2023-12-08 20:57 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (9.04 KB, application/vnd.oasis.opendocument.text)
2019-05-23 12:06 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zaid Barghouthi 2019-04-26 19:07:10 UTC
Description:
When anchoring a text-box to page in a Right-to-Left document, the text box doesn't appear in normal view but when exporting to PDF the text appears normally. 

Ubuntu : https://youtu.be/-oWBhi07N6Q
Windows 10 : https://youtu.be/OVPm6TM3HlI

Steps to Reproduce:
1. Create a text-box with some text in it.
2. Enable complex text layout. Tools>Options>Language Settings>Language>Complex text layout: set to Arabic(Jordan) for example.
3. Change page direction to RTL. Format>page>text-orientation: set to Right-to-Left
4. Change textb-box anchor to page. 

Actual Results:
The text and text-box don't appear in normal view

Expected Results:
The text and the text-box to appear normally


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Dieter 2019-04-27 09:18:49 UTC
I confirm it with

Version: 6.2.3.2 (x64)
Build-ID: aecc05fe267cc68dde00352a451aa867b3b546ac
CPU-Threads: 4; BS: Windows 10.0; UI-Render: GL; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded

and also with

Version: 5.4.7.2 (x64)
Build-ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU-Threads: 4; BS: Windows 6.19; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: CL
Comment 2 Xisco Faulí 2019-05-23 12:06:51 UTC
Created attachment 151626 [details]
sample file

Steps to reproduce:
1. Open attached file
2. Format - Page
3. Change text direction to right-to-left
Comment 3 Xisco Faulí 2019-05-23 12:15:00 UTC
Regression introduced by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=689cead9e0837dc932e3a4cd765f7d319b529018

author	Michael Stahl <mstahl@redhat.com>	2016-12-06 22:59:40 +0100
committer	Michael Stahl <mstahl@redhat.com>	2016-12-07 14:46:07 +0100
commit 689cead9e0837dc932e3a4cd765f7d319b529018 (patch)
tree cd6cdcd77f017ef1e60ec11556617da5b1c39721
parent b346439637b7d03a3eb1d6e67dfb585b357567f4 (diff)
tdf#91260 svx, sw: don't paint off-page part of drawing object

Bisected with: bibisect-linux-64-5.4

Adding Cc: to Michael Stahl
Comment 4 Regina Henschel 2022-08-15 11:50:20 UTC
duplicate to bug 117938?
Comment 5 BogdanB 2023-12-08 20:57:44 UTC
Also in
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9fb3970a1a599eae2447f6746597843434ee758b
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: ar-JO (ro_RO.UTF-8); UI: en-US
Calc: threaded