Bug Hunting Session
Bug 112651 - Visual indication of the type of toolbar button in Customize dialog
Summary: Visual indication of the type of toolbar button in Customize dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.0.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Customize-Dialog
  Show dependency treegraph
 
Reported: 2017-09-25 19:02 UTC by Yousuf Philips (jay) (retired)
Modified: 2017-10-07 07:16 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2017-09-25 19:02:03 UTC
In the toolbar tab of the Customize dialog, we need to display in the function lists the type of toolbar control that will appear in the toolbar. Is the control a button, split button, group button, input field (combobox, spinbox) or drop down list.

How it appears in MS Office - attachment 113721 [details]
Comment 1 Maxim Monastirsky 2017-09-26 07:36:59 UTC
There is currently no way to know in advance what kind of control will it be. So we'll need to implement a way to store this property for commands, and then go through all commands and set it.
Comment 2 Yousuf Philips (jay) (retired) 2017-09-26 11:53:15 UTC
Maxim: Thanks for the info. As the majority of them will be regular buttons, we just need to tag the ones that aren't. :D

Any suggestions on what the attribute name should be called in sfx.sdi and whether we should have a single attribute value to indicate the type (e.g. 'SplitButton;') or whether it should be an attribute/value sequence (e.g. 'ControlType = Split,' ).
Comment 3 Maxim Monastirsky 2017-09-27 07:05:10 UTC
(In reply to Yousuf Philips (jay) from comment #2)
> Any suggestions on what the attribute name should be called in sfx.sdi
I would avoid adding new stuff to sdi files in general, esp. as some components (like chart or base) don't use sdi files at all. Maybe put it somewhere under officecfg, need to think more about it.