Bug 158197

Summary: Tabbed UI's overflow doesn't close when clicking a command (as classic toolbars do)
Product: LibreOffice Reporter: Alexandr <almanyac>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: halimfady, stephane.guillou
Priority: medium    
Version: 6.3.6.2 release   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107237, 112974    

Description Alexandr 2023-11-13 14:31:25 UTC
Description:
When we use tabbed user interface, go to Insert tab, open the list of objects with ">>" button, select, for example, ring shape, and then click on presentation page trying to draw the ring, nothing will happen.
It only draws if after shape selection I click on the toolbar to hide the panel. opened with ">>" button, and only then draw shape on presentation.

Steps to Reproduce:
1. Run Impress.
2. Select tabbed user interface.
3. Go to Insert tab page.
4. Make app window smaller so shapes aren't fit in tabcontrol size.
5. Press ">>" button and select some shape, for example, "ring".
6. Click on presentation list to add shape.

Actual Results:
1. OK.
2. OK.
3. OK.
4. OK.
5. OK.
6. Failed, shape isn't added.

Expected Results:
1. OK.
2. OK.
3. OK.
4. OK.
5. OK.
6. OK, shape added.


Reproducible: Always


User Profile Reset: No

Additional Info:
Shape can be added if click on ">>" one more time and hide tabcontrol with shapes.
Comment 1 Stéphane Guillou (stragu) 2023-11-13 21:44:15 UTC
This is a more general issue. For example, you have the same issue with Insert > Callouts, or Insert > Text box: one can't draw directly if it was selected from the overflow popup.
I changed the summary accordingly.

Reproduced in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 79f92d09ec52f0777fc03ff1d057a11b45e73f6d
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 2 Stéphane Guillou (stragu) 2023-12-22 22:54:06 UTC
*** Bug 158813 has been marked as a duplicate of this bug. ***
Comment 3 Stéphane Guillou (stragu) 2023-12-22 23:01:12 UTC
As shown in bug 158813, the issue also affects the compact UI variant.

Already reproduced in:

Version: 6.3.6.2
Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded