Bug 133584 - Cannot edit an entire file after exiting read-only mode with Draw
Summary: Cannot edit an entire file after exiting read-only mode with Draw
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.3.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-01 14:58 UTC by remontees2
Modified: 2020-06-25 10:41 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The file with which I encounter the problems described in the bug report. (9.32 KB, application/vnd.oasis.opendocument.graphics)
2020-06-01 14:59 UTC, remontees2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description remontees2 2020-06-01 14:58:03 UTC
Description:
FILEOPEN, UI, EDITING
When I open the attached ODG file with LibreOffice Draw (which is by default open in read-only mode) and I click on the button to edit the file (and thus exit the read-only mode), "read only" is still marked in the title bar and I can't move some segments or even delete them.

Steps to Reproduce:
1. Open the attached ODG file.
2. Click "Editing the file"
3. Try to move some segments.

Actual Results:
I can't move most of the segments and the title bar of the LibreOffice window keeps displaying that my file is in read-only mode whereas it's not the case.

Expected Results:
When I click "Editing the file", the titlebar should not display "Read-only".
I should be able to move the segments and edit the whole file normally.


Reproducible: Always


User Profile Reset: No



Additional Info:
I have the problem with Windows 10 and Kubuntu 19.10. I can't test more…
Comment 1 remontees2 2020-06-01 14:59:17 UTC
Created attachment 161495 [details]
The file with which I encounter the problems described in the bug report.
Comment 2 Abhi 2020-06-12 17:42:00 UTC
Thank you for reporting the bug. This bug is no longer reproducible in version: Version: 6.4.4.2 (x64)
Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff

Changing status to RESOLVED WORKSFORME
Comment 3 Buovjaga 2020-06-24 16:51:47 UTC
I confirm that only the topmost and leftmost segments can be moved. The file is not opened in read-only mode for me. Tested on Linux and Windows master builds. Also older builds on Windows, 4.4.7, 3.3.0, always the same behaviour.

I guess we should unzip the file and take a look at the XML structure to figure out what is wrong.

It is difficult to treat this as a bug without steps we can use to reproduce from scratch.
Comment 4 Buovjaga 2020-06-25 10:41:15 UTC
I unzipped the file and looked at the content.xml. I noticed style:name="gr1" had style:protect="position size" and gr3 had style:protect="size"

remontees2: you can deactivate the protection by selecting a line, right-clicking, selecting Position and size and finally unticking Position or Size from the bottom-left "Protect" section.

You can even select all of them, right-click on a line (to not lose the whole selection) and deactivate the settings from all lines at once!

You did not mention, if you created the file yourself, so I am closing as notabug.