Bug 711632

Summary: SEGV with no icon in oxygen-gtk icon theme.
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: ibusAssignee: fujiwara <tfujiwar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: i18n-bugs, shawn.p.huang, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:b8c507d04790725df03d75f50dea5a5124669868
Fixed In Version: ibus-1.3.99.20110419-2.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-10 13:29:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jens Petersen 2011-06-08 01:58:01 UTC
abrt version: 2.0.1
architecture:   x86_64
cmdline:        /usr/bin/python /usr/share/ibus/ui/gtk/main.py
comment:        Changed desktop icon theme from Fedora to Oxygen (in XFCE).
component:      ibus
executable:     /usr/share/ibus/ui/gtk/main.py
kernel:         2.6.38.6-27.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        ibus-1.3.99.20110408-5.fc15
time:           Wed Jun  8 10:53:02 2011
uid:            500
username:       petersen

reason:         Binary file, 97 bytes

backtrace:
:icon.py:38:__init__:GError:  'gtk-missing-image' 
:
:Traceback (most recent call last):
:  File "/usr/share/ibus/ui/gtk/panel.py", line 510, in __status_icon_activate_cb
:    item.set_image(_icon.IconWidget("gtk-info", size[0]))
:  File "/usr/share/ibus/ui/gtk/icon.py", line 38, in __init__
:    pixbuf = theme.load_icon(gtk.STOCK_MISSING_IMAGE, size, 0)
:GError:  'gtk-missing-image' 
:
:Local variables in innermost frame:
:theme: <gtk.IconTheme object at 0x28b26e0 (GtkIconTheme at 0x26ef090)>
:icon: 'gtk-info'
:pixbuf: None
:self: <IconWidget object at 0x28b20f0 (GtkImage at 0x292a440)>
:size: 16

Comment 1 fujiwara 2011-06-08 04:05:17 UTC
I don't understand what is 'gtk-info'. I'm also adding 'gnome' icon theme until bug 699103 is fixed.

--- ibus/ui/gtk/main.py.orig	2011-04-25 12:33:39.296999692 +0900
+++ ibus/ui/gtk/main.py	2011-06-08 11:53:44.027232075 +0900
@@ -86,6 +86,9 @@ class UIApplication:
             pass
 
 def launch_panel(replace):
+    settings = gtk.settings_get_default()
+    if settings.get_property('gtk-fallback-icon-theme') == None:
+        settings.set_property('gtk-fallback-icon-theme', 'gnome')
     # gtk.settings_get_default().props.gtk_theme_name = "/home/phuang/.themes/aud-Default/gtk-2.0/gtkrc"
     # gtk.rc_parse("./themes/default/gtkrc")
     UIApplication(replace).run()
--- ibus/ui/gtk/panel.py.orig	2011-06-08 12:16:40.107577438 +0900
+++ ibus/ui/gtk/panel.py	2011-06-08 12:17:00.440460268 +0900
@@ -507,7 +507,7 @@ class Panel(ibus.PanelBase):
             menu = gtk.Menu()
             item = gtk.ImageMenuItem(_("No input window"))
             size = gtk.icon_size_lookup(gtk.ICON_SIZE_MENU)
-            item.set_image(_icon.IconWidget("gtk-info", size[0]))
+            item.set_image(_icon.IconWidget("gtk-dialog-info", size[0]))
             menu.add(item)
             menu.show_all()
         else:

Comment 2 Fedora Update System 2011-06-08 06:45:20 UTC
ibus-1.3.99.20110419-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/ibus-1.3.99.20110419-2.fc15

Comment 3 Fedora Update System 2011-06-10 13:29:31 UTC
ibus-1.3.99.20110419-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.