Description: Since version 7.5… a significant error occurs when exporting Calc charts to svg: The title of the y-Axis is missing in the generated svg file. Up to LO 7.4.7.2 the y-Axis was exported correctly. Steps to Reproduce: 1. Create a chart from any X,Y data, e.g. „X-Y (Scatter)“ or „Area“. 2. Select the chart and choose "Export as Image" with the right mouse button as svg file. 3. Then import the svg file into a Writer document. Actual Results: The title of the y-Axis is missing. (The titel of the x-Axis ist exported correctly). Expected Results: The svg chart contains the title of the y-Axis as in Calc. Reproducible: Always User Profile Reset: Yes Additional Info: Export with y-Axis
Created attachment 187494 [details] Calc file with xy-chart and re-imported svg file
I thought this was going to be another duplicate of the already-fixed bug 153672, but I can reproduce in: Version: 7.5.3.2 (X86_64) / LibreOffice Community Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded as well as: Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: f3aab159f1c1e00c25e6b4ca1e50813bc343f4f3 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded PNG export is fine. Caolán, this issue was introduced with 1fa731d03ba0f22cb9392a578124ea977eaab2e9 but was not fixed by bd42cd1a325cd53db9fca0865f851bcd6e09ccc6 (confirmed with linux-64-7.5 repo). Can you please have a look?
*** Bug 157677 has been marked as a duplicate of this bug. ***
Still reproduced in recent trunk build: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 31fb3045dabdb27d913712f3abcade315e3ea9bd CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded
looks like the diff between working and failure in the svg output is good: <text class="SVGTextShape" transform="rotate(-90 825 4331)"><tspan class="TextParagraph"><tspan class="TextPosition" x="825" y="4331"> bad: <text class="SVGTextShape" transform="rotate(-90 -4212 4065)"><tspan class="TextParagraph"><tspan class="TextPosition" x="825" y="4332"> And I think the problem is that the svg export is "peeking ahead" for text positions and that peek-ahead isn't mapmode aware
Hello Caolán, I don't understand that (I'm not a programmer), but I reported the problem in May 2023 for version 7.5.2.3. It is still present now in version 24.8.1.2, and in all previous versions everything worked flawlessly. greetings Jörn
yeah, the above is where the export mistake is visible in the output svg which helps me see why my original change far away from the svg export had this effect. https://gerrit.libreoffice.org/c/core/+/173260 should fix this
*** Bug 157295 has been marked as a duplicate of this bug. ***
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/623eb17d6b699a280e6d096fb1be4d543cf9f064 tdf#155488 svg export "peek-ahead" didn't see MapMode changes It will be available in 25.2.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.
done in trunk, backports to 24-8 and 24-2 in gerrit
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-24-8": https://git.libreoffice.org/core/commit/11130945d1eceea22ce3fb96579d33996482c8ad tdf#155488 svg export "peek-ahead" didn't see MapMode changes It will be available in 24.8.2. 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.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-24-2": https://git.libreoffice.org/core/commit/019cb16230e8cbd7024da97b560b87fcd50ba312 tdf#155488 svg export "peek-ahead" didn't see MapMode changes It will be available in 24.2.8. 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.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-24-2-7": https://git.libreoffice.org/core/commit/c0ad48bb086cfddbca9774d9fd8867acc077db31 tdf#155488 svg export "peek-ahead" didn't see MapMode changes It will be available in 24.2.7. 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.