Description: In Draw, there is a large number of default graphic styles like "Filled Yellow" and "Text A4" and "Object without fill". They are of no use to me and they take forever to dig through in menus. I want to get rid of them for good. But I can't. If I right click on one in the Styles pane, the Delete menu option is grayed out. The best I can do is to Hide it. But this doesn't do what it says. The style does disappear from the Styles pane, but it continues to show up in other places, like the Organizer tab in the Graphic Styles window. Even worse, if I quit and reopen Draw, the offending styles reappear and have to be hidden again. Hide is no substitute for the real thing: I need them to go away and never come back. There should be a way to accomplish that. Steps to Reproduce: Not applicable. Actual Results: Not applicable. Expected Results: Not applicable. Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: None.
From the beginning (LO 3.3), up to v.6.0, Draw contained fewer built-in styles. In 6.1, some new styles were added; and in 6.2, the list grew to the current state. There are styles that are *required* to allow the program functioning: those that are used in some algorithms. For Writer, e.g., that would include the style used in tables, in headings, in normal text; without them, those tools would not be able to produce expected results. Same is true for other modules: Calc, Draw, Impress. But obviously, there are styles that are added just to allow some *idea* how to use them; or to provide a usable *defaults*. While there is a value having them by default, it's absolutely not reasonable that *those* non-essential styles can't be removed. This issue is about inability to create a template without those (using such a template would be the answer to the "never come back" part: if one were able to remove them, and save the result as a template, maybe setting it as a default one, then every document based on that template would inherit the customized set). I confirm that we should allow making the built-in styles removable (so they need some flag to distinguish between those that ca and can't be removed).
It's the same question that is for Writer styles already.
The additional styles were introduced for bug 117455. In case of Writer we hid some rarely used styles, see bug 132798, but the ultimate solution IMO is to remove all hard-coded styles (and artwork in general) and provide the default in a template, which auto-load flag would be on. The user can decide to derive another template and make this the default or to have no style at all (except "Default *"). Big plus for the design team is that we can change the appearance without affecting the code / qa tests (see for example bug 112541). My first attempt with https://gerrit.libreoffice.org/c/core/+/115491 failed due to LibreLogo.
(In reply to Heiko Tietze from comment #3) > My first attempt with > https://gerrit.libreoffice.org/c/core/+/115491 failed due to LibreLogo. Please CC Laszlo; he's the maintainer of LibreLogo :)
I support the idea to be able to delete all styles, which are not really needed. Not only the UI is cluttered but the file markup too.