transparent openoffice documents preview

Bug #147819 reported by antistress
10
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

PDF documents preview in Nautilus have both borders and a background color.

Openoffice documents preview in Nautilus have no borders nor background color.

Revision history for this message
antistress (antistress) wrote :

see the picture

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. What version of Ubuntu do you use? Do you still have the issue? Does it happen with any openoffice document? Could you attach a file triggering the bug?

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Gert Kulyk (gkulyk) wrote :

The preview of OOo files is as far as I know not included in a default ubuntu-install. For previewing OOo-files, the scripts which are enabeling the preview are reading the /Thumbnails/thumbnail.png file embedded in every open-document file (which in fact is a zip-archive). When you are opening a given odt file e.g. with file-roller, you can see that this is related to the embedded graphic-file. So I don't think this is really a bug, at least not a "bug" which can be fixed in the ubuntu-distribution.

Revision history for this message
Gert Kulyk (gkulyk) wrote :

Update: If you really want to have a "preview" with a white background, you can explicitly force a background-color in OOo for the given file. If you are setting a white page-background for the entire document, you'll get a preview with a white background, too. Otherwise the background of the preview-image is transparent, on dark surfaces with white, on light surfaces with black text.

Revision history for this message
antistress (antistress) wrote :
  • test.odt Edit (7.0 KiB, application/vnd.oasis.opendocument.text)

I'm running gutsy beta with updates. I had the same problem with gutsy tribe 5.
First i was running feisty, then i've made a clean install of gusty tribe 5

i thought this bug was common and i that this funtionnality was enabled by default: i'm very surprised.

I don't use any script or extension

Here are 3 files showing that "bug" (wich occurs with any files created with OOo)

Note that i had to play a bit with the files that i've created before i can see preview (i.e.cut/paste the file from of directory to another one)

Revision history for this message
antistress (antistress) wrote :
  • test.odp Edit (10.6 KiB, application/vnd.oasis.opendocument.presentation)
Revision history for this message
antistress (antistress) wrote :
  • Test.ods Edit (9.4 KiB, application/vnd.oasis.opendocument.spreadsheet)
Revision history for this message
antistress (antistress) wrote :

2 pictures showing test files (on desktop, in a directory)

Revision history for this message
antistress (antistress) wrote :
Revision history for this message
Gert Kulyk (gkulyk) wrote :

Concerning the default of preview: I'm rather sure, that ooo-preview is not a default, even not for gutsy, but I may be wrong.

Concerning the Documents and screenshots you've posted: please re-read my comments, especially the last part of comment #4:
> the background of the preview-image is transparent, on dark surfaces with white, on light surfaces with black text.

So your screenshots are showing exactly that behavior.

Again: The preview of ooo-files is not a (nautilus or thumbnailer)-generated preview of the given file, it is the extracted content of the preview image embedded in every opendocument file.

Revision history for this message
Gert Kulyk (gkulyk) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Not reproducible here. As Gert said there's a wishlist for support of openoffice documents (bug 25827) so it's probably caused by something you installed for seeing the previews.

Revision history for this message
antistress (antistress) wrote :

the preview showed on the picture at http://ubuntuforums.org/showthread.php?t=76566 doesn't look like the preview i get

i attach that picture to this comment

Revision history for this message
Gert Kulyk (gkulyk) wrote :

It does not, because you are using an older version of the ooo2-thumbnailer script (which is attached to the comment, I've posted a link for). To get the updated preview, you have (after installing the new script, of course) to clean the Thumbnail-cache.

Revision history for this message
Gert Kulyk (gkulyk) wrote :

Marking this bug as invalid, because this is not related to the nautilus package and the problem described is not part of the ubuntu desktop (yet). Anyway, thank you for taking the time to report this bug and helping to make Ubuntu better. If you have questions which are not bug-centric, you can use the answers option in launchpad and/or try to find help in the ubuntu-support forums.

Changed in nautilus:
status: Incomplete → Invalid
Revision history for this message
antistress (antistress) wrote :

i read this in synaptic concerning OOo metapakage :

"You can extend the functionality of OpenOffice.org by installing these
packages:
pstoedit / imagemagick: helper tools for EPS thumbnails"

i don't have pstoedit installed but i do have imagemagick: : maybe that it's related

Revision history for this message
Gert Kulyk (gkulyk) wrote :

Dear antistress,

please _read_ the comments posted here, they are trying to explain why you are seeing this "bug". You of course are free to install the pstoedit package, but it would not enable the feature you want. In the package description you've cited is written, that is extending the functionality of _OpenOffice.org_, but not that this package is enabling nautilus/konqueror etc. to thumbnail ooo-files. To thumbnail these files, a script is required (e.g. the already mentioned ooo2-thumbnailer), which is not yet part of the main ubuntu distribution and/or is AFAIK not yet packaged in universe. Please refer to the according wishlist item, bug #25827 , to get more information about the script.

Revision history for this message
antistress (antistress) wrote :

sorry, i wasn't trying to "solve" my problem but to understand why i have this "functionnality" enabled (since i don't remember having installed any script about that).
i thought that could be helpfull to someone else who could have the same "functionnality" without knowing why.

Anyway, thank you for your answers

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.