Working on a presentation with multiple animations I often find that I have to reorder the different animations. Unfortunately the only way to reorder the animations is to press "move up" or "move down", and clicking those buttons has an extremely noticable lag. Removing the lag would be a great way to make working on animations in Impress more convenient. Adding a way to drag and drop to reorder the animations would be great as well, but the lag affects everything in the animation panel. System: Kubuntu 18.04
Is this still a problem in a recent master: https://wiki.documentfoundation.org/QA/Testing_Daily_Builds There has been a bitmap handling rework recently. Set to NEEDINFO. Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.
There is still a delay (estimate between 0.25 and 0.5 sec) between pressing the button and the list updating in the UI. I also noticed that when adding a new animation the animation list is updated instantaneously, but flickers again (redrawing?) after a similar delay as happens when reordering. Test: Create empty slideshow. Draw five stars. Add animations to all of them. Select last star and press "move up" in animation panel.
Created attachment 143029 [details] Example file Sorry for my silly question, for some reason I thought you were talking about animated GIFs. The slowness is already in 3.6.7 Arch Linux 64-bit Version: 6.2.0.0.alpha0+ Build ID: 0929a98acca8ec4d86caa97d3090a39f89f35f90 CPU threads: 8; OS: Linux 4.17; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded Built on June 20th 2018 Arch Linux 64-bit Version 3.6.7.2 (Build ID: e183d5b)
Created attachment 143030 [details] Callgrind output from master
The drag'n'drop request is bug 37483
Brian Fraser committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1fb688b2e13da39b8099a3f4ba58dc9aeef8d723 tdf#118065 Fix slow Impress custom animation sidebar update It will be available in 6.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Delay was caused by a 0.5s timer which was doing a UI refresh after most changes to animations. The timer has been changed to 0.05s (50ms), which makes the UI significantly more responsive.