Created attachment 125906 [details] A chart that is not just a chart 1. Start new document in Writer. 2. Click Chart on toolbar to insert a sample chart. 3. Verify you're in the chart editor, and while in there, save your document. => Save As dialog opens (note the type: ODF Chart), then document is saved as a chart with .odc extension (further saves keep this format/extension even when done from the document), and will be opened as an empty LibreOffice Chart next time. The document can be fixed manually by adjusting media-type in manifest.xml from "application/vnd.oasis.opendocument.chart" to "application/vnd.oasis.opendocument.text" (there's still a document recovery dialog in Writer). Sometimes this error message pops up when trying to save: "Error saving document <file name>: Wrong parameter. The operation was started under an invalid parameter." (<file name> = the name given in the Save As dialog) Not sure what the exact steps are to get an error, I usually clicked around inside/outside the chart during testing. Reproduced in 4.1.0.4, 5.1.4.2 and master build in Windows 7, and with 5.0.5.2 in Linux. Not reproduced in 4.0.0.3. => regression Bug 70977 is related, but this one didn't occur in 4.0, and the expected behavior could be different in Writer compared to Calc. (would saving a chart separately be a legitimate feature in Writer?)
Created attachment 126035 [details] console logs On pc Debian x86-64 with master sources updated today, I could reproduce this. I attached console logs.
I also repro (browser tab was left open, so mid-air collision :)). Let's pump up the severity. Arch Linux 64-bit, KDE Plasma 5 Version: 5.3.0.0.alpha0+ Build ID: ef47ce2397d4ed453fe01d994d13a13f442ec3bb CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; Locale: fi-FI (fi_FI.UTF-8) Built on July 2nd 2016
Bibisected using repo bibisect-41max in Linux. commit a7eea83520d7fdac013472fdd57f92f22fdcb59c Author: Matthew Francis <mjay.francis@gmail.com> Date: Fri Sep 18 10:45:10 2015 +0800 source-hash-fbaad98be26889bd0e278093f95a14bdb13786b6 Bibisect: This commit covers the following source commit(s) which failed to build ff98426745b76fef17e78d75f9b18b26ebc69a74 1b54ea0fb976d0dd322f833cab83afc1a12c5582 3a5c97a32f8b2464297fa7ca46cde0a51d7ba88f 70cfeaf1e2a0b4b741c6914e79c76e8c9f4430f0 c07d31125a395727ebfb1d62d9b9008c74ca15ae b327b0dc2724958acce6e1df1620c1a919ea6bf8 4517bb391afea870f856e030d8b1e5e8ee9364ac ff6c2e720ba3eb42636b0e7f2ad1981537658d39 b0434a2a6d9bd4730710a19aec5ddbea83014809 commit fbaad98be26889bd0e278093f95a14bdb13786b6 Author: Markus Mohrhard <markus.mohrhard@googlemail.com> AuthorDate: Fri Mar 15 01:35:45 2013 +0100 Commit: Markus Mohrhard <markus.mohrhard@googlemail.com> CommitDate: Fri Mar 15 01:42:09 2013 +0100 forgot the file Change-Id: I90a001b354810daefd6cd05ca96de4207eee15aa # bad: [e8a1c54dfe8a4bc03d2ce9cb9906bf06d9affa7d] source-hash-863d38fbfa4fb4861e476828c46410602100919e # good: [8cb222c656c0444f66cfa5a35ed204169bb91e09] source-hash-efca6f15609322f62a35619619a6d5fe5c9bd5a4 git bisect start 'latest' 'oldest' # good: [789cb134f3000918fe031ffce19c57e505cab328] source-hash-8669ad398a2971706ce22b6e5fe316991977452a git bisect good 789cb134f3000918fe031ffce19c57e505cab328 # skip: [0699ea5ef4cb907f6f387cdf2aac183bd8fc5643] source-hash-ba6989df7dffb4fd2c62dbb9f5b1c9b000b4abdd git bisect skip 0699ea5ef4cb907f6f387cdf2aac183bd8fc5643 # bad: [3032632d514891fc82a76f3526f4a61cb064d8ca] source-hash-2f205ee79ea929c6fce5686512bd468ab78a877a git bisect bad 3032632d514891fc82a76f3526f4a61cb064d8ca # bad: [62e04a3511acab40dccdf02fde6b1fcef0cb2b39] source-hash-e518ef52bbda3449130f51dbbf6f0a60bb76298f git bisect bad 62e04a3511acab40dccdf02fde6b1fcef0cb2b39 # bad: [6ee77b3f9cf5cc21ee3f66ad467c900bf390aabe] source-hash-f25fcba2f2ef699e8366d3681ae6c636798569a8 git bisect bad 6ee77b3f9cf5cc21ee3f66ad467c900bf390aabe # bad: [d43254ba1cc8307ce6f4b17038a173f0a4054e4a] source-hash-e8620b247dcba55f67ad7eaf63cfe5ac3831b187 git bisect bad d43254ba1cc8307ce6f4b17038a173f0a4054e4a # good: [90483904b5be51b4182806da02dd188669261b79] source-hash-c1ba64c2d90dfe73eece410a86f630a0032d0ffe git bisect good 90483904b5be51b4182806da02dd188669261b79 # good: [c67665788140d5d1e0a5e60f9e2ae4a016bf504e] source-hash-7a13e3dc20908bad26b65606ce6efbfeb97fca55 git bisect good c67665788140d5d1e0a5e60f9e2ae4a016bf504e # bad: [e589e47d5a7d8c69fc70ea60faa9fc23fe91d6ea] source-hash-4a5b2c017509ff0ba5e4a2ae2c21621385e2952a git bisect bad e589e47d5a7d8c69fc70ea60faa9fc23fe91d6ea # bad: [d57f581610dbe7f6996f9e69829f2734ace6b058] source-hash-9ff5720b8aa993c24fe00f1e326c3cb80b2d8eb5 git bisect bad d57f581610dbe7f6996f9e69829f2734ace6b058 # good: [9370c2e1ccf78dd908f1c1beec25b09275824a94] source-hash-252a2f00c8eda9d5eb10acb5df86f2d67478c26a git bisect good 9370c2e1ccf78dd908f1c1beec25b09275824a94 # good: [746fbcbd6f60ee464e9ac300a7df59d0106ef64c] source-hash-b0cf3aba085373d84a55ef144b273a8a89d017af git bisect good 746fbcbd6f60ee464e9ac300a7df59d0106ef64c # good: [8dd122619bd5a46dacb8c67b73c88d92ebc75274] source-hash-3ce6b70835762ef0cb21e5742c6744c7c2ad4aed git bisect good 8dd122619bd5a46dacb8c67b73c88d92ebc75274 # bad: [a7eea83520d7fdac013472fdd57f92f22fdcb59c] source-hash-fbaad98be26889bd0e278093f95a14bdb13786b6 git bisect bad a7eea83520d7fdac013472fdd57f92f22fdcb59c # good: [8fcb0c58fe9bf75e75e3c253d0dc348c1ee212d8] source-hash-ca4d16429ab0d060b8e894fc6363b75ba82c80b0 git bisect good 8fcb0c58fe9bf75e75e3c253d0dc348c1ee212d8 # first bad commit: [a7eea83520d7fdac013472fdd57f92f22fdcb59c] source-hash-fbaad98be26889bd0e278093f95a14bdb13786b6
Bibisection points to a short range of commits by Markus, but there're only one or at most two candidates here, so I'm adding the bisected keyword. Adding Cc: to Markus Mohrhard. Not sure what'd be the preferred behavior, I'd say saving from an open chart inside a document/spreadsheet should never save just a chart or a broken document, but having a way to export the chart to a file could be useful. https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=ff98426745b76fef17e78d75f9b18b26ebc69a74..fbaad98be26889bd0e278093f95a14bdb13786b6 https://cgit.freedesktop.org/libreoffice/core/commit/?id=4517bb391afea870f856e030d8b1e5e8ee9364ac author Markus Mohrhard <markus.mohrhard@googlemail.com> 2013-03-14 22:20:48 (GMT) committer Markus Mohrhard <markus.mohrhard@googlemail.com> 2013-03-15 00:30:55 (GMT) "first step for Insert->Chart From File" https://cgit.freedesktop.org/libreoffice/core/commit/?id=fbaad98be26889bd0e278093f95a14bdb13786b6 author Markus Mohrhard <markus.mohrhard@googlemail.com> 2013-03-15 00:35:45 (GMT) committer Markus Mohrhard <markus.mohrhard@googlemail.com> 2013-03-15 00:42:09 (GMT) "forgot the file"
** Please read this message in its entirety before responding ** 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 http://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 MassPing-UntouchedBug
Markus Mohrhard committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/d543e8dfd3d8ae718e29304a155e1cf70d08325d%5E%21 tdf#93005, tdf#100611, remove the incomplete ODC export feature It will be available in 6.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Markus Mohrhard committed a patch related to this issue. It has been pushed to "libreoffice-6-2": https://git.libreoffice.org/core/+/4632afbd9ecdf85f3980b41fa9d58b6099aa2d81%5E%21 tdf#93005, tdf#100611, remove the incomplete ODC export feature It will be available in 6.2.0.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.