Bug 136482 - The image in the document is write-protected: can be deleted from Navigator, but not directly
Summary: The image in the document is write-protected: can be deleted from Navigator, ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Writer-Images
  Show dependency treegraph
 
Reported: 2020-09-04 21:28 UTC by Dan Essin
Modified: 2026-02-06 03:16 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
message box (19.39 KB, image/jpeg)
2020-09-04 21:33 UTC, Dan Essin
Details
sample document with wr-te-protected image (16.36 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-09-04 21:38 UTC, Dan Essin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Essin 2020-09-04 21:28:49 UTC
Description:
I copied some stuff from a web page and pasted it into a ne document. Then I tried to delete part of the text. It won't allow that

Steps to Reproduce:
1. create new writer document
2. Copy a portion of a web page
3. Select about 20 lines at the end and press delete.

Actual Results:
message box
read-only cont
Write-protected content cannot be changed
No modifications will be accepted

Expected Results:
text should have deleted


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no
Comment 1 Dan Essin 2020-09-04 21:33:43 UTC
Created attachment 165164 [details]
message box
Comment 2 Dan Essin 2020-09-04 21:38:59 UTC
Created attachment 165165 [details]
sample document with wr-te-protected image
Comment 3 m_a_riosv 2020-09-05 00:13:02 UTC
For me only the preview of the movie can not be deleted selecting it or a piece of text with in inside, using the cursor.
But it's possible using the navigator, right-clicking on the image name and selecting delete.

Version: 7.1.0.0.alpha0+ (x64)
Build ID: baa84b5b4d287da0f00fc3fbf11f464f267c9202
CPU threads: 4; OS: Windows 10.0 Build 20180; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: threaded
Comment 4 m_a_riosv 2020-09-05 00:14:30 UTC
Please edit the bug's title, to reflects better what the bug is.
Comment 5 milly texas 2020-09-05 14:24:31 UTC Comment hidden (off-topic)
Comment 6 QA Administrators 2022-09-06 03:53:29 UTC Comment hidden (obsolete)
Comment 7 Kira Tubo 2023-10-13 07:29:33 UTC
Reproduced as described in Comment 3: 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1ec2e39cf4d5fe0a592bc783fd8bcdc4345c8cbd
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 6.3.0.0.alpha1 (x64)
Build ID: 547edd20e527fb02900f6174973770d26306e2e7
CPU threads: 6; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: CL

Reproduced as described in original report:

Version: 5.4.0.0.alpha1 (x64)
Build ID: 0b9f9bef65bb21ebb6a64aafad448f7f62dc824a
CPU threads: 6; OS: Windows 6.19; UI render: default; 
Locale: en-US (en_US); Calc: CL

Not reproduced in 3.3 or 4.0 beta => Regression

Version 4.0.0.0.beta1 
(Build ID: 87906242e87d3ddb2ba9827818f2d1416d80cc7)
Comment 8 raal 2024-02-05 23:52:37 UTC
This seems to have begun at the below commit in bibisect repository/OS bibisect-linux-64-5.2.
Adding Cc: to Oliver Specht ; Could you possibly take a look at this one?
Thanks
 d2b62d7f6eda96c1450cbdde99e6d3fe494ba047 is the first bad commit
commit d2b62d7f6eda96c1450cbdde99e6d3fe494ba047
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Sun Dec 17 00:30:05 2017 +0100

    source 523a3d18e98cd51aa8bf76cf76314a22ddc2b2cf

24365: tdf#99434: import/export documentProtection-forms from .docx incl. test | https://gerrit.libreoffice.org/c/core/+/24365
Comment 9 Oliver Specht (CIB) 2024-02-06 11:42:33 UTC
It's not a bug to put this image into a protected section - it's also protected in Word.
IMO it's wrong to allow to remove it using the navigator.
Comment 10 QA Administrators 2026-02-06 03:16:15 UTC
Dear Dan Essin,

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