* Icon problems with Sato theme
@ 2012-03-12 21:28 Gary Thomas
2012-03-12 22:40 ` Marko Katić
0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2012-03-12 21:28 UTC (permalink / raw)
To: openembedded-core@openembedded.org
Note: This problem was originally sent to the Poky list, but it's not
Poky specific (I've verified it happens with other oe-core based setups)
I'm trying to run the midori browser on my Poky based system. I have
an image which is based on core-image-sato. I imported the midori
recipe from OE and it builds fine. When I run midori, it fails
like this:
%midori
(midori:1629): Gtk-WARNING **: Error loading theme icon 'stock_new-tab' for stock: Icon 'stock_new-tab' not present in te
(midori:1629): Gtk-WARNING **: Error loading theme icon 'gnome-stock-trash' for stock: Icon 'gnome-stock-trash' not prese
(midori:1629): Gtk-WARNING **: Error loading theme icon 'gtk-undo-ltr' for stock: Icon 'gtk-undo-ltr' not present in thee
Segmentation fault
I do have those icons - they come from the gnome-icon-theme package
which I also installed. I even tried duplicating them into the Sato
icon tree and ran 'gtk-update-icon-cache -q /usr/share/icons/Sato'
afterwards. I now have these files:
root@logopak8347tbga:~# find /usr/share/icons -name "stock_new-tab*"
/usr/share/icons/Sato/16x16/actions/stock_new-tab.png
/usr/share/icons/Sato/22x22/actions/stock_new-tab.png
/usr/share/icons/gnome/24x24/actions/stock_new-tab.png
/usr/share/icons/gnome/16x16/actions/stock_new-tab.png
/usr/share/icons/gnome/22x22/actions/stock_new-tab.png
but I still get the same failure.
The really strange thing is this is what happens if I run midori
to the local X server. If I 'ssh -X' into my board it works properly!
I've run strace on it in this mode and I can see that it's using a
different GTK theme - Raleigh, which does seem to find the icons.
Any ideas how I can get this to work on my local X server?
n.b. there seems to be a bug in the GTK libraries that make them fail if the default
icons are not available. It tries to render GTK_STOCK_MISSING_IMAGE for the missing
icons and this fails if there is no such icon available in the set (e.g. in sato).
On ARM at least, this is a fatal segmentation error. Should I report this as a bug?
Where?
I've also tried to add the missing icon(s) to the sato-icon-theme package, but
no matter what I do, GTK can't ever seem to find the GTK_STOCK_MISSING_IMAGE ('gtk-missing-image.png')
Any ideas how to debug this?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Icon problems with Sato theme
2012-03-12 21:28 Icon problems with Sato theme Gary Thomas
@ 2012-03-12 22:40 ` Marko Katić
2012-03-13 0:01 ` Gary Thomas
0 siblings, 1 reply; 3+ messages in thread
From: Marko Katić @ 2012-03-12 22:40 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 3397 bytes --]
Similar things have happened to me. I tried to run oe-core built gtk 2.16
and pcmanfm on an ARM machine and pcmanfm would segfault if it didn't find
the icon it wanted. I vaguely remember similar things happening with other
gtk apps, Abiword 2.8.6 comes to mind...
This may be an issue with gdk-pixbuf, I am not sure.
On Mon, Mar 12, 2012 at 10:28 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> Note: This problem was originally sent to the Poky list, but it's not
> Poky specific (I've verified it happens with other oe-core based setups)
>
> I'm trying to run the midori browser on my Poky based system. I have
> an image which is based on core-image-sato. I imported the midori
> recipe from OE and it builds fine. When I run midori, it fails
> like this:
> %midori
> (midori:1629): Gtk-WARNING **: Error loading theme icon 'stock_new-tab'
> for stock: Icon 'stock_new-tab' not present in te
> (midori:1629): Gtk-WARNING **: Error loading theme icon
> 'gnome-stock-trash' for stock: Icon 'gnome-stock-trash' not prese
> (midori:1629): Gtk-WARNING **: Error loading theme icon 'gtk-undo-ltr'
> for stock: Icon 'gtk-undo-ltr' not present in thee
> Segmentation fault
>
> I do have those icons - they come from the gnome-icon-theme package
> which I also installed. I even tried duplicating them into the Sato
> icon tree and ran 'gtk-update-icon-cache -q /usr/share/icons/Sato'
> afterwards. I now have these files:
> root@logopak8347tbga:~# find /usr/share/icons -name "stock_new-tab*"
> /usr/share/icons/Sato/16x16/**actions/stock_new-tab.png
> /usr/share/icons/Sato/22x22/**actions/stock_new-tab.png
> /usr/share/icons/gnome/24x24/**actions/stock_new-tab.png
> /usr/share/icons/gnome/16x16/**actions/stock_new-tab.png
> /usr/share/icons/gnome/22x22/**actions/stock_new-tab.png
> but I still get the same failure.
>
> The really strange thing is this is what happens if I run midori
> to the local X server. If I 'ssh -X' into my board it works properly!
> I've run strace on it in this mode and I can see that it's using a
> different GTK theme - Raleigh, which does seem to find the icons.
>
> Any ideas how I can get this to work on my local X server?
>
> n.b. there seems to be a bug in the GTK libraries that make them fail if
> the default
> icons are not available. It tries to render GTK_STOCK_MISSING_IMAGE for
> the missing
> icons and this fails if there is no such icon available in the set (e.g.
> in sato).
> On ARM at least, this is a fatal segmentation error. Should I report this
> as a bug?
> Where?
>
> I've also tried to add the missing icon(s) to the sato-icon-theme package,
> but
> no matter what I do, GTK can't ever seem to find the
> GTK_STOCK_MISSING_IMAGE ('gtk-missing-image.png')
> Any ideas how to debug this?
>
> --
> ------------------------------**------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------**------------------------------
>
> ______________________________**_________________
> Openembedded-core mailing list
> Openembedded-core@lists.**openembedded.org<Openembedded-core@lists.openembedded.org>
> http://lists.linuxtogo.org/**cgi-bin/mailman/listinfo/**openembedded-core<http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core>
>
[-- Attachment #2: Type: text/html, Size: 4029 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Icon problems with Sato theme
2012-03-12 22:40 ` Marko Katić
@ 2012-03-13 0:01 ` Gary Thomas
0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2012-03-13 0:01 UTC (permalink / raw)
To: openembedded-core
On 2012-03-12 16:40, Marko Katić wrote:
> Similar things have happened to me. I tried to run oe-core built gtk 2.16 and pcmanfm on an ARM machine and pcmanfm would segfault if it didn't find the icon it wanted. I vaguely
> remember similar things happening with other gtk apps, Abiword 2.8.6 comes to mind...
>
> This may be an issue with gdk-pixbuf, I am not sure.
I've been through the gtk code, but I still can't figure out why these icons are
not being found.
At least I've found a work-around. Adding this
echo 'gtk-fallback-icon-theme = "gnome"' >>/etc/gtk-2.0/gtkrc
to the midori install step lets it find the icons.
> On Mon, Mar 12, 2012 at 10:28 PM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>
> Note: This problem was originally sent to the Poky list, but it's not
> Poky specific (I've verified it happens with other oe-core based setups)
>
> I'm trying to run the midori browser on my Poky based system. I have
> an image which is based on core-image-sato. I imported the midori
> recipe from OE and it builds fine. When I run midori, it fails
> like this:
> %midori
> (midori:1629): Gtk-WARNING **: Error loading theme icon 'stock_new-tab' for stock: Icon 'stock_new-tab' not present in te
> (midori:1629): Gtk-WARNING **: Error loading theme icon 'gnome-stock-trash' for stock: Icon 'gnome-stock-trash' not prese
> (midori:1629): Gtk-WARNING **: Error loading theme icon 'gtk-undo-ltr' for stock: Icon 'gtk-undo-ltr' not present in thee
> Segmentation fault
>
> I do have those icons - they come from the gnome-icon-theme package
> which I also installed. I even tried duplicating them into the Sato
> icon tree and ran 'gtk-update-icon-cache -q /usr/share/icons/Sato'
> afterwards. I now have these files:
> root@logopak8347tbga:~# find /usr/share/icons -name "stock_new-tab*"
> /usr/share/icons/Sato/16x16/__actions/stock_new-tab.png
> /usr/share/icons/Sato/22x22/__actions/stock_new-tab.png
> /usr/share/icons/gnome/24x24/__actions/stock_new-tab.png
> /usr/share/icons/gnome/16x16/__actions/stock_new-tab.png
> /usr/share/icons/gnome/22x22/__actions/stock_new-tab.png
> but I still get the same failure.
>
> The really strange thing is this is what happens if I run midori
> to the local X server. If I 'ssh -X' into my board it works properly!
> I've run strace on it in this mode and I can see that it's using a
> different GTK theme - Raleigh, which does seem to find the icons.
>
> Any ideas how I can get this to work on my local X server?
>
> n.b. there seems to be a bug in the GTK libraries that make them fail if the default
> icons are not available. It tries to render GTK_STOCK_MISSING_IMAGE for the missing
> icons and this fails if there is no such icon available in the set (e.g. in sato).
> On ARM at least, this is a fatal segmentation error. Should I report this as a bug?
> Where?
>
> I've also tried to add the missing icon(s) to the sato-icon-theme package, but
> no matter what I do, GTK can't ever seem to find the GTK_STOCK_MISSING_IMAGE ('gtk-missing-image.png')
> Any ideas how to debug this?
>
> --
> ------------------------------__------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------__------------------------------
>
> _________________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.__openembedded.org <mailto:Openembedded-core@lists.openembedded.org>
> http://lists.linuxtogo.org/__cgi-bin/mailman/listinfo/__openembedded-core <http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core>
>
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-13 0:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-12 21:28 Icon problems with Sato theme Gary Thomas
2012-03-12 22:40 ` Marko Katić
2012-03-13 0:01 ` Gary Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox