Bug 157264 - Impress: Cannot change Presentation Styles via Sidebar
Summary: Impress: Cannot change Presentation Styles via Sidebar
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected) alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Sidebar-Styles
  Show dependency treegraph
Reported: 2023-09-15 15:29 UTC by Timur
Modified: 2023-09-29 21:19 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

ODP (35.56 KB, application/vnd.oasis.opendocument.presentation)
2023-09-15 15:29 UTC, Timur

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2023-09-15 15:29:47 UTC
Created attachment 189613 [details]

Open Impress presentation, like attached. 
Open Sidebar – Styles and Formatting – Presentation Styles.

1st issue: Click in slide outlines does not proprly reflect Outline level in Sidebar
2nd issue: Try to change Outline level by clicking Outline 1, 2, 3, 4 in Sidebar - NOK.

I can only use Promote/Demote toolbar buttons.
Not sure if a bug or I do not use it properly.
Comment 1 Regina Henschel 2023-09-15 21:37:19 UTC
What do you expect to see? The shape is a drawing object, not a presentation object, and slide layout has title and subtitle, but no outline.
Comment 2 Timur 2023-09-16 14:56:00 UTC
I expect that I can change outline levels of Text box using Sidebar.

In https://books.libreoffice.org/en/IG72/IG7202-SlideMastersStylesTemplates.html I read:

"Presentation styles cannot be created or deleted, but can be formatted, modified or updated to the presentation requirements. Also, the presentation style used for an object cannot be changed to another presentation style. For example, text with Outline 2 style cannot be changed to Outline 3 style.

Changing outline levels is done in normal view using the Tab key or Shift+Tab key combination or the Promote and Demote tools on the Outline toolbar. See Chapter 3, Adding and Formatting Text for more information."

That is not good. IMO text outline change should be possible.
Comment 3 Aron Budea 2023-09-25 03:21:48 UTC
I assume this isn't related to outline view, removing it from that META.

I'm not sure what should happen, but bug 154492 contains some details on what presentation styles are, that could be informative.
Comment 4 Stéphane Guillou (stragu) 2023-09-29 16:50:46 UTC
The Presentation styles can be modified to change the look of outlines in the presentation, but they can't be _applied_ to the current selection.
Which is the note you quoted in comment 2: to change the outline level, use the Lists section of the Properties sidebar deck. See also:

I admit I had to look it up and it feels at odds with how other styles behave (i.e. the ability to _apply_ them), but I think we should close this as "not a bug".

Bug 154492 is a discussion on how we can improve the situation.

Regarding your document, you'll see that if you add a new slide that follows a default layout, and write a list withing the default "Outline" frame, it will properly use the corresponding Presentation styles (and highlight them in the Sidebar).

Thanks everyone!
Comment 5 Timur 2023-09-29 16:58:05 UTC
This is literal "notabug" because it behaves as in documentation.
But I quoted it to say it seems wrong, so really WHY was needed before closing, and it that case this should have been Enhancement or WontFix - I think that simple NotABug is wrong. 
I was aware of that other bug, but that is a discussion bug (as many with the reporter) which went too long and is not a specific task with a clear title and desired outcome, while i think this one was rather specific.
Comment 6 Stéphane Guillou (stragu) 2023-09-29 21:19:34 UTC
OK, so what would be the enhancement request exactly?

(In reply to Timur from comment #0)
> 1st issue: Click in slide outlines does not proprly reflect Outline level in
> Sidebar

As I understand it, this is "not a bug" because the shape is not an object from a master AutoLayout, and therefore does not use a presentation style. (Regina can correct me on the specifics.)

> 2nd issue: Try to change Outline level by clicking Outline 1, 2, 3, 4 in
> Sidebar - NOK.
> I can only use Promote/Demote toolbar buttons.

The Presentation styles can't be "applied" to an element, only modified to update the formatting of presentation objects.

So is the enhancement request:
"Make it possible to apply an Outline Presentation Style to any paragraph" ?

In which case, I think it would break the concept of Presentation Styles and I'd vote for won't fix, and redirect you to proper paragraph and list styles support in Impress: bug 152654 and bug 152653.
But other can give their opinion.

Or am I missing something?