Bug 154494 - Can't set presentation direction
Summary: Can't set presentation direction
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.5.1.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Slide-Sorter RTL-UI
  Show dependency treegraph
 
Reported: 2023-03-30 21:59 UTC by Eyal Rozenberg
Modified: 2023-04-06 08:23 UTC (History)
2 users (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 2023-03-30 21:59:03 UTC
A presentation is a sequence of slides. Do these slides have a direction, in the sense of LTR or RTL?

The answer seems to be that they do - in those contexts where they are laid out horizontally. Perhaps the most important such context is the Slide Sorter; another one is the printing of handouts. Then, the slides are similar to a sequence of pages, for which a direction makes more sense.

We should be able to indicate that the presentation's slides progress from right-to-left.
Comment 1 Hossein 2023-04-05 19:24:35 UTC
Confirmed with the latest LO 7.6 dev master:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8c3e219a831719ebb40dd2af8a26b0a24ad7aba1
CPU threads: 12; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: fa-IR (fa_IR); UI: fa-IR
Calc: CL threaded
Comment 2 Eyal Rozenberg 2023-04-05 20:42:32 UTC
So, the question is, _how_ should we be able to indicate this? (and of course to have it persist.)
Comment 3 Heiko Tietze 2023-04-06 06:50:00 UTC
Slides are a sequences of screens from a start to the end. I see no direction in that. But since Hossein agreed with you it's apparently desired.

Simply draw the images in the slide sorter from right to left in case the presentation locale is RTL?
Comment 4 Eyal Rozenberg 2023-04-06 07:42:29 UTC
(In reply to Heiko Tietze from comment #3)
> Slides are a sequences of screens from a start to the end. I see no
> direction in that. But since Hossein agreed with you it's apparently desired.

but those screens sometimes get embedded on a plane, on in a medium where direction has significance, and then you have to choose whether slide 2 is on the left or the right of slide 1.

> Simply draw the images in the slide sorter from right to left in case the
> presentation locale is RTL?

1. Presentations don't have locales...
2. If you mean app locale / UI language - that wouldn't help

I don't think we can avoid some kind of toggle widget. As for the choice of initial value when going to Slide Sorter view, that could perhaps be based on the page style of the first Master slide, or the master for the current slide, or the app UI language. The latter may offer the more consistent user experience even if it may require more flipping on the user's part.


There is also the question of whether we want the have the document itself persist a choice of direction. That's a question I don't have an answer to.
Comment 5 Heiko Tietze 2023-04-06 08:05:49 UTC
(In reply to Eyal Rozenberg from comment #4)
> 1. Presentations don't have locales...
Isn't the text direction a setting for the whole presentation. If not we just don't know whether you read LTR or RTL.

> I don't think we can avoid some kind of toggle widget.
Clearly a no-go. We have to obey the ODF and consider x-plattform too.

> There is also the question of whether we want the have the document itself
> persist a choice of direction. That's a question I don't have an answer to.
Don't get this.


UX-wise I suggest to just draw the slides from right to left assuming we can read the intended direction somehow from the presentation. I suggest to change the subject to something like "Make slide sorter RTL-affine".
Comment 6 Eyal Rozenberg 2023-04-06 08:23:19 UTC
(In reply to Heiko Tietze from comment #5)
> > 1. Presentations don't have locales...
> Isn't the text direction a setting for the whole presentation. If not we
> just don't know whether you read LTR or RTL.

Text direction is one thing, and locale is another thing. Locale is not a setting for any document - it's an app setting. Or maybe we're not talking about the same thing?

Also...

> UX-wise I suggest to just draw the slides from right to left assuming we can
> read the intended direction somehow from the presentation. I suggest to
> change the subject to something like "Make slide sorter RTL-affine".

there will be no one true setting. Some presentations need to be displayed right-to-left and others left-to-right. And the user might want to change their mind about this. Or print RTL handouts for one audience and LTR handouts for another audience.

> > I don't think we can avoid some kind of toggle widget.
> Clearly a no-go. We have to obey the ODF and consider x-plattform too.

What do you mean by "obey the ODF"? What are "x-platform"'s?

> > There is also the question of whether we want the have the document itself
> > persist a choice of direction. That's a question I don't have an answer to.
> Don't get this.

It is likely that you want a presentation's _author_ to tell you whether the slide-sorter / handouts should be RTL or LTR. To do that, that choice needs to be saved in the .odp file.