Bug 152400 - Share spreadsheet: opening an already opened file after save will open it second time
Summary: Share spreadsheet: opening an already opened file after save will open it sec...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: File-Opening
  Show dependency treegraph
 
Reported: 2022-12-06 14:22 UTC by Mike Kaganski
Modified: 2025-08-19 03:12 UTC (History)
3 users (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 Mike Kaganski 2022-12-06 14:22:48 UTC
Preparation:

a. Create a spreadsheet;
b. Save it as ODS;
c. Tools->Share Spreadsheet;
d. Check the "Share this spreadsheet with other users"->OK;
e. Confirm saving the file;
f. Close it.

Testing:

1. Using file manager, double-click the spreadsheet to open in Calc.
2. After it opens, confirm "The spreadsheet is in shared mode" warning in Calc.
3. Using file manager, double-click the spreadsheet again.
   => It will not open the second time; instead, the already opened file should activate. In the menu Window, there is only one instance of the file (as expected).
4. In Calc, edit any cell (say, put "1" into A1).
5. Repeat #3 above.
   => The same expected result: the file is *not* opened second time; instead, already opened file should activate. Menu Window only shows one instance of the file.
6. In Calc, save the file (Ctrl+S)
7. Repeat #3 above.
   => At this point, the second window appears with this file, accompanied by "The spreadsheet is in shared mode" warning, again. Confirming the warning, there are two entries for this document under Window menu. One may see that these two windows are not just different views of the same document (as created by Window->New Window); e.g., entering something in B1 in one window will not show in the other, as would happen if these were normal views into the same document.

Now you can edit the same document in two different windows in the same application session, and if you alter the same range, save the first window, and try to save the second, you will get a "Resolve Conflicts" dialog.

This is totally unexpected. This is reproducible using OOo 3.2.0.
Comment 1 Vladimir Sokolinskiy 2022-12-06 14:35:05 UTC
Repro.

Version: 7.4.2.3 (x64) / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 6; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded
Comment 2 siti 2023-02-19 12:22:40 UTC
Same problem

Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded
Comment 3 QA Administrators 2025-08-19 03:12:58 UTC
Dear Mike Kaganski,

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