Bug 136092 - Sheet protection function
Summary: Sheet protection function
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Cell-Sheet-Protection
  Show dependency treegraph
 
Reported: 2020-08-25 00:55 UTC by motoki
Modified: 2021-04-22 03:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description motoki 2020-08-25 00:55:29 UTC
シートの保護をする際に、行と列の削除と挿入を許可するのですが、保存してそのドキュメントを開き直すと削除も挿入も許可されていないようになります。改めて許可全部にチェック入れて保護すると、その時は正常ですが、一度とじて再度開くと許可されていないことが多々あります。
ドキュメントはNASで共有しています。Windows10とmacOSが共存するかんきょうです。
LibreOfficeは便利でとても使いやすいです。早急な改善または対策を希望いたします。
何卒よろしくお願い申し上げます。
Comment 1 Julien Nabet 2020-08-25 07:34:53 UTC
From Google translate:
"When I protect a sheet, I allow rows and columns to be deleted and inserted, but when I save and reopen the document, neither deletion nor insertion is allowed. If you check all the permissions again and protect it, it is normal at that time, but often it is not permitted once you open it and reopen it.
Documents are shared on NAS. This is a coexistence of Windows 10 and macOS.
LibreOffice is convenient and very easy to use. I would like immediate improvement or countermeasures.
Thank you for your cooperation."
Comment 2 Buovjaga 2020-09-22 12:54:17 UTC
This report was brought to my attention by a triager in training, Paul.

After bisecting to find out when this feature appeared, I discovered the meaning of this feature:
https://wiki.documentfoundation.org/ReleaseNotes/5.4#Calc
"Note that when row and column insertions are enabled, you can insert rows or columns even when the range to insert the new rows or columns into contains protected cells which will get shifted after the insertion. Row and column deletions, on the other hand, are only allowed on unprotected cells."

So you need to have cells that *are not protected* for anything to work. Even if I save and reload, the behaviour is like described in the release notes. If I try to delete a row while in an unprotected cell, it will not allow it, because it would delete protected cells.

motoki: does the explanation help? If not, maybe you could attach an example document for testing.

By the way, I think this article should be updated: https://help.libreoffice.org/latest/en-US/text/scalc/guide/cell_protect.html
I should open a report for it.
Comment 3 QA Administrators 2021-03-22 04:19:57 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2021-04-22 03:54:58 UTC
Dear motoki,

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