[Libreoffice-bugs] [Bug 108763] non visible items in menu Styles in Writer
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 14 08:46:35 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=108763
--- Comment #8 from Kribly Krably <samsonov.box at gmail.com> ---
Steps to reproduce this bug and reveal the cause of it:
1. Install LO 5.3.7 with a fresh user profile.
2. Open Writer and create new menu with Tools->Customize tool.
3. Now the new file
\AppData\Roaming\LibreOffice\4\user\config\soffice.cfg\modules\swriter\menubar\menubar.xml
is created. This file contain description of new created menu AND all default
menus too, in spite of that default menus are not changed, only new one menu
was created in step 2.
4. Copy this file to menubar53.xml.
5. Upgrade to LO 5.4.4 (keep old profile).
6. Open Writer, open the Styles menu and see the bug (non-visible items). Close
Writer.
7. Go to user profile and delete menubar.xml file.
8. Open Writer and see correct Styles menu.
9. Create new menu with Tools->Customize tool again.
10. Now new file menubar.xml is created again. Copy it to menubar54.xml (just
to not to be confused with this files).
11. Open menubar53.xml in text editor and find this section:
<menu:menu menu:id=".uno:FormatStylesMenu">
<menu:menupopup>
<menu:menuitem
menu:id=".uno:StyleApply?Style:string=Standard&FamilyName:string=ParagraphStyles"/>
<menu:menuitem
menu:id=".uno:StyleApply?Style:string=Title&FamilyName:string=ParagraphStyles"/>
<menu:menuitem
menu:id=".uno:StyleApply?Style:string=Subtitle&FamilyName:string=ParagraphStyles"/>
<menu:menuitem
menu:id=".uno:StyleApply?Style:string=Heading%201&FamilyName:string=ParagraphStyles"/>
<menu:menuitem
menu:id=".uno:StyleApply?Style:string=Heading%202&FamilyName:string=ParagraphStyles"/>
<menu:menuitem
menu:id=".uno:StyleApply?Style:string=Heading%203&FamilyName:string=ParagraphStyles"/>
<menu:menuitem
menu:id=".uno:StyleApply?Style:string=Heading%204&FamilyName:string=ParagraphStyles"/>
This section describes the Styles menu.
12. Open menubar54.xml and find corresponding section:
<menu:menu menu:id=".uno:FormatStylesMenu">
<menu:menupopup>
<menu:menuitem
menu:id=".uno:StyleApply?Style:string=Standard&FamilyName:string=ParagraphStyles"/>
<menu:menuitem
menu:id=".uno:StyleApply?Style:string=Title&FamilyName:string=ParagraphStyles"/>
<menu:menuitem
menu:id=".uno:StyleApply?Style:string=Subtitle&FamilyName:string=ParagraphStyles"/>
<menu:menuitem menu:id=".uno:StyleApply?Style:string=Heading
1&FamilyName:string=ParagraphStyles"/>
<menu:menuitem menu:id=".uno:StyleApply?Style:string=Heading
2&FamilyName:string=ParagraphStyles"/>
<menu:menuitem menu:id=".uno:StyleApply?Style:string=Heading
3&FamilyName:string=ParagraphStyles"/>
<menu:menuitem menu:id=".uno:StyleApply?Style:string=Heading
4&FamilyName:string=ParagraphStyles"/>
13. Compare the last four lines of cited above sections. This lines describes
that invisible points of Styles menu. There is difference in symbols between
the Heading word and numbers: %20 in menubar53.xml file, and simple space in
menubar54.xml. Conclusion: Writer version 5.4 can't process menubar.xml file,
migrated from Writer version 5.3.
14. Proof: delete menubar.xml. Copy menubar53.xml to menubar.xml. Open Writer
and see the bug.
15. Open menubar.xml in text editor and replace the %20 to spaces. Open Writer
and see correct Styles menu.
This bug concern to bugs 57466, 115518
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180314/91c17cb1/attachment.html>
More information about the Libreoffice-bugs
mailing list