Created attachment 179424 [details] test wav audio file Steps to Reproduce: 1. Download the attached sample .wav file and save as "测试音乐.wav". Note that the file name should contain Chinese characters in order to reproduce this bug. 2. New Impress, two slides, go to the first slide. In the transition side bar, use the audio file "测试音乐.wav" as the transition audio, check "Loop until the next sound" checkbox. 3. Save as PPTX. Current Result: 测试音乐.wav is lost in the PPTX file. Expected Result: 测试音乐.wav should remain there in the PPTX file. It is noted that if the file name is "test.wav" (i.e. does not contain Chinese characters), then it works as expected. I also noted that in MSO Power Point, those Chinese characters are allowed.
Created attachment 179425 [details] test ODP file You may also use the attached odp file and try to save it as PPTX to reproduce this bug.
Adding Tünde Tóth to cc as I see you have recently worked on commit c2e8a96a8107a37901e475c65a8e61211fc3b132 (tdf#53970 PPTX: fix broken export of linked media files). Would you please take a look? Thanks. Version: 7.3.3.0.0+ / LibreOffice Community Build ID: 0a34ac386187c5ca328aebc27851c2a2ff38f293 CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: gtk3 Locale: zh-CN (zh_CN.UTF-8); UI: en-US Calc: threaded Also in 7.2.6.2 and current master. Fedora 34 and Fedora 35.
Only partially REPRODUCIBLE with Installation of Version: 7.3.0.3 (x64) Build ID a69ca51ded25f3eefd52d7bf9a5fad8c90b87951 CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win | Locale: de-DE (de_DE); UI: de-DE | Calc: threaded | ElementaryTheme | My normal User Profile. 1. I opened .odp, added 测试音乐.wav astransition sound tested (played) during transition, everything fine. 2. I saved, closed and reopened new.odp: everything fine. 3. I saved, closed new.odp as new.ppts, reopened and played: no sound on transition 4. I checked in Transition sidebar: 测试音乐 still did exist in list, but has gone lostas sound for transitoins. 5. I added 测试音乐 from list, and worked fine again when I played presentation. a)currently I can't tell if the problem occurs when saving as .pptx or if it occurs when reopening the .pptx in LibO. I have no other presentation @Kevin Suo: your result for question (a)?
a) Might (also) be a FILEOPEN problem? 11: Open new.pptx with 'SoftmakerPresentation' → Start presentation » No sound played during transition 12: Add 测试音乐.wav as transition sound in softmaker → Start presentation » Sound plays 13: save as newsoftmaker.pptx and close 14. open newsoftmaker.pptx in LibO → Start presentation » sound plays during transition as expected but: in transition sidebar no transition is selected a1) So I can't tell 100% sure wheter in (11) sound really has become "lost" or Softmakeronly did not recognize it? But I am pretty sure that it's a FILESAVE problem
Reproduced with: Version: 7.2.6.2 / LibreOffice Community Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754 CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded
Also in: Version: 6.4.7.2 Build ID: 1:6.4.7-0ubuntu0.20.04.4 CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3; Locale: en-AU (en_AU.UTF-8); UI-Language: en-US Calc: threaded I can still play the transition when saving as PPTX and keeping Impress open, but as soon as I close and reopen, the transition is gone. I can add the transition again and play it, but it is lost again when closing and reopening.
Created attachment 179800 [details] Test odp with the problematic wav set up as transition sound
Created attachment 179801 [details] The test odp exported to pptx This does not open in PP, it says corrupted file. Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 3a05acb8f0d94728ea6cbfd7a69dac6ffa7ffc68 CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: default; VCL: win Locale: de-DE (hu_HU); UI: en-US Calc: threaded Jumbo
Created attachment 179802 [details] How the insides of the pptx attachment look like Looks like the file name encoding is changed for the worse.
Created attachment 179803 [details] Another example odp with Hungarian accented letters
Created attachment 179804 [details] Export of the other example file with Hungarian transition sound name
Created attachment 179806 [details] How the insides of the Hungarian pptx attachment look like So this really affects any non-ASCII characters, when I rename a working wav file (https://www2.cs.uic.edu/~i101/SoundFiles/preamble10.wav) to preambleárvíztűrőtükörfúrógép.wav then the file is incorrectly named under ppt/media and also in slides/slide1.xml but correctly in ppt/slides/_rels/slide1.xml.rels - no wonder it does not work.