Bug 138361 - AutoSave of the document does not work during the user's activity period
Summary: AutoSave of the document does not work during the user's activity period
Status: RESOLVED DUPLICATE of bug 149401
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.4.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-20 08:03 UTC by Igor Patrikeev
Modified: 2022-07-03 09:31 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 Igor Patrikeev 2020-11-20 08:03:32 UTC
Description:
AutoSave of an open document is stable only in the absence of user activity (the user does nothing). If the user performs some actions (for example, typing text), then AutoSave is highly likely not to occur during the period specified in the settings.

Steps to Reproduce:
1.In the parameters set AutoSave every 1 minute.
2.Create a document and add new text to it. Don't perform any more actions for the next 1 minute. After 60-70 seconds, force the app to terminate, for example, using the killall soffice.bin command. 
3. Open the document again, and after the restore procedure, make sure that the added text is saved.
4. Now, within the next 60-70 seconds, start typing random text. After that, force the app to be killed again, as in point 2
5. Open this document again. After the restore procedure, only the text added for the first time will be displayed. Random text was not saved.

Actual Results:
Text AutoSave is stable if there is no user activity during the AutoSave period

Expected Results:
Text AutoSave always occurs during the AutoSave period, regardless of user activity


Reproducible: Sometimes


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Версия: 6.4.5.2
ID сборки: 1:6.4.5-1~bpo10+1+ci202008131506
Потоков ЦП: 6; ОС: Linux 4.15; Отрисовка ИП: по умолчанию; VCL: kf5; 
Локаль: ru-RU (ru_RU.UTF-8); Язык интерфейса: ru-RU
Calc: threaded
==================================================
Версия: 7.0.2.2
Окружение: Потоков ЦП:2 ОС: Linux 5.4
Отрисовка ИП: по умолчанию; VCL:kf5
Локаль: ru-RU (ru_RU.UTF-8); Язык интерфейса: ru-RU
Comment 1 Oksana Ivanova 2021-08-04 21:36:15 UTC
confirm in

Win 7

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ac80ec817eb07c77a51bc0729985a473c734182e
CPU threads: 8; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (ru_RU); UI: en-US
Calc: CL

 The steps have been done:

1.In the parameters set AutoSave every 1 minute.
2.Create a document and add new text to it. Don't perform any more actions for the next 1 minute. After 60-70 seconds, turn off the computer.
3. Open the document again, and after the restore procedure, make sure that the added text is saved.
4. Now, within the next 60-70 seconds, start typing random text. After that, force the app to be killed again, as in point 2.
5. Open this document again. After the restore procedure, only the text added for the first time will be displayed. Random text was not saved.

Actual Results:
Text AutoSave doesen't work regardless of user activity. The text with changes is not seved after restoring.

The steps also were reproduced for the time periods:
1. when set option Save AutoRecovery information for 1 min (PC restarted after: more than in 1 min and then in less than 1 min)
2. when set option Save AutoRecovery information for 2 min (PC restarted after: more than in 2 min and then in less than 2 min)
3. when set option Save AutoRecovery information for 5 min (PC restarted after more than in 5 min and then in less than 5 min).
Comment 2 Buovjaga 2022-07-03 09:31:34 UTC
Looks like it was fixed as bug 149401. The setting requires a restart and the whole process was broken.

*** This bug has been marked as a duplicate of bug 149401 ***