Apache OpenOffice (AOO) Bugzilla – Issue 68600
Support QuickLook (No preview thumbnail in files saved on MacOSX)
Last modified: 2017-05-20 09:13:56 UTC
Document preview thumbnail missing in files saved on MacOS X (with native version). Noticed using Writer, to be checked in other components.
Reassigned to Porting component.
Hmm, it seems to me that Mac OS X does not encourage the use of thumbnail -previews in document icons *). For example, the Apple's iWork -suite apps (Pages, Keynote) save their document files using their standard document icons. I.e. "Pages document icon" for .pages -files and "Keynote document icon" for .key -files. So unless there is evidence to the contrary, I think the current way of things is actually consistent with Mac OS X way of doing things. *) The exception to the rule seems to be image and movie files, which do contain thumbnails of the image.
My way of thinking is: the content of the file should depend from the specified format, independently from the way other Mac software works. Of course the preview thumbnail is no mandatory element in ODF spec. But it would be nice to have one, particulary in cross platform environments.
Well, I think Mac users in general are very interested in Mac-like applications rather than cross-platform ones. Thus, I'd see this as a low priority task for the mac porting project. But if someone is enthusiastic and knows how to code this, then...
.
So the Mac OS X Leopard 10.5 changed how Mac OS X filesystem (Finder) is used. We need to support QuickLook: http://www.apple.com/macosx/leopard/features/quicklook.html
Of course we need to support Quick Look / I'll add QuickLook support in the todo list
Looking at the presentation and information about Quick Look, it appears to be more advanced than a simple thumbnail of the first page. It appears that you can view the whole document from within the Finder, Spotlight, Time machine, or any other application that supports Quick Look.
No, the reporter is right. Look at the URL with the bug. This port won't even be usable until Leopard is out, so building in a common feature is ideal. Projected features should be adapted to now.
*** Issue 82260 has been marked as a duplicate of this issue. ***
@Florian: same comment as the one I did in issue #i82260#
Taking over this issue. cws quicklookplugin01 is created for it.
This looks especially weird because 10.5 ships with quick look support for *.odt, but not any of the other file types. So I can preview my writer files, but not my Calc or Impress files.
As suggested by one of the posts Quick look is pervasive in 10.5. It not only enables custom icons based on file content, but it also allows one to view the entire file - page by page without opening it. It also allows one to share files in iChat theater, etc. This would be really nice to have for impress files, so that one has video presentations set (your slide appears as does your talking head).
ericb->fheckl I fixed two Leopard build issues, but I'm unsure for the last one. Could you have a look ( both in file_ooo.scp ) ? The log of the breakage was : Making: ../unxmacxi.pro/bin/osl/setup_osl.ins /usr/bin/perl /Users/ericb/Desktop/SRC680_m233/solenv/bin/par2script.pl -i ../unxmacxi.pro/par,/Users/ericb/Desktop/SRC680_m233/solver/680/unxmacxi.pro/par @@/var/folders/yl/ylmXEnS9HW8k0KJoIndUcU+++TI/-Tmp-//mktQpXcy -o ../unxmacxi.pro/bin/osl/setup_osl.ins par2script -i ../unxmacxi.pro/par,/Users/ericb/Desktop/SRC680_m233/solver/680/unxmacxi.pro/par @@/var/folders/yl/ylmXEnS9HW8k0KJoIndUcU+++TI/-Tmp-//mktQpXcy -o ../unxmacxi.pro/bin/osl/setup_osl.ins Reading par files Collecting items ************************************************ ERROR: multiple definition of gids: ************************************************ gid_File_Spotlight_Bundle dmake: Error code 255, while making '../unxmacxi.pro/bin/osl/setup_osl.ins' ---* tg_merge.mk *--- The change I did : @@ -3352,7 +3352,7 @@ #endif #if defined(MACOSX) && (BUILD_OS_MINOR >= 5) -File gid_File_Spotlight_Bundle +File gid_File_QuickLook_Bundle ARCHIVE_TXT_FILE_BODY; Dir = gid_Dir_Bundle_Contents_Library_QuickLook_Bundle_Contents; Name = "quicklookbundle.zip"; Thanks :-)
FYI: the build is not completed, and I'll confirm everything is ok asap
ericb->fheckl Build completed :-) At the end, in the Bundle, I got: <install_dir>/Contents/Library/QuickLook/OOoQuickLook.qlgenerator <install_dir>/Contents/Library/Spotlight/OOoSpotlightImporter.mdimporter Is it correct ? (if needed, I can upload the .dmg somewhere ;-) )
ericb-> mkosnik When I select a .sxi ( or whatever for Impress) on the desktop, and hitting Space , I got a QuickLook effect, but not a preview. Can you please tell me what could be the shortcut to be used for what you want to see ? Thanks
Your change in scp2 is OK. I also detected it but forgot to commit it. More instructions later (need some more time to work things out...)
ericb: .sxi is the old ooo 1 presentation file format. Try one of the newer opendocument presentations to see if you get the same result. It could be that the plugin doesn't support the older ooo 1 file formats. Do we want to support these too?
Perhaps the easiest way is to use the coverflow finder view - it should render the document contents rather than a generic icon, or from the contextual menu you can select Quick Look - and you should be able to go through each page of the document.
The 10.5 Finder short cut is "Apple key" + "Y" . This should cause a semi-transparent window to appear which previews the document. There is a scroll bar on the right side to scroll through the various document pages. The correct behaviour is seen for any *.odt file (I suspect because apple supports this file format in Text Edit). The current behaviour for the other openoffice files is for an the icon to appear along with the file name, file type, size, and date modified.
Current functionality: - for all thumbnails the included png thumbnail is given to QuickLook - odt files: previewing is delegated to Apple's Text.qlgenerator since it supports odt out-of-the-box. - for all other files the thumbnail is also used for previews which gives them a rather bad quality right now, but it's better than nothing. However, since some fork of us generates also a thumbnail.pdf into the document package, when this pdf is present it is used for the preview instead of the png issue. However I am planning on a better preview support in a future version of the plugin. But this will take some more work.
Fixed in cws quicklookplugin01, if I haven't mentioned it before.
Set correct target
Add me to Cc:.
Adjusted target.