https://bugs.documentfoundation.org/show_bug.cgi?id=154687
--- Comment #11 from Maxim Monastirsky <[email protected]> --- (In reply to Heiko Tietze from comment #9) > Is the current behavior intentionally implemented? Yes it is, see SdrPaintView::SetDefaultAttr, and also the related SetDefaultStyleSheet method, which sets the default style if a style is double-clicked with no shape selected. This is in-line with MS Office and any other drawing app, that let you choose the default color for new shapes in advance. Our problem here is that we added styles as a separate formatting layer to the mix, which is why there might be a need to clear the direct formatting layer, for the underlying style to be effective. I believe that a better alternative to using DF for shape defaults, is to allow setting arbitrary style as the default for new shapes instead of the "Default Drawing Style" (just modifying the default style isn't always appropriate, as it might affect other shapes as well). As said above, it is already possible by double-clicking on a style when no shape is selected. The problem is that this currently works only for shapes that otherwise would use "Default Drawing Style", but e.g. lines default to "Object without fill", and not affected by this choice. So a better UI is needed for this (might be as simple as a context menu item of "use this style by default for the current shape kind"). -- You are receiving this mail because: You are the assignee for the bug.
