Created attachment 171171 [details]
Views of normal and changed toolbar
Steps to reproduce:
1) Use user interface Groupedbar Compact
2) Add table
So far, toolbar is still normal (see libreoffice_focus_page.png)
3) Click anywhere in the table
Toolbar changes (see libreoffice_focus_table.png)
4) Click outside table
Toolbar stays changed
First time clicking in the table might change the Groupedbar Compact to context (table), but only once.
Might have relation to https://bugs.documentfoundation.org/show_bug.cgi?id=126632
Version: 22.214.171.124.alpha0+ (x64) / LibreOffice Community
Build ID: 4677345e3695bac158bb04048b4d5c608ed764b4
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
*** Bug 141486 has been marked as a duplicate of this bug. ***
I reproduce the same behaviour.
However, after step 3, I noticed that the groupedbar is properly refreshed when I change the focus to an other window (other application) and change it back to the Writer window. I don't need to move the cursor outside the table.
Version: 126.96.36.199 / LibreOffice Community
Build ID: b8e68b5bf61ce56d972a163ea31a18aecdcd64cd
CPU threads: 4; OS: Linux 4.9; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.utf8); UI: fr-FR