Bug 143732 - Right/left arrow behaviour in presentations is unpredictable
Summary: Right/left arrow behaviour in presentations is unpredictable
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.4.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-04 20:19 UTC by Geoffrey Lee-Dadswell
Modified: 2021-08-30 08:41 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Impress file with two simple animations and one slide transition (21.24 KB, application/vnd.oasis.opendocument.presentation)
2021-08-10 14:20 UTC, Geoffrey Lee-Dadswell
Details
Video showing odd behaviour of impress presentation (3.12 MB, video/mp4)
2021-08-10 14:25 UTC, Geoffrey Lee-Dadswell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoffrey Lee-Dadswell 2021-08-04 20:19:17 UTC
Description:
When advancing/rewinding a presentation using keys, sometimes animations are skipped and the presentation advances to the next slide unexpectedly.  Backing up from one  slide to the previous  one unexpectedly rewinds some animations on the previous slide.

Steps to Reproduce:
1. Create a new Impress document.  Don't select a template, just cancel the template dialogue so you have a blank presentation.
2. Edit the title, and text on slide 1, then insert two or more objects (textboxes, images, doesn't seem to matter what).  Add animations to these two objects to make them appear, each on their own click.
3. Create a second slide.
4. Start the presentation at the beginning.  Advance through the presentation using right arrow.  Everything should behave as expected.
5. Go back to the beginning of the slide show (e.g. left arrow until you are at the start).  Right arrow  once to run the  first animation.  Left arrow once to undo it.  Now  right arrow twice.  It will run the first animation, but then will skip the second animation and advance to the second slide.
6. Try right and left arrow in various sequences.  This should cause some unexpected behaviour such as running two animations on one click, or backing up from slide 2 to slide 1 but with not all the animations on slide 1  in their final states.

Actual Results:
Right and left click inconsistently advance and back up, sometime launching  or undoing  more than one event.

Expected Results:
Right arrow should always advance  one animation.  If all the animations on a page have run then right arrow should advance to next slide.  Left arrow should always back up one animation.  If the presentation  is on slide 2 (with no animations on that slide) then left click should back the presentation up to slide 1 with all animations there having already run ("final state" of the slide).


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Keywords: UI, Presentation, Impress
Comment 1 raal 2021-08-08 07:46:01 UTC
Hello,

Thank you for filing the bug. Please send us a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO', so please do change it back to 'UNCONFIRMED' once you have attached a document.
(Please note that the attachment will be public, remove any sensitive information before attaching it.)
How can I eliminate confidential data from a sample document?
https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F
Thank you
Comment 2 Geoffrey Lee-Dadswell 2021-08-10 14:20:11 UTC
Created attachment 174185 [details]
Impress file with two simple animations and one slide transition

Right arrow three times to see correct behaviour.
Then go back to start.
Then right arrow twice, left arrow once, right arrow once, to see unexpected behaviour.
Other combinations of arrows will also behave unexpectedly (e.g. right, right, left, right).
Comment 3 Geoffrey Lee-Dadswell 2021-08-10 14:25:21 UTC
Created attachment 174186 [details]
Video showing odd  behaviour of impress presentation
Comment 4 Henrik Palomäki 2021-08-25 08:15:15 UTC
No repro in

Version: 7.2.0.4 (x64) / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: default; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded

and

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 0224d859b8a497779611cc15943c017ec42f9b90
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: CL
Comment 5 Henrik Palomäki 2021-08-30 08:41:37 UTC
I tested this bug again on Linux (Debian) environment.

The bug was confirmed in

Version: 6.4.7.2
Build ID: 639b8ac485750d5696d7590a72ef1b496725cfb5
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded

However, because the bug cannot reproduce in

Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded

and

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 707ac13a3f700c8e4a7f08bdcd5d5321d0a28bc5
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF-dbg, Branch:master, Time: 2021-08-27_19:15:46
Calc: threaded

I consider this as WFM.