Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105745 - gdm and gnome svg themes don't fully work after upgrading to xorg-x11-2.6.8-r3
Summary: gdm and gnome svg themes don't fully work after upgrading to xorg-x11-2.6.8-r3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 16:43 UTC by Rémi Cardona (RETIRED)
Modified: 2005-09-13 15:45 UTC (History)
0 users

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


Attachments
gnome theme selector showing a broken preview for three svg themes (theme_selector.png,35.78 KB, image/png)
2005-09-12 16:44 UTC, Rémi Cardona (RETIRED)
Details
screenshot of gedit after selecting an svg theme (gedit.png,19.23 KB, image/png)
2005-09-12 16:45 UTC, Rémi Cardona (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rémi Cardona (RETIRED) gentoo-dev 2005-09-12 16:43:43 UTC
I just upgraded to the latest gnome and some svg related displays don't work
anymore.

things that don't work anymore :
- circle theme background for gdm, the theme works but instead of the blue
background, it's now white. I checked the theme, it uses an svg file.
- gtk buttons and gnome panel menus won't work when using svg themes. I get
either nothing or a small file with a red X in it instead of the icons.
- theme selector fails to fully switch to svg themes, window border don't work
for these themes either

the svg themes I use come from gnome-themes-extras and art.gnome.org. Neither work.

Things that do work
- icons on the desktop
- icons in nautilus (however not the menu icons inside nautilus)
- the rsvg* tools seem to work fine (I saw that gnome used librsvg)

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -fomit-frame-pointer -pipe -mmmx -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium3 -fomit-frame-pointer -pipe -mmmx -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_FR.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 acpi alsa avi berkdb bitmap-fonts cdparanoia cdr crypt cups dbus
dga directfb dts dvd dvdr dvdread eds emboss encode evo exif foomaticdb fortran
gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal howl imlib jpeg libg++
libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl nptlonly ogg
oggvorbis opengl pam pda pdflib perl png ppds python quicktime readline real sdl
spell sse ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode
userlocales vorbis win32codecs wxwindows xml2 xv xvid zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2005-09-12 16:44:46 UTC
Created attachment 68313 [details]
gnome theme selector showing a broken preview for three svg themes
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2005-09-12 16:45:32 UTC
Created attachment 68314 [details]
screenshot of gedit after selecting an svg theme
Comment 3 Sven Wegener gentoo-dev 2005-09-13 07:16:39 UTC
http://cvs.gnome.org/viewcvs/librsvg/gdk-pixbuf-loader/io-svg.c?r1=1.25&r2=1.26

I suspect that this change breaks it, some .svg files have <?xml headers and those
files are no longer recognized.
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2005-09-13 09:39:28 UTC
Looks like that's what causing the bug.

I modified my gdm theme to remove the <?xml header and the theme works again.

Is there any indication in a ChangeLog or ML posts as to why svg files with
valid xml headers should no longer be recognised as svg files?

Could this fix be included in a tiny patch for librsvg making millions (ok, at
least half a dozen) of users happy again with svg themes?

Btw, I checked both /usr/share/themes and /usr/share/icons for .svg files, and
only 10 out of 1033 on my box do *not* have the <?xml header, so it's not just
some files, it's an overwhelming majority.
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-09-13 13:25:15 UTC
Were you using gnome 2.12 or 2.10?  There was a problem with librsvg, where it
was not masked with the gnome 2.12 mask.  It required gtk+ from gnome 2.12, tho,
to work properly, which was masked.  The librsvg upgrade is now masked, and
things should be working again, if that was your problem.
Comment 6 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-09-13 13:42:36 UTC
For the record, I can open XML SVGs fine.
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2005-09-13 15:45:44 UTC
librsvg now showed up as masked and emerge downgraded, marking bug INVALID

Thanks both of you :)