Download it now!
Bug 111753 - Misbehavior of default formatting option used on Impress table
Summary: Misbehavior of default formatting option used on Impress table
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected)
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: ImpressDraw-Tables
  Show dependency treegraph
Reported: 2017-08-13 01:20 UTC by Tamás Zolnai
Modified: 2019-04-15 10:04 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Tamás Zolnai 2017-08-13 01:20:50 UTC
After setting a character property (e.g. strikthrough) and use default formatting option the character attributes are set back to default. However if I change the text's vertical alignment the strikthrough comes back.

Steps to Reproduce:
1. Open Impress
2. Create a table
3. Add some text to the cell and select the text
4. Set strikthrough using sidebar
5. Select the whole table as object
6. Click Default Formatting in context menu (-> strikthrough is removed)
7. Change vertical text alignment using sidebar (-> strikthrough is back)

Actual Results:  
Strikethrough somehow comes back when changing the vertical text alignment.

Expected Results:
Strikethrough should not reapplied on the text.

Reproducible: Always

User Profile Reset: No

Additional Info:

User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Comment 1 Regina Henschel 2017-08-13 17:24:45 UTC
Reproducible with the given steps in Version:
Build ID: 1176ae51154c2298b44427270754d2ee1562a115
CPU threads: 4; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2017-07-27_12:54:56
Locale: de-DE (de_DE); Calc: group

I think, that here are three bugs:
(1) After applying the strike-through the expected behavior is, that there is a <text:span> element, that refers a text style with strike-through set. But not only this text style is created, but there is a paragraph style and a cell style created, both with strike-through set.
(2) After applying "Default Formatting", the text and paragraph styles are removed. But the cell style is kept. Therefore the text should be still shown in strike-through.
(3) After applying "Default Formatting" the cell-style is not removed.

Besides that, there is the general problem, that there are no styles available for the user, neither for text, nor paragraphs, nor table cells and therefor it is not possible for the user to know, what is really set, if he uses "Default formatting".
Comment 2 QA Administrators 2018-08-14 02:32:51 UTC Comment hidden (obsolete)
Comment 3 Regina Henschel 2018-08-14 09:42:29 UTC
Step 6 is no longer possible. In case the table or a column is selected, the context menu has no item "Default formatting" and the item "Clear Direct Formatting" in menu Format is disabled. In case a row is selected, the items are active but they do nothing. Only in text edit mode the items work and can be used as expected. In text edit mode you see "Text Edit" in the status bar.

It is partly solved. In case a row is selected, the items should be disabled too, because they do nothing.

But the basic problem is still not solved, that it is not possible to remove all direct formatting on all selected cells of a row, column or table.

Tested with Version: (x64)
Build ID: d54861bac28c0c6dd84bca6a9c1ddeb76de184a8
CPU threads: 8; OS: Windows 10.0; UI render: GL; 
Locale: de-DE (en_US); Calc: threaded