Bug 148305 - Can't switch the column placement direction between LTR and RTL
Summary: Can't switch the column placement direction between LTR and RTL
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-CTL TableofContents-Indexes-Dialog RTL-UI
  Show dependency treegraph
 
Reported: 2022-04-01 11:16 UTC by Eyal Rozenberg
Modified: 2022-05-08 10:00 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Content in new file (20.09 KB, application/vnd.oasis.opendocument.text)
2022-04-19 08:00 UTC, Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2022-04-01 11:16:44 UTC
When writing an RTL document, and using a multi-column index or table of contents, you obviously need that ToC or Index to have a RTL column layout, i.e. content begins on the rightmost column and continues leftwards.

I was flabbergasted today when told (on IRC) that, apparently, there is simply no support for that right now.

Note that this should also have been a mjaor failure in importing MS-Word documents - but those don't seem to have a ToC imported that well to begin with.

Please fix this ASAP - I need a two-column ToC :-(
Comment 1 Eyal Rozenberg 2022-04-01 11:19:11 UTC
So more comments:

* This has likely been like the situation since forever, but perhaps someone more knowledgeable should double-check.
* Note that the paragraphs within the LTR-column-layout are fine - they are valid columns.
Comment 2 Dieter 2022-04-18 03:58:42 UTC
Steps
I can't confirm it

1. Open attachment 179253 [details] from bug 148306
2. Strg+A
3. Strg+C
4. Strg+N
5. Strg+V

Looks to me like a two column ToC with RTL direction. So could you please specify the problem?
Comment 3 Eyal Rozenberg 2022-04-18 06:46:28 UTC
(In reply to Dieter from comment #2)
> Looks to me like a two column ToC with RTL direction. So could you please
> specify the problem?

When you insert a ToC - where in the dialog do you choose the direction?

After you've inserted a ToC - where is the UI for changing its direction?
Comment 4 Eyal Rozenberg 2022-04-18 06:49:42 UTC
(In reply to Dieter from comment #2)
> Looks to me like a two column ToC with RTL direction.

The first document has two columns progressing from left to right. Perhaps it's confusing you that within each column, the paragraph direction is RTL; that's not the problem.

When I copy-and-paste like you suggested, I just get text, and nothing that's multi-column, so I don't see how that's relevant.
Comment 5 QA Administrators 2022-04-19 03:26:55 UTC Comment hidden (obsolete)
Comment 6 Dieter 2022-04-19 08:00:20 UTC
Created attachment 179657 [details]
Content in new file

(In reply to Eyal Rozenberg from comment #4)
> When I copy-and-paste like you suggested, I just get text, and nothing
> that's multi-column, so I don't see how that's relevant.

Don't understand, why you get this result. Please use attachment (result after steps in comment 5)
Comment 7 Eyal Rozenberg 2022-04-19 22:04:29 UTC
Well, regardless of reproducing your example - the issue stands, as I've explained.

Also, in the attached file - how do you make the ToC columns go left-to-right rather than right-to-left?
Comment 8 Dieter 2022-05-04 07:56:07 UTC
(In reply to Eyal Rozenberg from comment #7)
> Well, regardless of reproducing your example - the issue stands, as I've
> explained.

But - as far as I can see - it only stands with your sample document. And perhaps it's not a general problem, but a problem of that specific document.
 
> Also, in the attached file - how do you make the ToC columns go
> left-to-right rather than right-to-left?
Just modify paragraph styles, that are used in the TOC: Alignment -> Properties -> Text direction LTR
Comment 9 Eyal Rozenberg 2022-05-04 21:15:12 UTC
(In reply to Dieter from comment #8)
> But - as far as I can see - it only stands with your sample document.
> perhaps it's not a general problem, but a problem of that specific document.

First of all, a problem with LO's behavior on a specific document is a general LO problem.

But that's not even the point. The point is that there's no way of setting the column progression direction, so my sample document doesn't even matter.
 

> > Also, in the attached file - how do you make the ToC columns go
> > left-to-right rather than right-to-left?
> Just modify paragraph styles, that are used in the TOC: Alignment ->
> Properties -> Text direction LTR

Dieter, you misunderstand what this bug is about. It is _not_ about paragraph directions, it is about column progression direction, which is entirely independent of paragraph directions.
Comment 10 Dieter 2022-05-08 10:00:34 UTC
(In reply to Eyal Rozenberg from comment #9)
> First of all, a problem with LO's behavior on a specific document is a
> general LO problem.

I completely disagree. Bugzilla is feature related and not document related.

> Dieter, you misunderstand what this bug is about. It is _not_ about
> paragraph directions, it is about column progression direction, which is
> entirely independent of paragraph directions.

I think, I've understood it now. Would have been more easy to understand and save a lot of of our time, if original bug report contains an easy sample document and some steps to reproduce:

Steps to reproduce:
1. Open attachment 179253 [details] => direction of columns is from left to right
2. Edit index -> Column tab

Actual result:
No option to change direction of columns tor form right to left

Expected result:
Should be possible (like in columns of sections, where you have option of text direction)

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 83d0f2eebae41d431d9a5bfd1a918523977752d0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL