Bug 134196 - Table of content is broken after copy/paste if it's the first thing on the first page
Summary: Table of content is broken after copy/paste if it's the first thing on the fi...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: All All
: lowest minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: TableofContents-Indexes
  Show dependency treegraph
 
Reported: 2020-06-21 14:56 UTC by Telesto
Modified: 2023-12-16 03:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (860.17 KB, application/vnd.oasis.opendocument.text)
2020-06-21 14:56 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-06-21 14:56:34 UTC
Description:
Table of content is broken after copy/paste if it's the first thing on the first page

Steps to Reproduce:
1. Open the attached file
2. Insert -> Table of content -> Table of content and index
3. Press OK
4. CTRL+A
5. CTRL+C
6. CTRL+V


Actual Results:
The table of content is broken (can't be updated anymore)

Expected Results:
Ideally not


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 43c60ce1ac7629a1462e927e6ff937469f58f743
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-06-21 14:56:46 UTC
Created attachment 162259 [details]
Example file
Comment 2 Timur 2020-06-23 18:46:40 UTC Comment hidden (obsolete)
Comment 3 Telesto 2020-06-23 19:35:47 UTC
(In reply to Timur from comment #2)
> Where is cursor on CTRL+A?
> Will CTRL+V give Write protect for ToC?
> What's the point of these steps, you copy and paste the same?

1. Open the attached file
2. Insert -> Table of content -> Table of content and index
3. Press OK
4. CTRL+A
5. CTRL+A
5. CTRL+C
6. CTRL+V

For bug docs with specific issues, yes.. 

-> Is it hard to solve.. NO
-> Is there major purpose.. likely not.. but did observe it
Comment 4 QA Administrators 2020-06-24 03:42:28 UTC Comment hidden (obsolete)
Comment 5 Timur 2020-06-24 08:04:04 UTC Comment hidden (obsolete)
Comment 6 Xisco Faulí 2020-07-27 11:11:40 UTC
(In reply to Timur from comment #5)
> Cannot repro with "Protect against manual changes" which is default on ToC.
> Without "Protect..", repro in 71+, crash or no responding on update ToC.
> But steps make no sense, because paste is in ToC so the whole document
> becomes index.
> Are unrealistic steps a bug? Let Xisco decide.

Yes, I get the "Write-protected content cannot be changed" message.
The original report doesn't mention anything about unprotecting anything so the steps are incomplete.
@Telesto, please attach a screencast
Comment 7 Telesto 2020-08-01 19:13:05 UTC
(In reply to Xisco Faulí from comment #6)
1. Open the attached file
2. Insert -> Table of content -> Table of content and index
3. Press OK
4. CTRL+A
5. CTRL+A
5. CTRL+C
5a. CTRL+N
6. CTRL+V

Missing step (5a)
Comment 8 Timur 2020-08-02 12:48:57 UTC
New, minor.
Comment 9 BogdanB 2021-12-15 19:26:16 UTC
Also in
Version: 7.3.0.0.beta1+ / LibreOffice Community
Build ID: ecfb83d7463bed7c89baeccc03286c1ac9956d70
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 10 QA Administrators 2023-12-16 03:13:05 UTC
Dear Telesto,

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