Bug 123573 - Some content lost and incorrect content Keynote File in Impress
Summary: Some content lost and incorrect content Keynote File in Impress
Status: RESOLVED FIXED
Alias: None
Product: Document Liberation Project
Classification: Unclassified
Component: libetonyek (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks:
 
Reported: 2019-02-19 13:49 UTC by Daniel
Modified: 2021-05-18 16:55 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample Keynote file.key (436.17 KB, application/x-zip-compressed)
2019-02-19 13:50 UTC, Daniel
Details
Making presentation in Keynote (1.07 MB, image/png)
2019-02-19 13:51 UTC, Daniel
Details
Incorrect content (135.56 KB, image/png)
2019-02-19 13:52 UTC, Daniel
Details
current result with the new source of libetonyek (20.93 KB, application/vnd.oasis.opendocument.presentation)
2019-03-31 18:43 UTC, osnola
Details
impress .key file UI error (72.96 KB, image/png)
2020-07-05 18:23 UTC, johnks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2019-02-19 13:49:16 UTC
Description:
I have made Apple Keynote file and I save it as default. Then I open it by Impress. Some content like fonts, gradient background, and etc are lost or unsupported and incorrect

Steps to Reproduce:
1. Open sample file Apple Keynote and LibreOffice Impress
2. Only Apple Keynote open and tidy content
3. Some content lost or incorrect and unsupported

Actual Results:
It should have available like gradient background, font type and etc as same as in Impress that compared in Apple Keynote.

Expected Results:
Some content like font type, gradient background are incorrect or lost.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Daniel 2019-02-19 13:50:07 UTC
Created attachment 149419 [details]
Sample Keynote file.key
Comment 2 Daniel 2019-02-19 13:51:25 UTC
Created attachment 149420 [details]
Making presentation in Keynote
Comment 3 Daniel 2019-02-19 13:52:52 UTC
Created attachment 149421 [details]
Incorrect content

Horrible mess cause lost background even unsupported font
Comment 4 Xisco Faulí 2019-03-22 10:15:29 UTC
Reproduced in

Version: 6.3.0.0.alpha0+
Build ID: f8ca6e0a59bff51fcb09af4fa6d9cd458b32f223
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 5 Xisco Faulí 2019-03-22 10:31:33 UTC
The file can be open since libetonyek was updated 0.1.9 < https://cgit.freedesktop.org/libreoffice/core/commit/?id=6212d5688946ad6db6d0c3fabf05579d162c0895 >

I get this warning when I open the file in 6.2/master

I/O warning : failed to load external entity "/usr/local/share/liblangtag/language-subtag-registry.xml"
W: Error raised:
W:   Unable to read the xml file: /usr/local/share/liblangtag/language-subtag-registry.xml
W:   Backtraces:
W:     0. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/liblangtag-lo.so.1(lt_xml_get_subtag_registry+0x18b) [0x7fe05dba034b]
W:     1. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/liblangtag-lo.so.1(+0xce83) [0x7fe05db93e83]
W:     2. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/liblangtag-lo.so.1(lt_grandfathered_db_lookup+0xc8) [0x7fe05db944e8]
W:     3. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/liblangtag-lo.so.1(+0x14f3d) [0x7fe05db9bf3d]
W:     4. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(+0x1a8e4c) [0x7fe04378be4c]
W:     5. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek20IWORKLanguageManager6addTagERKSs+0xa8) [0x7fe04378cf48]
W:     6. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek7IWAText5parseERNS_9IWORKTextERKSt8functionIFvjSt10shared_ptrINS_10IWORKStyleEEEE+0x746) [0x7fe043768386]
W:     7. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek9IWAParser9parseTextEjRKSt8functionIFvjSt10shared_ptrINS_10IWORKStyleEEEE+0x46b) [0x7fe04374daab]
W:     8. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek10KEY6Parser16parsePlaceholderEj+0x3bf) [0x7fe043802a2f]
W:     9. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek10KEY6Parser10parseSlideEjb+0x222) [0x7fe0438035e2]
W:     10. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek10KEY6Parser14parseSlideListEj+0x185) [0x7fe043802535]
W:     11. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(+0x21e830) [0x7fe043801830]
W:     12. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek10KEY6Parser17parsePresentationEj+0x3e4) [0x7fe043804244]
W:     13. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek10KEY6Parser13parseDocumentEv+0x8f) [0x7fe04380478f]
W:     14. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek15EtonyekDocument5parseEPN10librevenge15RVNGInputStreamEPNS1_25RVNGPresentationInterfaceE+0x841) [0x7fe043720551]
W:     15. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libwpftimpresslo.so(+0xe00e) [0x7fe043ba600e]
W:     16. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsfxlo.so(_ZN14SfxObjectShell10ImportFromER9SfxMediumRKN3com3sun4star3uno9ReferenceINS4_4text10XTextRangeEEE+0x9fb) [0x7fe066ef8f7b]
W:     17. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libsdlo.so(_ZN2sd12DrawDocShell10ImportFromER9SfxMediumRKN3com3sun4star3uno9ReferenceINS5_4text10XTextRangeEEE+0x6e) [0x7fe041950a1e]
W:     18. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsfxlo.so(_ZN14SfxObjectShell6DoLoadEP9SfxMedium+0x104f) [0x7fe066f05eef]
W:     19. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsfxlo.so(_ZN12SfxBaseModel4loadERKN3com3sun4star3uno8SequenceINS2_5beans13PropertyValueEEE+0x1db) [0x7fe066f33a5b]
W:     20. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsfxlo.so(+0x526475) [0x7fe066fd4475]
W:     21. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libfwklo.so(+0x12fa39) [0x7fe047223a39]
W:     22. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libfwklo.so(+0x130eee) [0x7fe047224eee]
W:     23. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libfwklo.so(+0xbc77d) [0x7fe0471b077d]
W:     24. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libfwklo.so(+0xbd5c8) [0x7fe0471b15c8]
W:     25. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libcomphelper.so(_ZN10comphelper19SynchronousDispatch8dispatchERKN3com3sun4star3uno9ReferenceINS4_10XInterfaceEEERKN3rtl8OUStringESD_RKNS4_8SequenceINS3_5beans13PropertyValueEEE+0x3d2) [0x7fe068a21802]
W:     26. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsofficeapp.so(+0x43b88) [0x7fe06b2d0b88]
W:     27. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsofficeapp.so(+0x50fe9) [0x7fe06b2ddfe9]
W:     28. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsofficeapp.so(+0x29e86) [0x7fe06b2b6e86]
W:     29. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsofficeapp.so(+0x2b61a) [0x7fe06b2b861a]
W:     30. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libvcllo.so(+0x3d3395) [0x7fe063693395]
W:     31. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libvcllo.so(_ZN16SalUserEventList18DispatchUserEventsEb+0x1aa) [0x7fe0638f8b0a]
W:     32. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libvclplug_gtk3lo.so(+0xbbcf9) [0x7fe051bc2cf9]
W:     33. /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x155) [0x7fe05b57f1f5]
W:     34. /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4c5c0) [0x7fe05b57f5c0]
W:     35. /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7fe05b57f64c]
W:     36. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libvclplug_gtk3lo.so(+0xbd04b) [0x7fe051bc404b]
W:     37. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libvcllo.so(+0x65e282) [0x7fe06391e282]
W:     38. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libvcllo.so(_ZN11Application7ExecuteEv+0x45) [0x7fe0639201a5]
W:     39. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsofficeapp.so(+0x2c7a6) [0x7fe06b2b97a6]
W:     40. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libvcllo.so(_Z10ImplSVMainv+0x46) [0x7fe063926f66]
W:     41. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsofficeapp.so(soffice_main+0x8a) [0x7fe06b2e5cda]
W:     42. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/soffice.bin() [0x40066b]
W:     43. /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fe06aebdb97]
W:     44. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/soffice.bin() [0x40069f]
I/O warning : failed to load external entity "/usr/local/share/liblangtag/language-subtag-registry.xml"
W: Error raised:
W:   Unable to read the xml file: /usr/local/share/liblangtag/language-subtag-registry.xml
W:   Backtraces:
W:     0. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/liblangtag-lo.so.1(lt_xml_get_subtag_registry+0x18b) [0x7fe05dba034b]
W:     1. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/liblangtag-lo.so.1(+0xdeab) [0x7fe05db94eab]
W:     2. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/liblangtag-lo.so.1(lt_lang_db_lookup+0xc8) [0x7fe05db956a8]
W:     3. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/liblangtag-lo.so.1(+0x15a43) [0x7fe05db9ca43]
W:     4. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(+0x1a8e4c) [0x7fe04378be4c]
W:     5. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek20IWORKLanguageManager6addTagERKSs+0xa8) [0x7fe04378cf48]
W:     6. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek7IWAText5parseERNS_9IWORKTextERKSt8functionIFvjSt10shared_ptrINS_10IWORKStyleEEEE+0x746) [0x7fe043768386]
W:     7. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek9IWAParser9parseTextEjRKSt8functionIFvjSt10shared_ptrINS_10IWORKStyleEEEE+0x46b) [0x7fe04374daab]
W:     8. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek10KEY6Parser16parsePlaceholderEj+0x3bf) [0x7fe043802a2f]
W:     9. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek10KEY6Parser10parseSlideEjb+0x222) [0x7fe0438035e2]
W:     10. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek10KEY6Parser14parseSlideListEj+0x185) [0x7fe043802535]
W:     11. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(+0x21e830) [0x7fe043801830]
W:     12. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek10KEY6Parser17parsePresentationEj+0x3e4) [0x7fe043804244]
W:     13. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek10KEY6Parser13parseDocumentEv+0x8f) [0x7fe04380478f]
W:     14. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libetonyek-0.1-lo.so.1(_ZN10libetonyek15EtonyekDocument5parseEPN10librevenge15RVNGInputStreamEPNS1_25RVNGPresentationInterfaceE+0x841) [0x7fe043720551]
W:     15. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libwpftimpresslo.so(+0xe00e) [0x7fe043ba600e]
W:     16. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsfxlo.so(_ZN14SfxObjectShell10ImportFromER9SfxMediumRKN3com3sun4star3uno9ReferenceINS4_4text10XTextRangeEEE+0x9fb) [0x7fe066ef8f7b]
W:     17. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libsdlo.so(_ZN2sd12DrawDocShell10ImportFromER9SfxMediumRKN3com3sun4star3uno9ReferenceINS5_4text10XTextRangeEEE+0x6e) [0x7fe041950a1e]
W:     18. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsfxlo.so(_ZN14SfxObjectShell6DoLoadEP9SfxMedium+0x104f) [0x7fe066f05eef]
W:     19. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsfxlo.so(_ZN12SfxBaseModel4loadERKN3com3sun4star3uno8SequenceINS2_5beans13PropertyValueEEE+0x1db) [0x7fe066f33a5b]
W:     20. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsfxlo.so(+0x526475) [0x7fe066fd4475]
W:     21. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libfwklo.so(+0x12fa39) [0x7fe047223a39]
W:     22. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libfwklo.so(+0x130eee) [0x7fe047224eee]
W:     23. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libfwklo.so(+0xbc77d) [0x7fe0471b077d]
W:     24. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/../program/libfwklo.so(+0xbd5c8) [0x7fe0471b15c8]
W:     25. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libcomphelper.so(_ZN10comphelper19SynchronousDispatch8dispatchERKN3com3sun4star3uno9ReferenceINS4_10XInterfaceEEERKN3rtl8OUStringESD_RKNS4_8SequenceINS3_5beans13PropertyValueEEE+0x3d2) [0x7fe068a21802]
W:     26. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsofficeapp.so(+0x43b88) [0x7fe06b2d0b88]
W:     27. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsofficeapp.so(+0x50fe9) [0x7fe06b2ddfe9]
W:     28. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsofficeapp.so(+0x29e86) [0x7fe06b2b6e86]
W:     29. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsofficeapp.so(+0x2b61a) [0x7fe06b2b861a]
W:     30. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libvcllo.so(+0x3d3395) [0x7fe063693395]
W:     31. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libvcllo.so(_ZN16SalUserEventList18DispatchUserEventsEb+0x1aa) [0x7fe0638f8b0a]
W:     32. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libvclplug_gtk3lo.so(+0xbbcf9) [0x7fe051bc2cf9]
W:     33. /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x155) [0x7fe05b57f1f5]
W:     34. /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4c5c0) [0x7fe05b57f5c0]
W:     35. /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7fe05b57f64c]
W:     36. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libvclplug_gtk3lo.so(+0xbd04b) [0x7fe051bc404b]
W:     37. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libvcllo.so(+0x65e282) [0x7fe06391e282]
W:     38. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libvcllo.so(_ZN11Application7ExecuteEv+0x45) [0x7fe0639201a5]
W:     39. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsofficeapp.so(+0x2c7a6) [0x7fe06b2b97a6]
W:     40. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libvcllo.so(_Z10ImplSVMainv+0x46) [0x7fe063926f66]
W:     41. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/libsofficeapp.so(soffice_main+0x8a) [0x7fe06b2e5cda]
W:     42. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/soffice.bin() [0x40066b]
W:     43. /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fe06aebdb97]
W:     44. /home/xisco/bibisect/bibisect-linux64-6.2/instdir/program/soffice.bin() [0x40069f]
Comment 6 osnola 2019-03-27 09:37:20 UTC
Hello,
this warning in the langtag library is unrelated to the conversion problems (at least):
- the background picture is not stored in the .key file => not retrieved,
- image bullets are not retrieved,
- the textbox vertical alignements are not retrieved,
- the font style name is not good: "Avenir Next" is converted in "AvenirNext-Bold"

I tried to see if I can improve a little the conversion, my current code can be found
in https://github.com/fosnola/libetonyek/ ; the last three commits mitigate a little 
3/4 of these problems:
- replace the unknown background picture by the picture "average?" color which is stored
  in the file,
- replace the image bullets by an image or a classic bullet if the image is not stored 
  in the file (this is the case here)
- retrieve the textbox vertical alignement (ok)

I also do somme commit in gerrit : https://gerrit.libreoffice.org/#/c/68550/ : my previous
changes (there are a lot), but not these last three commits.

Notes:
- concerning the liblangtag, the code is in libetonyek/src/lib/IWORKLanguageManager.cpp
  (search for #ifdef WITH_LIBLANGTAG )
- I will look next week, if I can find what went wrong with the font name...
Comment 7 osnola 2019-03-31 18:43:30 UTC
Created attachment 150432 [details]
current result with the new source of libetonyek

(just for information)
Comment 8 David Tardon 2019-04-09 12:32:09 UTC
(In reply to Xisco Faulí from comment #5)
> I get this warning when I open the file in 6.2/master
> 
> I/O warning : failed to load external entity
> "/usr/local/share/liblangtag/language-subtag-registry.xml"

That's already tracked in bug 115194. And the only effect is that the language of text is ignored.
Comment 9 johnks 2020-07-05 17:21:39 UTC
https://pixelify.net/download/free-templates/presentations/dolor-presentation-template/

https://pixelify.net/download/free-templates/xavier-free-presentation-template/

download the free version files from these two links. one presentation is in pptx and another in .key. 
pptx displays properly while .key file which "should" be same gets all the formatting wrong.



Version: 6.4.5.2
Build ID: a726b36747cf2001e06b58ad5db1aa3a9a1872d6
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: kf5; 
Locale: en-IN (en_IN.UTF-8); UI-Language: en-US
Calc: threaded
Comment 10 johnks 2020-07-05 18:23:57 UTC
Created attachment 162664 [details]
impress .key file UI error

https://www.youtube.com/watch?v=bhPDYrngnOg

this youtube video shows how to do a particular effect in apply keynote.
https://drive.google.com/file/d/1cFozy01SktNVjaXS6z9Wbv5c3C83iI5Z/view

this is direct download link to file mentioned in the video. In my LO 6.4.5.2 the file is all mashed up, totally unusable

attached screenshot
Comment 11 David Tardon 2021-05-18 16:55:00 UTC
Some content is not lost and supported now -> closing.