Bug 67929 - Graphics lists not saved
Summary: Graphics lists not saved
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Save
  Show dependency treegraph
Reported: 2013-08-09 00:55 UTC by Olivier Hallot
Modified: 2021-04-20 03:54 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2013-08-09 00:55:40 UTC
Saving Bitmap/Hatch/Arrowhead etc... list in invlaid storage does not warn user and does not save.

Steps to reproduce, for Arrowheads (same for other graphics objects)

1) Draw a line in any document. 

2) Select Line, open context menu, click on Line

3) Select Arrow Styles tab. Click the Save button. The save dialog opens to define path and filename.

4) Select an invalid path, e.g. / or /home or /sbin (non-writable folder)

Results: File is not saved. No warning for user.

Expected result: A warning message telling the user that the save operation failed.

The issue is in 

bool SvxXMLXTableExportComponent::save(

found in


that does not return false on unsuccessful save operation.
Comment 1 Olivier Hallot 2013-08-11 23:15:14 UTC
Correction: The illegal path save list error works with the bitmap list but does not return error with hatch lists, color lists, arrow lists, gradient lists and line styles lists.

The issue is in an uncatched error provoked by bSaveAsStorage 

 bool bSaveAsStorage = xTable->getElementType() == ::getCppuType((const OUString*)0);

in /svx/source/xml/xmlxtexp.cxx (line 223)

It should be catched in lines 

if( bSaveAsStorage )
  xSubStorage = ::comphelper::OStorageHelper::GetStorageFromURL( rURL, eCreate );

when GetStorageFromURL returns an error. (lines 243,244)

In that case, xTable->getElementType() seems to vary from bitmap to the other lists and makes bSaveAsStorage change.
Comment 2 Owen Genat (retired) 2013-12-08 05:13:18 UTC
(From comment #1)
> The illegal path save list error works with the bitmap list but does not return 
> error with hatch lists, color lists, arrow lists, gradient lists and line 
> styles lists.

Confirmed. Status set to NEW. Platform set to All/All. Tested under Ubuntu 10.04 x86_64 running Draw from:

- v3.3.0.4 OOO330m19 Build: 6
- v4.1.3.2 Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a

Version set to Inherited From OOo, which seem consistent with the OpenGrok history of the indicated file.
Comment 3 QA Administrators 2015-04-19 03:23:01 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2016-09-20 09:24:30 UTC Comment hidden (obsolete)
Comment 5 eisa01 2018-03-31 19:54:44 UTC
Still present, saving to root drive does not work and does not throw error

Build ID: a488c7ad2763b944713997911c1ddb0315d8c93f
CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2018-03-26_00:38:29
Locale: en-US (en_US.UTF-8); Calc: group
Comment 6 QA Administrators 2019-04-01 03:25:21 UTC Comment hidden (obsolete)
Comment 7 eisa01 2019-04-20 18:12:15 UTC
Still present

Build ID: ea9c13be02ba731074fa4207944ff7df40a0fb5c
CPU threads: 2; OS: Mac OS X 10.13.6; UI render: default; VCL: osx; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2019-04-10_20:43:17
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 8 QA Administrators 2021-04-20 03:54:49 UTC
Dear Olivier Hallot,

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://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team