Description: Please add drop-down menu to "Strikethrough" options, for now, we have this feature for "Underline" options. Steps to Reproduce: Click "Strikethrough" options. Actual Results: Just add strikethrough to text. Expected Results: Shows drop-down menu to select detail options. Reproducible: Always User Profile Reset: No Additional Info: Version: 7.4.5.1 / LibreOffice Community Build ID: 40(Build:1) CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb) Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW 7.4.5-1 Calc: CL
I'll confirm this. There is no dropdown for choosing strikethrough type no matter what User Interface style you choose (Standard toolbar, tabbed, groupedbar compact, etc.). If you look in the Font Effects window https://help.libreoffice.org/7.4/en-US/text/shared/01/05020200.html you'll find a variety of strikethrough options. In favor: 1. Adding a dropdown arrow takes up relatively little space. 2. Some of the strikethrough options, like / and X, are very unique. 3. It's not even possible to set the various strikethrough types to keyboard shortcuts, so it's very inconvenient to use them. Against (devil's advocate): 1. Setting non-standard strikethrough is a pretty niche use case that people don't really need to discover or use. 2. There are quite a few extra underline types available in Font Effects... only a select few were chosen to reside in the main UI's underline dropdown. Which strikethrough options do we want to choose?
Actually we currently have a drop down, found in the 'Character' dialog -> 'Font Effects' 1. focus and select word or sentence (2 click, 3 click) 2. context menu (right mouse or keyboard) 3. character dialog 4. 'Font Effects' 5. 'Strikethrough' But currently the only defined UNO action (as used by Toolbar, Sidebar or Notebook Bar) is .uno:StrikeOut which applies the "Single" strikethrough effect. So request could be for additional UNO controls to use for customization. Or more simply to provide a UI control similar to the textunderlinecontrol.ui but for the strikeouts for the Toolbar, Sidebar or Notebookbar providing more direct access to a drop list of: RID_SVXITEMS_STRIKEOUT_NONE RID_SVXITEMS_STRIKEOUT_SINGLE RID_SVXITEMS_STRIKEOUT_DOUBLE RID_SVXITEMS_STRIKEOUT_DONTKNOW RID_SVXITEMS_STRIKEOUT_BOLD RID_SVXITEMS_STRIKEOUT_SLASH RID_SVXITEMS_STRIKEOUT_X
I think it's not a big deal to enhance the simple strikethrough to allow other line styles than single lines. Could be an interesting easy hack. Hossein, what do you think?
(Not sure when the strikethrough button was added as a default to the toolbar, but it was already available to add in OOo 3.3 -> inherited)
(In reply to Heiko Tietze from comment #3) > I think it's not a big deal to enhance the simple strikethrough to allow > other line styles than single lines. Could be an interesting easy hack. > Hossein, what do you think? See https://gerrit.libreoffice.org/c/core/+/24491/ for the work done to add the droplist (TB, NB, SB) for Underline control, believe similar would be needed for doing a similar Strikethrough control.
.uno:Strikeout points to SID_ATTR_CHAR_STRIKEOUT, but it seems a challenging task. Hossein, what do you think?
*** Bug 159225 has been marked as a duplicate of this bug. ***