Issue 119685 - Other Sounds in slide transitions lost or corrupted
Summary: Other Sounds in slide transitions lost or corrupted
Status: CONFIRMED
Alias: None
Product: Impress
Classification: Application
Component: ui (show other issues)
Version: 3.4.0
Hardware: PC Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-02 22:03 UTC by Alan Mandel
Modified: 2012-06-12 03:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Presentation and audio subdirectory for reproducing Slide Transition sound bug (73.05 KB, application/x-zip-compressed)
2012-06-02 22:03 UTC, Alan Mandel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Alan Mandel 2012-06-02 22:03:06 UTC
Created attachment 77893 [details]
Presentation and audio subdirectory for reproducing Slide Transition sound bug

Sounds specified in slide transitions (specifically, Other Sounds, but I haven't tested with built-in sounds) are not properly kept track of, causing them to get lost or corrupted. I have tried this on versions 3.3 and 3.4. The easiest way to explain it is via the attachment.

The attachment has 4 slides. The 4 slides have the following slide transition sounds:
1: apert (built-in)
2: none
3: 8-a.mp3 (in the audio subdirectory) "Slide 3"
4: 9-a.mp3 (in the audio subdirectory) "Slide 4"

Open try1.odp and immediately run the slideshow through the 4 slides. You will properly hear the sounds correctly during the slide transitions.

However, if you look at the Slide Transition task pane, you will note that the sounds for slides 3 and 4 are not shown in the pane (they display as <No Sound>) , even though they play correctly.

If you run the slide show starting at slide one, and ESC during slide 4, you will see that the sound for slide 1 (apert) is now displaying as the sound for Slide 4.

You can also cause this problem by this sequence, for example:
* Open Task Pane
* Go to Slide 1. Sound will correctly show "apert"
* Close Task Pane
* Go to Slide 3
* Open Task Pane. Sound will incorrectly show "apert", even though if you run the slide show at this point you will correctly hear 8-a.mp3.

Even more troublesome: if you change anything about the Slide Transition effect while the incorrect sound is displayed in the Sound drop-down, the incorrect sound is permanently registered -- and the originally selected sound is lost. In the above example, if you change the the "Advance Slide automatically after" from 10 to 11 seconds, now the slide show will play "apert" instead.
Comment 1 Alan Mandel 2012-06-03 10:03:12 UTC
I just downloaded the code for the first time, and am of course completely lost, but I wondered why updateSoundList(); was commented out in this portion of code:

 // update control states before adding handlers
    updateLayout();
    //    updateSoundList();
    updateControls();

in main/sd/source/ui/animations/SlideTransitionPane.cxx

Could that have something to do with it?
Comment 2 liuping 2012-06-12 03:27:43 UTC
open the sample file
1.go to slide 4 :the sound is 8-a ,the expected sound is 9-a (confrim)
2.If you run the slide show starting at slide one, and ESC during slide 4, you will see that the sound for slide 1 (apert) is now displaying as the sound for Slide 4.(confirm)