Bug 126130

Summary: .uno:Heading1ParaStyle not working in Notebookbar .ui files
Product: LibreOffice Reporter: andreas_k <kainz.a>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: minor CC: kainz.a, xiscofauli
Priority: medium    
Version: 6.4.0.0.alpha1+   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 102062    

Description andreas_k 2019-06-27 12:43:23 UTC
Description:
writer -> tabbed notebookbar -> Home tab click on H1, H2, ... will work cause H1, use .uno:StyleApply?Style:string=Heading 1&FamilyName:string=ParagraphStyles 

the problem is that only if you use .uno:Heading1ParaStyle you get an icon (and an translated label)

Steps to Reproduce:
1. -
2.
3.

Actual Results:
only .uno:StyleApply?Style:string=Heading 1&FamilyName:string=ParagraphStyles is working

Expected Results:
also .uno:Headering1ParaStyle should work (work in .xml file for popupmenu)


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Xisco FaulĂ­ 2020-01-23 12:26:25 UTC
Hi Andreas,
I can't reproduce it in

Version: 6.5.0.0.alpha0+
Build ID: a821d89646ef25428cf5992f86d8f31581313bdb
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: x11; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Could you please try with a master build ?
Comment 2 andreas_k 2020-01-23 22:45:26 UTC
In master (and also in 6.3 and 6.4) it work cause I use .uno:StyleApply?Style:string=Heading 1&FamilyName:string=ParagraphStyles instead of .uno:Headering1ParaStyle.

This is kind of an "hack" not really dirty but if .uno:Headering1ParaStyle would work, it would be nicer.
Comment 3 QA Administrators 2020-01-24 03:46:37 UTC Comment hidden (obsolete)
Comment 4 Buovjaga 2020-04-30 19:03:30 UTC
Ok, let's set to NEW
Comment 5 Beautybride 2021-05-26 19:41:03 UTC Comment hidden (spam)
Comment 6 QA Administrators 2023-05-27 03:19:22 UTC Comment hidden (obsolete, spam)
Comment 7 Justin L 2023-06-29 17:01:37 UTC
It seems to work for me.
I used Heading1ParaStyle in MenuFile - and it showed up (with a checkbox) and worked.
I used Heading1ParaStyle in File- and it showed up and worked