Bug 126130 - .uno:Heading1ParaStyle not working in Notebookbar .ui files
Summary: .uno:Heading1ParaStyle not working in Notebookbar .ui files
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Notebookbar
  Show dependency treegraph
 
Reported: 2019-06-27 12:43 UTC by andreas_k
Modified: 2023-06-29 17:01 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 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