White border around thumbnails

Asked by Serrano Pereira

Today I did a fresh install of Ubuntu 10.04 Lucid Lynx. Then installed Cover Thumbnailer 0.7.2 from the PPA. But now suddenly, all thumbnails (generated by Cover Thumbnailer) have ugly white borders around them. I never had this problem in Ubuntu Karmic, while I was using the same version of Cover Thumbnailer.

I looked at the generated thumbnail images (~/.thumbnails/normal/), but they don't have the white borders in them. So some application is drawing the white borders around them while they are being displayed (nautilus maybe?).

I'd like to know if this is a known problem or maybe a bug in Cover Thumbnailer. I've included a screenshot.

Question information

Language:
English Edit question
Status:
Expired
For:
Cover Thumbnailer Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Serrano Pereira (serrano-pereira) said :
#1
Revision history for this message
Fabien LOISON (flozz) said :
#2

Hello,

It's not a bug, but nautilus adds a border around all thumbnails when it display them... and they changed the design of this border... You should find the picture used for the borders here : "/usr/share/pixmaps/nautilus/thumbnail_frame.png".
Maybe try to replace it with the old version (take it in karmic).

Revision history for this message
Serrano Pereira (serrano-pereira) said :
#3

Thanks! I replaced thumbnail_frame.png with the one from Karmic, and the white border has disappeared. But they changed the way the image is interpreted, so now the Karmic thumbnail_frame.png doesn't look nice either. I just removed the image for now, so no frame is drawn at all. The thumbnails aren't complete without a decent frame, but at least I got rid of the ugly white frame.

Revision history for this message
Serrano Pereira (serrano-pereira) said :
#4

Thanks FLOZz, that solved my question.

Revision history for this message
jack (jumpinjack) said :
#5

I changed the thumbnail_frame.png back to the one in nautilus 2.28, as I don't like as well the white borders. But to really get the same as nautilus 2.28, you have to recompile nautilus 2.30 and changing in libnautilus-private/, the file nautilus-thumbnails.h as follows :

#define NAUTILUS_THUMBNAIL_FRAME_RIGHT 3
#define NAUTILUS_THUMBNAIL_FRAME_BOTTOM 3

replace by

#define NAUTILUS_THUMBNAIL_FRAME_RIGHT 6
#define NAUTILUS_THUMBNAIL_FRAME_BOTTOM 6

Revision history for this message
Serrano Pereira (serrano-pereira) said :
#6

Thanks for the tip jack! I just downloaded the latest nautilus source from launchpad. Then changed those two parameters, and compiled it. But when I want to test it using the command "nautilus -q && ./src/nautilus", the thumbnail_frame.png from nautilus 2.28 still doesn't look right, as if those two parameters haven't changed. Am I missing something?

Revision history for this message
Launchpad Janitor (janitor) said :
#7

This question was expired because it remained in the 'Open' state without activity for the last 15 days.