Bug 118313 - FILESAVE Error when saving odg containing curve
Summary: FILESAVE Error when saving odg containing curve
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.4.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-22 07:32 UTC by work
Modified: 2019-05-13 17:51 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file. Contains the straight line before turning it into a curve. (7.85 KB, application/vnd.oasis.opendocument.graphics)
2018-06-23 09:03 UTC, work
Details

Note You need to log in before you can comment on or make changes to this bug.
Description work 2018-06-22 07:32:01 UTC
Description:
When trying to save a draw document containing just a curve I got the following error message:
"Error saving the document <name>: Write Error. The file could not be written."

Steps to Reproduce:
1. Select the curve tool and create a straight line (document can still be saved)
2. Click on the line, enable the Points tools (F8), click on one end point of the line
3. Click "Convert to Curve" --> saving the document fails

Actual Results:
Error message shows up: "Error saving the document <name>: Write Error. The file could not be written."

Expected Results:
Document should be saved.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
OS is Debian testing. I could reproduce this bug with 6.0.5.1 rc as well as 6.1.0.0.beta2 from the Debian repository and 5.4.7.2 from libreoffice.org.
Comment 1 Regina Henschel 2018-06-22 21:11:29 UTC
I have no problem saving the document. I use version 6.2 on Windows 10.
Comment 2 work 2018-06-23 09:03:00 UTC
Created attachment 143054 [details]
Test file. Contains the straight line before turning it into a curve.

I tested this on three Linux machines now. They all show the same behaviour.
Comment 3 Susan Gessing 2018-06-25 00:30:26 UTC
I was able to save with no problem on Windows 8.1, on the following:

Version: 6.0.5.2 (x64)
Build ID: 54c8cbb85f300ac59db32fe8a675ff7683cd5a16
CPU threads: 4; OS: Windows 6.3; UI render: GL; 
Locale: en-US (en_US); Calc: CL
Comment 4 Buovjaga 2018-07-13 14:54:32 UTC
Works fine here, tried also with gen VCL backend.

Three different machines sounds weird when none of us can repro. So you really tested with a fresh user profile or Safe mode? https://wiki.documentfoundation.org/UserProfile

Same result with an appimage? https://libreoffice.soluzioniopen.com/

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: bd394492c165d27c96a44495d9ca694a242acb8f
CPU threads: 8; OS: Linux 4.17; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on July 11th 2018

Arch Linux 64-bit
Version: 6.0.5.2
Build ID: 6.0.5-1
CPU threads: 8; OS: Linux 4.17; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Comment 5 work 2018-10-08 15:24:24 UTC
So, I did another fresh Debian testing install with version 6.1.2.1 and the problem still persists. Resetting the user profile makes no difference. I also tried the appimage from the provided link (also version 6.1.2.1) with the same result.

However, if I create and save a curve in Ubuntu (which works) I can edit and save the document in Debian as long as I don't add a new curve.
Comment 6 work 2018-10-22 07:42:16 UTC
Version 6.1.3 is still affected.

Debian 64 bit
Version: 6.1.3.1
Build-ID: 1:6.1.3~rc1-1
CPU-Threads: 4; BS: Linux 4.18; UI-Render: Standard; VCL: gtk3; 
Locale: de-DE (de_DE.UTF-8); Calc: group threaded
Comment 7 Liang Yu 2018-11-29 08:42:09 UTC
version 6.3.0.0alpha result in same problem(cannot saving file)\

however I didn't get message like "Error saving the document <name>: Write Error. The file could not be written."

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 0f25a3c36f27fd51453b9a9115f236b83c143684
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-27_20:06:55
Locale: zh-TW (zh_TW); UI-Language: en-US
Calc: threaded
Comment 8 Franklin Weng 2018-12-06 16:10:54 UTC
Not reproducible in

版本:6.3.0.0.alpha0+
組建 ID:e4c2d0bb57ab8ea8f5c400d103d01376b8140f22
CPU 執行緒:4; OS:Linux 4.15; UI 算繪:GL; VCL: kde5; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2018-11-30_21:37:10
語言地區:zh-TW (zh_TW.UTF-8); UI-Language: zh-TW
Calc: threaded
Comment 9 raal 2018-12-30 14:53:51 UTC
I can not confirm with Version: 6.3.0.0.alpha0+
Build ID: 993913469e74e9db9743004bbe36aa412411671c
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Comment 10 Xisco Faulí 2019-02-07 17:15:35 UTC
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 11 Regis Perdreau 2019-04-04 01:11:31 UTC
Can't reproduce in ;

Version: 6.3.0.0.alpha0+
Build ID: 413461e3cf3a4b32a17419f67f879a8975c43987
Threads CPU : 4; OS : Linux 4.15; UI Render : par défaut; VCL: gtk3; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Comment 12 work 2019-05-13 17:49:31 UTC
I can still reproduce the bug with the version that is shipped currently with Debian testing:

Version: 6.1.5.2
Build-ID: 1:6.1.5-3
CPU-Threads: 12; BS: Linux 4.19; UI-Render: Standard; VCL: gtk3;

However, with

Version: 6.2.3.2
Build-ID: aecc05fe267cc68dde00352a451aa867b3b546ac
CPU-Threads: 12; BS: Linux 4.19; UI-Render: Standard; VCL: gtk3;

from https://www.libreoffice.org/download/libreoffice-fresh/ the problem is solved.
Comment 13 Xisco Faulí 2019-05-13 17:51:34 UTC
Thanks for retesting with the latest version.
Setting to RESOLVED WORKSFORME as the commit fixing this issue hasn't been identified.