Bug 40947 - Comparing version changes in Calc shows wrong author
Summary: Comparing version changes in Calc shows wrong author
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
3.3.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: File-Versioning
  Show dependency treegraph
 
Reported: 2011-09-16 13:57 UTC by Mario
Modified: 2025-10-19 07:28 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
test file with described problem (17.32 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-02-08 06:49 UTC, Mario
Details
Demo document (29.16 KB, application/vnd.oasis.opendocument.text)
2025-10-19 07:27 UTC, BogdanB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mario 2011-09-16 13:57:37 UTC
Problem:

When working with several users on the same spreadsheet one after another (no sharing) and each user saves a version, then when comparing an old version to the openend version, there is only one user listed as author: the user that has the document open in this moment.

Steps to reproduce:

- Create a spreadsheet as UserA (Homer), do some work, save it, then save it as a version (v1Homer), then close it
- Open this spreadsheet as UserB (Bart), do some work, save it as another version (v2Bart)
- Open this spreadsheet again as Homer, go to File -> Versions, select version v1Homer, then press "Compare"

Result here: Every change is listed with author "Homer" but it should show "Bart" because Bart made the changes between the first version (v1Homer) and the now opened document (at version v2Bart).

If I do the same in the Writer application, everything is correct (User Bart is show as author of the changes), so I guess this is a bug related especially to Calc.
Comment 1 Björn Michaelsen 2011-12-23 12:35:04 UTC Comment hidden (obsolete)
Comment 2 sasha.libreoffice 2012-02-03 01:47:37 UTC
@ Mario 
Please, attach both described document
Comment 3 Mario 2012-02-08 06:49:55 UTC
Created attachment 56751 [details]
test file with described problem

User Homer made some changes but when comparing, Mario is listed as the change author. Use File -> Versions -> Compare

The change in line 2 (homer) is done by user Homer, not Mario
Comment 4 sasha.libreoffice 2012-02-08 07:24:46 UTC
in 3.3.4 and in 3.5.0 beta on Fedora 64 bit in column "Verison" is my name
Change version to 3.3.4 as most early reproducible

Thanks for attachment
Comment 5 QA Administrators 2014-10-24 03:18:21 UTC Comment hidden (obsolete)
Comment 6 Mario 2014-11-07 12:33:41 UTC
The bug is still present in:

Version: 4.3.3.2
Build-ID: 4.3.3.2 Arch Linux build-1
Comment 7 QA Administrators 2015-12-20 16:10:16 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2017-01-03 19:47:26 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2019-12-03 13:58:05 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2021-12-03 04:23:34 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2023-12-04 03:14:55 UTC Comment hidden (obsolete)
Comment 12 BogdanB 2025-10-19 07:27:35 UTC
Created attachment 203432 [details]
Demo document

This document has 3 author: LibreOfficeA, LibreOfficeB and LibreOfficeC.

When using Compare, just one author: LibreOfficeC.
Comment 13 BogdanB 2025-10-19 07:28:30 UTC
Also in Writer, maybe the code to use version is common to all modules.