Bug 157964

Summary: Groupedbar : missing hidden group menu and general menu in some cases (for example resizing window with keyboard shortcut or unmaximising)
Product: LibreOffice Reporter: Jérôme <jerome.bouat>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: gang65, ilmari.lauhakangas, noelgrandin
Priority: low Keywords: bibisected, bisected, regression
Version: 7.6.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=63130
Whiteboard:
Crash report or crash signature: Regression By: Noel Grandin
Bug Depends on:    
Bug Blocks: 107158    
Attachments: the hidden groups menu and the general menu doesn't appear
a few minutes later they appear

Description Jérôme 2023-10-29 09:14:55 UTC
Created attachment 190491 [details]
the hidden groups menu and the general menu doesn't appear

In some cases the hidden groups menu and the general menu doesn't appear.

With :
Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 9d0b4c0791fc17bc4181a67fd90c5aaed576d1c0
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Comment 1 Jérôme 2023-10-29 09:17:03 UTC
Created attachment 190492 [details]
a few minutes later they appear

I switched the focus on other windows and when I came back a few minutes later, the menus appeared.
Comment 2 Buovjaga 2023-11-03 15:37:20 UTC
It's fine for me, if I start Writer with a narrower width. It is not refreshed, if I start with a full width and resize with Meta+arrow keyboard shortcut or unmaximise window control button. If I resize the window with the mouse, it is refreshed so the Menu button becomes visible.

Bibisected with linux-64-7.6 to 67c3b3becab2aa2b9522e3a092d46bfe507c3101
tdf#63130 when getting the size, do not do a full paint

I guess a condition needs to be added that preserves the Visio file perf win, but allows Notebookbar users to resize their windows in diverse ways (and hopefully solve what the reporter was seeing, apparently on first launch).
Comment 3 Noel Grandin 2023-11-15 11:33:06 UTC
Commit
    commit 67c3b3becab2aa2b9522e3a092d46bfe507c3101
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Wed May 17 14:03:28 2023 +0200
    tdf#63130 when getting the size, do not do a full paint

was reverted in 7-6 with
   commit f4c24da1e7f11664e0d2f688d2531f068e4a3bc0
   Author: Caolán McNamara <caolan.mcnamara@collabora.com>
   Date:   Sat May 20 20:29:59 2023 +0100
   Revert "tdf#63130 when getting the size, do not do a full paint"


so likely something else is causing this problem