Bug 157171

Summary: Custom dialog Available Commands box has unneeded space before the command icons
Product: LibreOffice Reporter: Jim Raykowski <raykowj>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: miguelangelrv, stephane.guillou
Priority: low    
Version: 6.1.0.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103238    
Attachments: screen shot of the customize dialog showing the unneeded space circled in red
Screenshot

Description Jim Raykowski 2023-09-10 06:07:28 UTC
Created attachment 189466 [details]
screen shot of the customize dialog showing the unneeded space circled in red

Please see the attached file that shows the unneeded space circled in red.
Comment 1 m_a_riosv 2023-09-10 21:35:05 UTC
Created attachment 189480 [details]
Screenshot

Not so large for me.
Maybe it's keeping space enough, for different icons size.
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 65325f9c2f9aff6782fa5df910e8f2f5e63dfd93
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded Jumbo
Comment 2 Jim Raykowski 2023-09-10 22:14:30 UTC
(In reply to m.a.riosv from comment #1)
> Not so large for me.
> Maybe it's keeping space enough, for different icons size.
Actually it's reserved for tree expand/collapse buttons, but they are not used here, afaik.
Comment 3 m_a_riosv 2023-09-11 14:34:50 UTC
It looks like there are only those with customizing the keyboard, but it seems to leave room on the left there as well.
Comment 4 Jim Raykowski 2023-09-11 21:48:46 UTC
(In reply to m.a.riosv from comment #3)
> It looks like there are only those with customizing the keyboard, but it
> seems to leave room on the left there as well.
The room left in the Category box is for expand/collapse buttons. The Application Macros and Styles category entries are expandable. The Function box on the Keyboard page uses the same CuiConfigFunctionListBox class as the Menus, Toolbars, Notebookbar, and Context Menus pages Available Commands box. The difference is that for the Keyboard page the expander buttons aren't enabled to show.

cui/uiconfig/ui/menuassignpage.ui
cui/uiconfig/ui/accelconfigpage.ui
Comment 5 Stéphane Guillou (stragu) 2023-09-25 22:31:58 UTC
Confirmed that we could do away with that space in the Available Commands frame of the Menus, Toolbars and Context Menus tabs of this dialog.

It started in 6.1 when the dialog was reshuffled and the icons were added.

Version: 6.1.0.3
Build ID: efb621ed25068d70781dc026f7e9c5187a4decd1
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk2; 
Locale: en-AU (en_AU.UTF-8); Calc: group threaded