Summary: | Very Slow scrolling or no scrolling at with Skia Raster or Vulkan very high resolution image (reasonable speed with OpenGL) | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Telesto <telesto> |
Component: | Writer | Assignee: | Luboš Luňák <l.lunak> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | xiscofauli |
Priority: | medium | ||
Version: | 7.0.0.0.alpha0+ | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=133254 https://bugs.documentfoundation.org/show_bug.cgi?id=136244 https://bugs.documentfoundation.org/show_bug.cgi?id=134381 |
||
Whiteboard: | target:7.0.0 target:7.1.0 target:7.0.1 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 129062 | ||
Attachments: | Example file |
Description
Telesto
2020-04-26 18:38:02 UTC
Same can be observed scrolling attachment 123613 [details] in multipage view (less horrific)
So optimization wouldn't hurt, if possible :-)
The steps to reproduce are unclear. The "source image" is a text document. (In reply to Luboš Luňák from comment #2) > The steps to reproduce are unclear. The "source image" is a text document. Most problematic is scrolling pag 17.. but not sure if it's worth looking into (In reply to Telesto from comment #3) > (In reply to Luboš Luňák from comment #2) > > The steps to reproduce are unclear. The "source image" is a text document. > > Most problematic is scrolling pag 17.. but not sure if it's worth looking > into Could you please create a minimized document ? Created attachment 160715 [details]
Example file
[Automated Action] NeedInfo-To-Unconfirmed Patch in gerrit: https://gerrit.libreoffice.org/c/core/+/94118 Moving to ASSIGNED I'm noticing a hard coded 'cache'. In older versions this stuff could be configured.. not sure if people should fiddle around with it.. Expert configuration? But I have see insane large (or awfully slow) PNG's/GIF's/SVG/EPS images.. (there are meta bugs for it).. And I remember also a few presentations.. with quite a lot of madness in it.. The might need for a large cache.. However, this image handling does caching too? So no clue how everything fits together.. Note to myself to check.. Bug 123180 Bug 113038 Luboš Luňák committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/fc0bff85f3338cb4fe8f4d42421cb69801cb3abb cache results of Skia's drawTransformedBitmap() (tdf#132438) It will be available in 7.0.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. Just gave the attached document a try on my friend's haswell-era laptop (windows-10, skia/raster, intel haswell 4200u) and while it is useable, scrolling is still quite choppy with libreoffice + skia/raster - whereas with Word2013 scrolling is completly fluent and snappy. Forgot to link the recorded video of LibreOffice 7.0.2 skia/raster vs Word2013 scrolling: https://youtu.be/umgFyLVlC7I Luboš Luňák committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/4addedabe6778e70754709290502d721cdef796d tweak not caching images in Skia drawing when upscaling (tdf#132438) It will be available in 7.1.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. The change from 2020-05-14 got later unintentionally affected by another change, but this recent commit should make things work again. Luboš Luňák committed a patch related to this issue. It has been pushed to "libreoffice-7-0": https://git.libreoffice.org/core/commit/7057d6729c865eac4831f9c286421b553a7c4ee9 tweak not caching images in Skia drawing when upscaling (tdf#132438) It will be available in 7.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. |