Bug 146335 - Delete doesn't respond with track changes enabled for particular document created as .docx
Summary: Delete doesn't respond with track changes enabled for particular document cre...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Track-Changes
  Show dependency treegraph
 
Reported: 2021-12-20 13:14 UTC by Telesto
Modified: 2023-12-23 03:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Reduced sample document Also shows the bad effect (18.25 KB, application/vnd.oasis.opendocument.text)
2021-12-21 17:14 UTC, Rainer Bielefeld Retired
Details
Most reduced Document reproducing the problem (13.89 KB, application/vnd.oasis.opendocument.text)
2021-12-21 17:55 UTC, Rainer Bielefeld Retired
Details
Screenshot of own reproducer documents after CTRL-A, Del (157.55 KB, image/png)
2021-12-22 15:44 UTC, Gabor Kelemen (allotropia)
Details
A similar example file made from scratch (20.46 KB, application/vnd.oasis.opendocument.text)
2021-12-22 15:50 UTC, Gabor Kelemen (allotropia)
Details
Working example file not ending with section (20.24 KB, application/vnd.oasis.opendocument.text)
2021-12-22 15:51 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-12-20 13:14:18 UTC
Description:
CTRL+X doesn't respond with track changes enabled

Steps to Reproduce:
1. Open attachment 177037 [details]
2. CTRL+A
3. CTRL+X

Actual Results:
Nothing

Expected Results:
Text removed


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: b9c159361abd79862b30412c433fb355d63299e2
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

and in
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 23762a704133051184850fc711e44bc9a112f59a
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

and in
6.0

still ok with
Versie: 5.2.2.1 
Build ID: 3c2231d4aa4c68281f28ad35a100c092cff84f5d
CPU Threads: 4; Versie besturingssysteem:Windows 6.2; UI Render: standaard; 
Locale: nl-NL (nl_NL); Calc: group
Comment 1 Rainer Bielefeld Retired 2021-12-21 17:12:44 UTC
REPRODUCIBLE with  Installation of Version 7.2.4.1 (x64) / LibreOffice 
Build  27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win; Locale: de-DE (de_DE); UI: de-DE; Calc: threaded;  Elementary Theme; My normal User Profile

I will attach a reduced sample document from reporter's document. STR:
0. Open reporter's sample document
1. Click behind "Century?"
   » Caret flashes right from question mark
2. with <shift+arrowdown> select until end of document
3. <del>
   Expected: deletion of selected contents
   Actual: no deletion, highlighting of selection and selection vanishes  😥

Additionalinformation:
a) new sample document only contains selected area from step 1-2
b) any morereduced selection area makes the problem vanishing.
c) svaing as .ods does not heal the problem
Comment 2 Rainer Bielefeld Retired 2021-12-21 17:14:11 UTC
Created attachment 177064 [details]
Reduced sample document Also shows the bad effect
Comment 3 Rainer Bielefeld Retired 2021-12-21 17:55:51 UTC
Created attachment 177065 [details]
Most reduced Document reproducing the problem

Press <ctrl+a> then <del>: Nothing will become deleted
Comment 4 Rainer Bielefeld Retired 2021-12-21 18:01:54 UTC
Related to or DUP of "Bug 146283 - Deletion of particular contents range of particular document refuses to work with recording track changes on"?

Most reduced Document also CRASHes with Server Installation of Version:  4.0.0.3 WIN10 Build-ID  7545bee9c2a0782548772a21bc84a9dcc583b89;  Special devUserProfile
Comment 5 Gabor Kelemen (allotropia) 2021-12-22 15:44:59 UTC
Created attachment 177097 [details]
Screenshot of own reproducer documents after CTRL-A, Del

This happens because the document finishes with a section.

In the left side file tracked deleting works, the section is followed by an empty paragraph.
The right side file (just like the former two examples) lacks this last empty paragraph, the section is the last thing. Ctrl-A and Delete does not record a deletion, nor does an untracked deletion.

Version: 7.4.0.0.alpha0+ (x86) / LibreOffice Community
Build ID: 4f140ebac1f971d72f5bb59ee23a3fe248c4d16e
CPU threads: 13; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded
Comment 6 Gabor Kelemen (allotropia) 2021-12-22 15:50:07 UTC
Created attachment 177098 [details]
A similar example file made from scratch
Comment 7 Gabor Kelemen (allotropia) 2021-12-22 15:51:07 UTC
Created attachment 177099 [details]
Working example file not ending with section
Comment 8 Gabor Kelemen (allotropia) 2021-12-22 15:59:39 UTC
Also the problem is not a 5.2 regression: since 5.3 the example docx is imported to end with a section, this was not the case in 5.2. But the odt was bad before that.

Deleting all from the attachment 177098 [details] created a tracked deletion in:

Verzió: 3.6.0.4 (Build az.: 932b512) 

In 4.0 and 4.1 deletion crashed Writer.

Since 4.2.0 Writer does not crash, neither records a tracked change/does delete all content.
Comment 9 Gabor Kelemen (allotropia) 2021-12-22 16:04:24 UTC
I believe this is the same issue as bug 146283 - that example also ends with a section. But if you remove it from the Navigator - right click on Section 25 - Remove, then go back to the beginning and do the CTRL-A, CTRL-X the change is recorded.
Comment 10 QA Administrators 2023-12-23 03:13:21 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