Bug 149631 - Record Macro won't record inserting a page break of a specified type
Summary: Record Macro won't record inserting a page break of a specified type
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Macro-Recording
  Show dependency treegraph
 
Reported: 2022-06-20 05:14 UTC by Luke Kendall
Modified: 2024-07-14 03:13 UTC (History)
1 user (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 Luke Kendall 2022-06-20 05:14:52 UTC
Context:

I found that none of my level 1 chapter title style chapters were being added to the Table of Contents, and the only way to correct it was to delete the page break and the chapter title, then to insert a page break and a new chapter title and assign the chapter heading style again: after that, the chapter headings would appear in the TOC.

Bug:

After recording a macro with the 17 steps needed to do this, I discovered that recording a macro will not record the insertion of a manual page break with a specific page style chosen from the drop-down list.

Looking into the macro code, the code to insert the page break was commented out (so of course it wasn't included when the macro was run). Manually uncommenting the line of code caused the insert page break dialogue to pup up to manually choose the page style.

Steps to reproduce:

Enable macros.
Turn on Record macro
Perform some operations, one of which includes inserting a manual page break
End recording
Run the macro

Observed result:

No page break insertion occurs.

Expected result:

Page break (with the previously chosen following page style) is inserted.
Comment 1 raal 2022-07-13 15:31:09 UTC
I can confirm in Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: a93d7e7df6804cd6f1f2fa1ef0e6e95ce6c3752a
CPU threads: 4; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 2 QA Administrators 2024-07-14 03:13:56 UTC
Dear Luke Kendall,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug