Bug 123021

Summary: Changed "Status appears" in gimlet preferences, gnome-im-switcher-applet has CPU usage over 80%.
Product: [Fedora] Fedora Reporter: sangu <sangu.fedora>
Component: im-sdkAssignee: Yu Shao <yshao>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: eng-i18n-bugs
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-22 01:18:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 125997    

Description sangu 2004-05-11 13:14:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040506 Epiphany/1.2.5

Description of problem:
Changed "Status appears" in gimet preferences,
gnome-im-switcher-applet  has 100% CPU usage.

Version-Release number of selected component (if applicable):
im-sdk-11.4-42

How reproducible:
Always

Steps to Reproduce:
1. Execute gimet preferences.
2. Change Status appears.
3. Execute top in gnome-terminal.

Actual Results:  gnome-im-switcher-applet has CPU usage over 80%.

Additional info:

locale ko_KR.UTF-8, GNOME 2.6, kernel-2.6.5-1.358, xorg-x11-6.7.0-2.

Comment 1 Yu Shao 2004-05-19 05:24:01 UTC
A suggested patch, without patch, gimlet will enter into a infinite loop.

--- preference.c.orig   2004-05-19 15:13:40.463417160 +1000
+++ preference.c        2004-05-19 15:14:32.005581560 +1000
@@ -337,7 +337,7 @@
   value = gconf_value_get_bool (entry->value);
  
   gimlet->showicon = (value != 0);
-  appearance_update (gimlet);
+  //appearance_update (gimlet);
 }
  
 static void
@@ -354,7 +354,7 @@
   value = gconf_value_get_bool (entry->value);
  
   gimlet->showtext = (value != 0);
-  appearance_update (gimlet);
+  //appearance_update (gimlet);
 }
  
 static gboolean