Tested with table autoformat on 5.2 and with table styles on 5.3 beta. Steps to reproduce the problem: 1- Insert a table 2- With the cursor inside the table, apply a table autoformat (5.2) or table style (5.3 beta), for example, "lavender" Results: - Text on the table is set with Thorndale font even if the corresponding paragraph style is set as "liberation serif". - Ctrl-M does NOT restore the paragraph style formatting, you need to apply it by hand. Expected results: Table styles should not overwrite the paragraph styles used inside the table with direct formatting.
Calc does not allow more than one paragraph in a cell and it uses cell styles. In Calc I see a similar problem. The "AutoFormat Style" applies a direct formatting of attributes, which were defined in a cell style in the source of that "AutoFormat Style". I guess, that the old binary autotbl.fmt is not able to contain styles. (But I don't know any documentation of that format). Writer uses the same old binary autotbl.fmt. In regard to the old binary format, I would consider this a "Wontfix", because the goal is to get rid of the binary format. The new table style in Writer uses the ODF element <table:table-template>. This has children, which are able to reference a cell-style. A cell-style can contain paragraph and text properties. But the Writer UI has no tools to define cell styles. So I think, that this is not really a bug, but a missing feature in the implementation. LibreOffice would need an implementation of cell-styles in Writer (and in Impress/Draw too). And it would need a new UI for defining table styles including custom paragraph style and text style. Such UI is complex, because it is possible, that a cell can contain more than one paragraph and each paragraph can have a background in addition to the table-cells background. Whether a table style should overwrite existing formating or not, when the table style is applied, is an additional problem.
Adding keyword needsUXEval and CC'ing Heiko and Jay as they worked on new table styles in Writer. Please read Regina's comment 1, especially (In reply to Regina Henschel from comment #1) > The new table style in Writer uses the ODF element <table:table-template>. > This has children, which are able to reference a cell-style. A cell-style > can contain paragraph and text properties. But the Writer UI has no tools to > define cell styles. ... > LibreOffice would need an implementation of cell-styles in Writer (and in > Impress/Draw too). And it would need a new UI for defining table styles > including custom paragraph style and text style. I also see a problem that table styles (old binary and new styles) ignore/don't use/don't set the table paragraphs "table content" and "table heading". Should table styles include paragraph styles or even overwrite paragraph/character attributes?
Table style is kind of a template rather than a real style. That means when you have defined the text as Thorndale it will be applied as such for the tables. The "legacy" Table > Autoformat Styles... dialog allows to select what property is used. This option is still missing together with the manipulation dialog for the new implementation. It was part of the design.
No need for input from UX. We have to get rid of the font properties in predefined table styles, which requires bug 49437 to be solved first.
*** Bug 92235 has been marked as a duplicate of this bug. ***
Still present in Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 9c95415de877af1430ab5b7123e11dedd0ea622c CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL (In reply to Heiko Tietze from comment #3) > The "legacy" Table > Autoformat Styles... dialog allows to select what > property is used. This option is still missing together with the > manipulation dialog for the new implementation. It was part of the design. Heiko, is there already a bug report for that enhancement?
(In reply to Dieter from comment #6) > Heiko, is there already a bug report for that enhancement? Bug 105933 asks for "Means to modify existing table styles in a dialog", which should allow to not apply the PS.
*** Bug 115465 has been marked as a duplicate of this bug. ***
*** Bug 116378 has been marked as a duplicate of this bug. ***
*** Bug 145920 has been marked as a duplicate of this bug. ***
*** Bug 148199 has been marked as a duplicate of this bug. ***
*** Bug 140183 has been marked as a duplicate of this bug. ***
*** Bug 133659 has been marked as a duplicate of this bug. ***
I marked bug 49437 as a Major and this one as High for duplicates and confusion.
Dear RGB, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Problem still present on Version: 24.2.2.2 (X86_64) / LibreOffice Community Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01 CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb) Locale: es-ES (es_ES.UTF-8); UI: es-ES Calc: threaded Steps to reproduce. 1) On a Writer document with the default template (default font: Liberation Serif), insert a table and fill it. Each cell will have the "Table content" paragraph style applied to it, with the default document font (again, Liberation Serif). 2) Apply any table style, for example "Elegant." You'll see the font change to Liberation Sans. 3) Check the "Table contents" paragraph style: it's still set with Liberation Serif, but selecting the cells and doing a "clean direct formatting" don't fix the font. 4) Re-apply the "Table contents" paragraph style: fonts are "fixed." 5) Add either a row or a column to the table: fonts are changed again, ignoring the paragraph style settings.