Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53176 - Nautilus / Totem video thumbnailing error after changing MIME types
Summary: Nautilus / Totem video thumbnailing error after changing MIME types
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-06 17:17 UTC by Clark Torgerson
Modified: 2004-08-19 12:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clark Torgerson 2004-06-06 17:17:55 UTC
After changing the default player for video MIME types to gxine, Nautilus stops thumbnailing most video files, even after MIME types are reassociated with Totem. After <a href=http://forums.gentoo.org/viewtopic.php?t=179104&highlight=>posting</a> in the Forums, Angrybob suggested that it was the problem lay in user.keys and says a fix is to 

cp /usr/share/mime-info/totem.keys ~/.gnome/mime-info/user.keys

and then hand edit user.keys.

Before I could take his advice, I ended up just deleting my .gnome directories, which also solved the problem, but was more of a hassle.

Reproducible: Always
Steps to Reproduce:
1.Change MIME types of video files to xine or gxine
2.Let Nautilus attempt to thumbnail new video files
3.

Actual Results:  
Nautilus stopped thumbnailing all customized video MIME types

Expected Results:  
Accepted the customizations and continue to thumbnail.

Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -Os -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO/
ftp://ibiblio.org/pub/Linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apm avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm
gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla
moznoirc moznomail mpeg ncurses nls oggvorbis opengl pam pda pdflib perl png
ppds python quicktime readline sdl slang spell ssl svga tcpd truetype usb x86
xml2 xmms xv zlib"
Comment 1 Marc Hildebrand (RETIRED) gentoo-dev 2004-06-06 22:17:54 UTC
Hmmm, sounds like an upstream issue...
Comment 2 foser (RETIRED) gentoo-dev 2004-06-08 03:48:09 UTC
thumbnailing is seperate from playing, it actually uses different commands. Are you sure that was the reason thumbnailing stopped working, not some other upgrade (?) (most notably nautilus-media -> although that hasn't been updated in the tree for a while -> have you been using outside ebuilds ?)
Comment 3 Clark Torgerson 2004-06-08 05:53:59 UTC
Yes, I'm sure it's due to changing default apps for the MIME types. I can re-create the problem by changing the default player to gxine. Even then, the problem only occurs on the MIME type that I changed (It will affect .avi and not .mpg, for example, if I edit only .avi). I believe that Angrybob had the same problem due to what he said in the Forums thread. However, I'll PM him and see if I can get confirmation. 

Also, I recently had very similiar problems with .png files after messing with the default viewer, but not .jpg's which I hadn't changed.
Comment 4 Angrybob 2004-06-08 06:15:31 UTC
when you associate a program like xine with avi files gnome sticks this:

video/x-msvideo
        default_application_id=xine
        category=Video
        default_component_iid=OAFIID:Totem_PropertiesPage
        description=Microsoft video
        icon_filename=/usr/share/icons/gnome/48x48/mimetypes/gnome-mime-video-x-msvideo.png
        default_action_type=application
        short_list_application_user_removals=
        short_list_application_user_additions=xine
        use_category_default=no 

in your ~/.gnome/mime-info/user.keys file

note the line "icon_filename=.....", that overrides the thumbnailing in nautilus and makes it always use that icon


so yeah it's an upstream gnome bug that isn't gentoo specific (happens to me using the latest ~x86 version of the gentoo gnome ebuilds (no bmg stuff)
Comment 5 foser (RETIRED) gentoo-dev 2004-08-11 04:17:53 UTC
right on.. good catch, could you file the upstream report & leave a link here ?
Comment 6 Clark Torgerson 2004-08-12 01:21:26 UTC
The bug seems to have been fixed in subsequent GNOME bug-fix releases. I just finished a fresh GNOME install and everything seems to be working fine. I've looked around and haven't seen much noise from anyone else concerning this problem, so I'm assuming it's not an issue anymore. I think the bug could probably be safely closed, though it's obviously not my call.  :o)
Comment 7 foser (RETIRED) gentoo-dev 2004-08-19 12:34:24 UTC
if it's not a problem anymore we're not going to look further into it. closing.

thnx for the report