| Summary: | clear per user icon cache (holding icons for SVG and at scaled UI) at least once during an upgrade installation | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | skierpage <info> |
| Component: | Installation | Assignee: | Mike Kaganski <mikekaganski> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | cloph, heiko.tietze, mikekaganski, quikee, timar74, vsfoote |
| Priority: | medium | Keywords: | needsDevEval |
| Version: | 6.3.1.1 rc | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=126446 | ||
| Whiteboard: | target:7.0.0 target:6.4.0.1 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 122245 | ||
|
Description
skierpage
2019-10-31 23:11:03 UTC
While it might be possible to craft a Windows build MSI custom action to remove the icon cache for installation of a single user system, seems unlikely to work on a multi-user install--so probably could not be done in the installation packaging. And, kind of seems like it would be useful cross platform--assure changed (or corrected as for OP) icon themes are parsed/rebuilt at least at a major release install. Without forcing users to fully reset profile, could per user clearing of the icon cache be forced for an initial launch of a new major release? Perhaps using the same ooSetupLastVersion test used for the What's new infobar (bug 69042). FTR:LibreOffice auto-restarts on the first start after an upgrade. Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/2d2a76dd0ada087c168134c0a873e0f9a98eea05 tdf#128523: drop cache directory when restart manager initiates restart It will be available in 6.5.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. How about backporting to 6.4 to have some live testing soon? Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-6-4": https://git.libreoffice.org/core/commit/bced052ae28a3cafbe4cd0538cefc9a37f80094f tdf#128523: drop cache directory when restart manager initiates restart It will be available in 6.4.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. So this removes the per user cache directory so removing the scaled icons (if any). But clearing the cache also clears cache of the the OpenGL shaders and the OpenGL/OpenCL configuration logs. An added benefit? Or, potential issues? (In reply to V Stuart Foote from comment #7) > But clearing the cache also clears cache of the the OpenGL shaders and the > OpenGL/OpenCL configuration logs. An added benefit? Or, potential issues? Possibly a matter to discuss. Personally I think that removal of shaders is not a problem (and possibly even a benefit); but storing logs in a cache directory is unfortunate and should be moved to user directory. |