Bug 126517

Summary: Table Style “Default Style” is not Highlighted in Styles Deck of Sidebar
Product: LibreOffice Reporter: Harald Koester <harald.koester>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: dgp-mail
Priority: medium    
Version: 6.2.5.2 release   
Hardware: All   
OS: Windows (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=124206
https://bugs.documentfoundation.org/show_bug.cgi?id=108227
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103427, 113557    

Description Harald Koester 2019-07-23 10:19:45 UTC
In order to reproduce the bug:

[1] Open new text document.
[2] Insert table with table style Default Style: 
(a) Menu: Table > Insert Table… The Insert Table dialogue is displayed. In the style list Default Style is highlighted. This is already the wanted style.
(b) Click Insert. An empty 2x2 table with the style Default Style is inserted.
[3] Click into table.
[4] Display styles deck of sidebar: F11.
[5] Select Table Styles. All table styles are displayed but no one is highlighted. Expected: Style Default Style should be highlighted. At this point a user is not able to identify which style is used.
[6] Insert another table with a different table style. In this case the correct style is displayed in the sidebar.

The correct style of the first table is also displayed if you go on with:

[7] Click into first table.
[8] Display AutoFormat dialogue: “Table > AutoFormat Styles...” The table style is displayed correctly here. Then OK. Now the table style is also displayed correctly in the sidebar.

The table styles in the sidebar are introduced with version 5.3.0. This bug was also introduced with this version.
Comment 1 Dieter 2019-07-24 07:37:14 UTC
NOTABUG, because Default style in the insert dialog is a template and not a style. Confusing, see bug 124206 (and bug 108227 comment 6). I hope, there will be a solution.