Needs work
Project:
Olivero
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Oct 2020 at 13:16 UTC
Updated:
2 Oct 2026 at 10:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Pooja Ganjage commentedHi,
I am creating a patch for this issue.
Please review the patch.
Let me know for any suggestions.
Thanks.
Comment #3
Pooja Ganjage commentedComment #4
mherchel@Pooja Ganjage I only see that you changed the logo.svg. We need to optimize the other SVGs (rather than the logo).
Please include screenshots of the various SVGs in use after they're optimized to ensure there are no regressions. Also, please let us know what tool you used to optimize them.
Comment #5
mherchelComment #6
kishor_kolekar commentedComment #7
kishor_kolekar commentedComment #8
raman.b commentedImageOptim reports the following SVGs for optimizations:
Comment #9
raman.b commentedNW for screenshots
Comment #10
kiran.kadam911Providing updated patch with re-rolled 9.3.x
Kindly review.
Gulp SVG image optimization report:
Thanks!
Comment #11
mitthukumawat commentedPatch #10 applied cleanly for me and all the SVGs got optimized.
Comment #12
chetanbharambe commentedVerified and tested patch #10.
Patch applied successfully and looks good to me.
Testing Steps:
# Install Olivero theme
# Download the patch
# Run the command - ls -al (to check the size of SVGs)
# Apply the patch
# Run the command - ls-al (to check the updated size of SVGs)
Expected Results:
# User should see the expected size of SVGs
Actual Results:
# Currently User is able to see the size of SVGs but the size is maximum.
Note: Can be a move to +1 RTBC
Comment #13
chetanbharambe commentedRemoving the duplicate comments [Ignore]
Comment #14
chetanbharambe commented.
Comment #15
chetanbharambe commentedComment #16
kiran.kadam911Comment #17
alexpottThis patch does not apply to 9.3.x - we need to reoptimise the images in that branch...
error: patch failed: core/themes/olivero/images/chevron-down.svg:1
error: core/themes/olivero/images/chevron-down.svg: patch does not apply
error: patch failed: core/themes/olivero/images/search.svg:1
error: core/themes/olivero/images/search.svg: patch does not apply
error: core/themes/olivero/images/select-chevron-bg-default.svg: does not exist in index
error: core/themes/olivero/images/select-chevron-bg-error.svg: does not exist in index
error: core/themes/olivero/images/select-chevron-bg-highlight.svg: does not exist in index
Comment #18
xjmThis is a performance and scalability issue, so at least normal and maybe higher depending on the performance impact.
We never really set standards for frontend performance (aside from "any changes should have before-and-after size and number of aggregates posted" which I can't remember the last time I saw in practice), but saving an entire KB seems pretty good, all things considered.
Comment #19
xjmComment #22
gauravvvv commentedComment #27
andy-blumNeeds re-roll/rebase
Comment #28
_utsavsharma commentedRerolled for 10.1.x.
Please review.
Comment #29
Manoj Raj.R commented#23 looks good to me other than rebase as mentioned by #27.
+1 RTBC after re-roll/rebase
Comment #30
andy-blum@Manoj Raj.R - Screenshots of diffs are not helpful. The patch provides the diff, and the automated testing alerts us to problems like the patch not applying. For this specific issue, screenshots of the reduced filesize, and of the SVGs in use are what is needed to move the issue forward.
@_utsavsharma - Thank you for the updated patch, necessary screenshots are below.
Updated file sizes:
Old vs new icons on various backgrounds:
One issue I am noticing is that we're removing the viewbox attribute in favor of the width & height attributes. I'm not sure that's the way to go as it can interfere with the SVG's internal aspect ratio, causing icons to be clipped when the X/Y dimensions are overridden by CSS.
Comment #33
quietone commentedThe Olivero theme was approved for removal in #3590816: [policy, no patch] Deprecate Olivero and move to contrib.
This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
The deprecation work is in #3595082: [meta] Tasks to deprecate the Olivero theme and the removal work in #3595085: [meta] Tasks to remove the Olivero theme.
Comment #34
quietone commentedComment #35
quietone commentedComment #36
quietone commented