Bug 154796 - [UI] "New" should not be offered for Presentation Styles
Summary: [UI] "New" should not be offered for Presentation Styles
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 normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Sidebar-Properties-Style
  Show dependency treegraph
 
Reported: 2023-04-13 20:46 UTC by Eyal Rozenberg
Modified: 2024-07-17 21:45 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The so-called presentation styles, before and after (38.36 KB, image/png)
2023-04-13 20:46 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2023-04-13 20:46:54 UTC
Created attachment 186643 [details]
The so-called presentation styles, before and after

Impress has a category of "styles", which aren't actually styles, named "Presentation Styles" (see bug 154492). These are really elements of Master Slides rather than styles of anything.

Regardless, one can - in theory - create "New" styles of this kind from a regular slide: There's a "New..."  item on the context menu of the sidebar with this category selected; and if one has introduced an object to a slide which doesn't originate in the Master - the "New..." is enabled. What does it do, though?

1. Create a new Impress presentation
2. Using the Menus, choose Insert > Text Box
3. Enter some text into your textbox to feel nice and grounded, e.g. "hello world"
4. Exit the text editing mode and select your textbox
5. Ensure the styles sidebar is opened
6. Choose the "Presentation Styles" category (second from the left if you're using an LTR UI)
7. Right-click the empty area after existing items
8. In the context menu, choose "New..."

Expected result:
Actually, I have no idea what to expect. What does this even mean? I suppose some kind of dialog should pop up for creating a new... style...? I don't know really.

Actual Result:
All existing items in the category become sub-items of the Background "style". WTF?? This thing is so broken! :-(
Comment 1 Regina Henschel 2023-04-14 19:07:22 UTC
Clearly a bug in the UI. The "New" item must not exist in the presentation style category if a text box is selected.

Tested with Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded