Bug 157417 - A table becomes write protected without the user choosing to set write protection.
Summary: A table becomes write protected without the user choosing to set write protec...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.1.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-24 18:47 UTC by hicijew174
Modified: 2024-04-24 03:15 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 hicijew174 2023-09-24 18:47:32 UTC
Description:
This bug appeared while I was working in an ODT document with multiple separate tables. When attempting to move tables around by copying and pasting, the original table could not be deleted. Cell contents and unmerged rows or columns could be deleted without issue. Merged cells could also be deleted freely prior to setting the table properties to exclude breaking rows across pages, but no indication was given at any time that this setting would result in the entire table being treated as write protected simply due to a merged cell being present. This outcome seems unintentional, and is undesirable without any form of communication that it happened because of that setting.



Steps to Reproduce:
How to reproduce in OL Writer:
1. Create a new OL Writer ODT file.
2. Make a 2x2 table. Default settings.
3. Select 1 column. Merge the 2 cells together.
4. Select entire table. Go to Table Properties > Text Flow.
5. Uncheck 'Allow row to break across pages and columns' and click OK.

Actual Results:
With the entire table selected, 
- the table cannot be deleted, whether by the Delete key or by context menu.
- using the Delete key will give an error message indicating that the table is write protected.
- the Write Protection options in the table menu show as disabled (greyed out).

With individual cells selected
- none show as having Write Protection enabled (via Table menu).

With the column of merged cells selected,
- the column of merged cells cannot be deleted

With the column of unmerged cells selected,
- the column of unmerged cells can deleted and the single remaining merged cell can now be deleted.

Selecting rows, whether or not the merged cell is included, appears to be unaffected by this bug.

Adding additional rows or columns may or may not change the behaviour, depending on where they are added, how many, and in what order. For example, adding a single 3rd row to the bottom of the 2x2 table seems to remove the bug if no further modifications are made. However, the bug may reappear if further columns are added, such as repeating the merged cell. Repetitions of different varieties of these actions produces mixed results.

Expected Results:
The expected behaviour is that collections of 2 or more rows that share 1 or more merged cells should remain together as a group when determining if the given rows do or do not break across pages, in the same manner that a single row or cell with multiple lines of text may or may not break across a page depending on its size and location.

It is also expected that the user be able to delete such a table as desired, since no write protection was chosen.

This bug also seems to affect changing the size of the table (or rows and columns that include merged cells), but that seems secondary and perhaps more complex to resolve.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.6.1.2 (X86_64) / LibreOffice Community
Build ID: f5defcebd022c5bc36bbb79be232cb6926d8f674
CPU threads: 20; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 m_a_riosv 2023-09-25 17:29:18 UTC
Please, could you attach a sample file with the issue, so someone can test.
Comment 2 QA Administrators 2024-03-24 03:15:02 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2024-04-24 03:15:27 UTC
Dear hicijew174,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp