4.6 - Icons again - scaling issues ??

View: New views
9 Messages — Rating Filter:   Alert me  

4.6 - Icons again - scaling issues ??

by Paul Griffith-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings,

I have just built Xfce 4.6.1 from source and I am running into one nagging  
issue with icons. I am aware that Xfce v4.6  doesn't ship with any default  
icon theme and you have to install Tango, GNOME or the Industrial icon  
theme. I have done those things, but I have a few issue and I believe they  
are all interconnected.

1 - Thunar -If I view any part of a file system in icon view, I get  
generic icons (for most but not all the file types). When I switch to  
compact list icon see the correct icons for all file types.

2 - Desktop Settings - If I set the icon size larger than 32 I get generic  
icons, any size under 32 works fine but  as soon as the size is 33 or  
larger it switches to the generic icon.

3 - Xfce Settings Manager - Again some icons are missing!

If I switch the icon theme, I get the same results.

So what is the problem? I can only think of a underlying issue with a  
graphic library. I was able to view the svg files from the icon directory  
with rsvg-view, gimp and display.

Here is the strange thing if I view the same .svg files with ristretto I  
get a nothing, it is just blank!

Any clues or hints? I am off to use strace to see what calls ristretto is  
making to display the .svg files.

I am build Xfce 4.6.1 on CentOS 4.6

Thank You
_______________________________________________
Xfce mailing list
Xfce@...
http://foo-projects.org/mailman/listinfo/xfce
http://www.xfce.org

Re: 4.6 - Icons again - scaling issues ??

by Paul Griffith-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 18 Jun 2009 09:40:06 -0400, Paul Griffith <paulg@...>  
wrote:

> Greetings,
>
> I have just built Xfce 4.6.1 from source and I am running into one  
> nagging issue with icons. I am aware that Xfce v4.6  doesn't ship with  
> any default icon theme and you have to install Tango, GNOME or the  
> Industrial icon theme. I have done those things, but I have a few issue  
> and I believe they are all interconnected.
>
> 1 - Thunar -If I view any part of a file system in icon view, I get  
> generic icons (for most but not all the file types). When I switch to  
> compact list icon see the correct icons for all file types.
>
> 2 - Desktop Settings - If I set the icon size larger than 32 I get  
> generic icons, any size under 32 works fine but  as soon as the size is  
> 33 or larger it switches to the generic icon.
>
> 3 - Xfce Settings Manager - Again some icons are missing!
>
> If I switch the icon theme, I get the same results.
>
> So what is the problem? I can only think of a underlying issue with a  
> graphic library. I was able to view the svg files from the icon  
> directory with rsvg-view, gimp and display.
>
> Here is the strange thing if I view the same .svg files with ristretto I  
> get a nothing, it is just blank!
>
> Any clues or hints? I am off to use strace to see what calls ristretto  
> is making to display the .svg files.
>
> I am build Xfce 4.6.1 on CentOS 4.6
>
> Thank You

More followup:

Running strace on ristretto output the following:

/cs/local/packages/xfce-4.6.1/libexec/thunar-vfs-pixbuf-thumbnailer-1:  
Unrecognized image file format.
_______________________________________________
Xfce mailing list
Xfce@...
http://foo-projects.org/mailman/listinfo/xfce
http://www.xfce.org

Re: 4.6 - Icons again - scaling issues ??

by Yves-Alexis Perez-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On jeu, 2009-06-18 at 09:40 -0400, Paul Griffith wrote:
> Any clues or hints? I am off to use strace to see what calls ristretto is  
> making to display the .svg files.

Mhmh, maybe some lib (libxfcegui4 or thunar) isn't correctly built
against librsvg? Not sure but…

Cheers,
--
Yves-Alexis

_______________________________________________
Xfce mailing list
Xfce@...
http://foo-projects.org/mailman/listinfo/xfce
http://www.xfce.org

Re: 4.6 - Icons again - scaling issues ??

by Bugzilla from rw@rlworkman.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 18 Jun 2009 11:16:16 -0400
"Paul Griffith" <paulg@...> wrote:

> Running strace on ristretto output the following:
>
> /cs/local/packages/xfce-4.6.1/libexec/thunar-vfs-pixbuf-thumbnailer-1:  
> Unrecognized image file format.


I've run across this, and I seem to recall that the solution lies in
running gdk-pixbuf-query-loaders

-RW


_______________________________________________
Xfce mailing list
Xfce@...
http://foo-projects.org/mailman/listinfo/xfce
http://www.xfce.org

signature.asc (204 bytes) Download Attachment

Re: 4.6 - Icons again - scaling issues ??

by Paul Griffith-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 18 Jun 2009 12:26:47 -0400, Robby Workman <rw@...> wrote:

> On Thu, 18 Jun 2009 11:16:16 -0400
> "Paul Griffith" <paulg@...> wrote:
>
>> Running strace on ristretto output the following:
>>
>> /cs/local/packages/xfce-4.6.1/libexec/thunar-vfs-pixbuf-thumbnailer-1:
>> Unrecognized image file format.
>
>
> I've run across this, and I seem to recall that the solution lies in
> running gdk-pixbuf-query-loaders
>
> -RW

When I run gdk-pixbuf-query-loaders, it dumps a list of loaders, should it  
do more than that ?


/cs/local/packages/xfce-4.6.1/bin/gdk-pixbuf-query-loaders

g_module_open() failed for  
/cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so:  
/cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so:  
undefined symbol: jas_stream_rewind

....snip....

"/cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/svg_loader.so"
"svg" 2 "gtk20" "Scalable Vector Graphics" "LGPL"
"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml"  
"text/xml-svg" "image/svg+xml-compressed" ""
"svg" "svgz" "svg.gz" ""
" <svg" "*    " 100
" <!DOCTYPE svg" "*             " 100

I can confirm the undefined symbol!

# nm  
/cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so  
| grep jas_stream_rewind
         U jas_stream_rewind

I will recompile gtk+ without jasper support and report what I find.

Thanks
Paul

--
Paul Griffith |Dept. of Computer Science and Engineering - York University
CSE Technical Team |4700 Keele Street, Toronto, ON, Canada M3J-1P3
paulg@... |CSE1003A|Tel: 416-736-2100 x70258|Fax: 416-736-5872
_______________________________________________
Xfce mailing list
Xfce@...
http://foo-projects.org/mailman/listinfo/xfce
http://www.xfce.org

Re: 4.6 - Icons again - scaling issues ??

by Bugzilla from rw@rlworkman.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 18 Jun 2009 13:37:01 -0400
"Paul Griffith" <paulg@...> wrote:

> On Thu, 18 Jun 2009 12:26:47 -0400, Robby Workman <rw@...>
> wrote:
>
> > On Thu, 18 Jun 2009 11:16:16 -0400
> > "Paul Griffith" <paulg@...> wrote:
> >
> >> Running strace on ristretto output the following:
> >>
> >> /cs/local/packages/xfce-4.6.1/libexec/thunar-vfs-pixbuf-thumbnailer-1:
> >> Unrecognized image file format.
> >
> >
> > I've run across this, and I seem to recall that the solution lies in
> > running gdk-pixbuf-query-loaders
> >
> > -RW
>
> When I run gdk-pixbuf-query-loaders, it dumps a list of loaders,
> should it do more than that ?

Redirect that into /etc/gtk-2.0/$host/gdk-pixbuf.loaders (where $host
is $(uname -m)-$distro-linux probably).


> /cs/local/packages/xfce-4.6.1/bin/gdk-pixbuf-query-loaders
>
> g_module_open() failed for  
> /cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so:  
> /cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so:  
> undefined symbol: jas_stream_rewind
>
> ....snip....
>
> "/cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/svg_loader.so"
> "svg" 2 "gtk20" "Scalable Vector Graphics" "LGPL"
> "image/svg+xml" "image/svg" "image/svg-xml"
> "image/vnd.adobe.svg+xml" "text/xml-svg" "image/svg+xml-compressed" ""
> "svg" "svgz" "svg.gz" ""
> " <svg" "*    " 100
> " <!DOCTYPE svg" "*             " 100
>
> I can confirm the undefined symbol!
>
> # nm  
> /cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so  
> | grep jas_stream_rewind
>          U jas_stream_rewind
>
> I will recompile gtk+ without jasper support and report what I find.

Yeah, you'll need to fix that first.

-RW


_______________________________________________
Xfce mailing list
Xfce@...
http://foo-projects.org/mailman/listinfo/xfce
http://www.xfce.org

signature.asc (204 bytes) Download Attachment

Re: 4.6 - Icons again - scaling issues ??

by Paul Griffith-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 18 Jun 2009 14:17:53 -0400, Robby Workman <rw@...> wrote:

> On Thu, 18 Jun 2009 13:37:01 -0400
> "Paul Griffith" <paulg@...> wrote:
>
>> On Thu, 18 Jun 2009 12:26:47 -0400, Robby Workman <rw@...>
>> wrote:
>>
>> > On Thu, 18 Jun 2009 11:16:16 -0400
>> > "Paul Griffith" <paulg@...> wrote:
>> >
>> >> Running strace on ristretto output the following:
>> >>
>> >>  
>> /cs/local/packages/xfce-4.6.1/libexec/thunar-vfs-pixbuf-thumbnailer-1:
>> >> Unrecognized image file format.
>> >
>> >
>> > I've run across this, and I seem to recall that the solution lies in
>> > running gdk-pixbuf-query-loaders
>> >
>> > -RW
>>
>> When I run gdk-pixbuf-query-loaders, it dumps a list of loaders,
>> should it do more than that ?
>
>
> Redirect that into /etc/gtk-2.0/$host/gdk-pixbuf.loaders (where $host
> is $(uname -m)-$distro-linux probably).
>
>
>> /cs/local/packages/xfce-4.6.1/bin/gdk-pixbuf-query-loaders
>>
>> g_module_open() failed for
>> /cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so:
>> /cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so:
>> undefined symbol: jas_stream_rewind
>>
>> ....snip....
>>
>> "/cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/svg_loader.so"
>> "svg" 2 "gtk20" "Scalable Vector Graphics" "LGPL"
>> "image/svg+xml" "image/svg" "image/svg-xml"
>> "image/vnd.adobe.svg+xml" "text/xml-svg" "image/svg+xml-compressed" ""
>> "svg" "svgz" "svg.gz" ""
>> " <svg" "*    " 100
>> " <!DOCTYPE svg" "*             " 100
>>
>> I can confirm the undefined symbol!
>>
>> # nm
>> /cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so
>> | grep jas_stream_rewind
>>          U jas_stream_rewind
>>
>> I will recompile gtk+ without jasper support and report what I find.
>
>
> Yeah, you'll need to fix that first.
>
> -RW

OK  I recompiled without jasper

:( Same results, no change! It works fine with png icons with the  
exception of just one icon!

Blah .... time to go home!

I will post more updates!

--
_______________________________________________
Xfce mailing list
Xfce@...
http://foo-projects.org/mailman/listinfo/xfce
http://www.xfce.org

Re: 4.6 - Icons again - scaling issues ??

by Paul Griffith-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 18 Jun 2009 16:38:05 -0400, Paul Griffith <paulg@...>  
wrote:

> On Thu, 18 Jun 2009 14:17:53 -0400, Robby Workman <rw@...>  
> wrote:
>
>> On Thu, 18 Jun 2009 13:37:01 -0400
>> "Paul Griffith" <paulg@...> wrote:
>>
>>> On Thu, 18 Jun 2009 12:26:47 -0400, Robby Workman <rw@...>
>>> wrote:
>>>
>>> > On Thu, 18 Jun 2009 11:16:16 -0400
>>> > "Paul Griffith" <paulg@...> wrote:
>>> >
>>> >> Running strace on ristretto output the following:
>>> >>
>>> >>  
>>> /cs/local/packages/xfce-4.6.1/libexec/thunar-vfs-pixbuf-thumbnailer-1:
>>> >> Unrecognized image file format.
>>> >
>>> >
>>> > I've run across this, and I seem to recall that the solution lies in
>>> > running gdk-pixbuf-query-loaders
>>> >
>>> > -RW
>>>
>>> When I run gdk-pixbuf-query-loaders, it dumps a list of loaders,
>>> should it do more than that ?
>>
>>
>> Redirect that into /etc/gtk-2.0/$host/gdk-pixbuf.loaders (where $host
>> is $(uname -m)-$distro-linux probably).
>>
>>
>>> /cs/local/packages/xfce-4.6.1/bin/gdk-pixbuf-query-loaders
>>>
>>> g_module_open() failed for
>>> /cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so:
>>> /cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so:
>>> undefined symbol: jas_stream_rewind
>>>
>>> ....snip....
>>>
>>> "/cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/svg_loader.so"
>>> "svg" 2 "gtk20" "Scalable Vector Graphics" "LGPL"
>>> "image/svg+xml" "image/svg" "image/svg-xml"
>>> "image/vnd.adobe.svg+xml" "text/xml-svg" "image/svg+xml-compressed" ""
>>> "svg" "svgz" "svg.gz" ""
>>> " <svg" "*    " 100
>>> " <!DOCTYPE svg" "*             " 100
>>>
>>> I can confirm the undefined symbol!
>>>
>>> # nm
>>> /cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so
>>> | grep jas_stream_rewind
>>>          U jas_stream_rewind
>>>
>>> I will recompile gtk+ without jasper support and report what I find.
>>
>>
>> Yeah, you'll need to fix that first.
>>
>> -RW
>
> OK  I recompiled without jasper
>
> :( Same results, no change! It works fine with png icons with the  
> exception of just one icon!
>
> Blah .... time to go home!
>
> I will post more updates!
>

Time as forced me to use the png icons. I suspect that the issue lies  
somewhere between our  CentOS 4.6 libraries, our NFS hosted libraries and  
the newer libraries installed in a custom location.

Thanks for the suggestions.
Paul
_______________________________________________
Xfce mailing list
Xfce@...
http://foo-projects.org/mailman/listinfo/xfce
http://www.xfce.org

Re: 4.6 - Icons again - scaling issues ??

by Paul Griffith-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 22 Jun 2009 08:27:29 -0400, Paul Griffith <paulg@...> wrote:

> On Thu, 18 Jun 2009 16:38:05 -0400, Paul Griffith <paulg@...>
> wrote:
>
>> On Thu, 18 Jun 2009 14:17:53 -0400, Robby Workman <rw@...>
>> wrote:
>>
>>> On Thu, 18 Jun 2009 13:37:01 -0400
>>> "Paul Griffith" <paulg@...> wrote:
>>>
>>>> On Thu, 18 Jun 2009 12:26:47 -0400, Robby Workman <rw@...>
>>>> wrote:
>>>>
>>>> > On Thu, 18 Jun 2009 11:16:16 -0400
>>>> > "Paul Griffith" <paulg@...> wrote:
>>>> >
>>>> >> Running strace on ristretto output the following:
>>>> >>
>>>> >>
>>>> /cs/local/packages/xfce-4.6.1/libexec/thunar-vfs-pixbuf-thumbnailer-1:
>>>> >> Unrecognized image file format.
>>>> >
>>>> >
>>>> > I've run across this, and I seem to recall that the solution lies in
>>>> > running gdk-pixbuf-query-loaders
>>>> >
>>>> > -RW
>>>>
>>>> When I run gdk-pixbuf-query-loaders, it dumps a list of loaders,
>>>> should it do more than that ?
>>>
>>>
>>> Redirect that into /etc/gtk-2.0/$host/gdk-pixbuf.loaders (where $host
>>> is $(uname -m)-$distro-linux probably).
>>>
>>>
>>>> /cs/local/packages/xfce-4.6.1/bin/gdk-pixbuf-query-loaders
>>>>
>>>> g_module_open() failed for
>>>> /cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so:
>>>> /cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so:
>>>> undefined symbol: jas_stream_rewind
>>>>
>>>> ....snip....
>>>>
>>>> "/cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/svg_loader.so"
>>>> "svg" 2 "gtk20" "Scalable Vector Graphics" "LGPL"
>>>> "image/svg+xml" "image/svg" "image/svg-xml"
>>>> "image/vnd.adobe.svg+xml" "text/xml-svg" "image/svg+xml-compressed" ""
>>>> "svg" "svgz" "svg.gz" ""
>>>> " <svg" "*    " 100
>>>> " <!DOCTYPE svg" "*             " 100
>>>>
>>>> I can confirm the undefined symbol!
>>>>
>>>> # nm
>>>> /cs/local/packages/xfce-4.6.1/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jasper.so
>>>> | grep jas_stream_rewind
>>>>          U jas_stream_rewind
>>>>
>>>> I will recompile gtk+ without jasper support and report what I find.
>>>
>>>
>>> Yeah, you'll need to fix that first.
>>>
>>> -RW
>>
>> OK  I recompiled without jasper
>>
>> :( Same results, no change! It works fine with png icons with the
>> exception of just one icon!
>>
>> Blah .... time to go home!
>>
>> I will post more updates!
>>
>
> Time as forced me to use the png icons. I suspect that the issue lies
> somewhere between our  CentOS 4.6 libraries, our NFS hosted libraries and
> the newer libraries installed in a custom location.
>
> Thanks for the suggestions.
> Paul


Let me close this thread off once and for all. The issue was with the versions of pango/cairo/glib/gtk+/librsvg I had installed. I had to do a lot of trial and error to find the right versions. Not too old and too new :)


Thanks
Paul

_______________________________________________
Xfce mailing list
Xfce@...
http://foo-projects.org/mailman/listinfo/xfce
http://www.xfce.org