RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 877135 - IBus icon on system tray
Summary: IBus icon on system tray
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ibus
Version: 6.3
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: fujiwara
QA Contact: QE Internationalization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-15 19:17 UTC by Carlos Henrique Castilho
Modified: 2013-06-04 05:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-04 05:45:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Carlos Henrique Castilho 2012-11-15 19:17:41 UTC
Description of problem:
Remove IBus icon from the system tray, when rebooting the machine the icon will be shown again.

How reproducible:
Always

Steps to Reproduce:
1.Right click on IBus > Preferences;
2.Uncheck 'Show icon on system tray' checkbox;
3.Restart system;
4. Login to the system and check that the icon is in the taskbar and the 'Show icon on system tray' checkbox is uncheck.
  
Actual results:
Unchecking 'Show icon on system tray' checkbox, the icon will be removed from the system tray, although when rebooting the machine the icon shows up again and the checkbox still unchecked.

To remove the icon again is needed to check and then uncheck the checkbox, but every reboot this will still happens.

Expected results:
When unchecking the checkbox the icon should be removed even if you reboot the system.

Additional info:
None.

Comment 2 fujiwara 2012-11-16 06:19:51 UTC
(In reply to comment #0)
> Description of problem:
> Remove IBus icon from the system tray, when rebooting the machine the icon
> will be shown again.
> 
> How reproducible:
> Always
> 
> Steps to Reproduce:
> 1.Right click on IBus > Preferences;
> 2.Uncheck 'Show icon on system tray' checkbox;
> 3.Restart system;
> 4. Login to the system and check that the icon is in the taskbar and the
> 'Show icon on system tray' checkbox is uncheck.
>   
> Actual results:
> Unchecking 'Show icon on system tray' checkbox, the icon will be removed
> from the system tray, although when rebooting the machine the icon shows up
> again and the checkbox still unchecked.
> 
> To remove the icon again is needed to check and then uncheck the checkbox,
> but every reboot this will still happens.
> 
> Expected results:
> When unchecking the checkbox the icon should be removed even if you reboot
> the system.
> 
> Additional info:
> None.

I cannot reproduce your problem.
Is your show_icon_on_systray value false?

% gconftool-2 --get /desktop/ibus/panel/show_icon_on_tray
false

If you modify XIM_ARGS="--xim --verbose" in $HOME/.xinputrc or /etc/X11/xinit/xinput.d/ibus.conf , you might see any errors in $HOME/.imsettings.log .

__config_load_show_icon_on_systray() in /usr/share/ibus/ui/gtk/panel.py get the gconf value.


You can run the ibus gtk panel by manual after ibus-daemon runs.
% ps -ef | grep ibus
user $PID python /usr/share/ibus/ui/gtk/main.py
% kill $PID
% env IBUS_PREFIX=/usr python /usr/share/ibus/ui/gtk/main.py

Comment 3 John Walicki 2012-11-19 14:49:22 UTC
On my system...
$ gconftool-2 --get /desktop/ibus/panel/show_icon_on_tray
No value set for `/desktop/ibus/panel/show_icon_on_tray'

Comment 4 fujiwara 2012-11-20 02:06:08 UTC
(In reply to comment #3)
> On my system...
> $ gconftool-2 --get /desktop/ibus/panel/show_icon_on_tray
> No value set for `/desktop/ibus/panel/show_icon_on_tray'

Sorry, it was my typo.

% gconftool-2 --get /desktop/ibus/panel/show_icon_on_systray
false

Comment 5 fujiwara 2012-12-04 08:40:47 UTC
Any updates?

Comment 6 Carlos Henrique Castilho 2012-12-11 17:48:16 UTC
The ibus icon was at my systray and "Show icon on system tray" unchecked, the value was true.
# gconftool-2 --get /desktop/ibus/panel/show_icon_on_systray
true

IMSETTINGS_DISABLE_DESKTOP_CHECK: 
DBUS_SESSION_BUS_ADDRESS: unix:abstract=/tmp/dbus-bf3bypKvMy,guid=0458b0850ae95cd877dd65b9000a97fb
GTK_IM_MODULE: 
QT_IM_MODULE: ibus
XMODIFIERS: @im=ibus
IMSETTINGS_MODULE: IBus
IMSETTINGS_INTEGRATE_DESKTOP: yes

IM-Settings-Daemon[26153]: INFO: Started IBus: process: /usr/bin/ibus-daemon -r --xim, lang=en_US.utf8, pid: 26455, id: 13, time: 2012-12-11T17:18:58.662000Z
IM-Settings-Daemon[26153]: INFO: Current IM is: IBus

It seems now that this issue is very random, when I logout it seem to be fixed.
When enabled ibus, value is true and when disabled, value is false.
Also it shows false enabling and disabling ibus at some point.

Comment 7 fujiwara 2012-12-12 11:08:49 UTC
(In reply to comment #6)
> The ibus icon was at my systray and "Show icon on system tray" unchecked,
> the value was true.
> # gconftool-2 --get /desktop/ibus/panel/show_icon_on_systray
> true

I cannot reproduce your problem.

Are you able to see your problem with a new user account instead of the current user account?

When you uncheck the "Show icon on system tray" button, do you see the following dbus messages?

# cat /home/my_account/.config/ibus/bus/19c906c3e175aa938fa13dcf00000059-unix-0 
# This file is created by ibus-daemon, please do not modify it
IBUS_ADDRESS=unix:abstract=/tmp/dbus-lPAXloKlaC,guid=8a2f5eea56810212a48733380000647c

# dbus-monitor --address unix:abstract=/tmp/dbus-lPAXloKlaC,guid=8a2f5eea56810212a48733380000647c

method call sender=:1.12 -> dest=:1.1 serial=25 path=/org/freedesktop/IBus/Config; interface=(null); member=SetValue
   string "panel"
   string "show_icon_on_systray"
   boolean false
method return sender=:1.1 -> dest=:1.12 reply_serial=25
signal sender=:1.1 -> dest=(null destination) serial=311 path=/org/freedesktop/IBus/Config; interface=org.freedesktop.IBus.Config; member=ValueChanged
   string "panel"
   string "show_icon_on_systray"
   variant       boolean false
method call sender=:1.3 -> dest=:1.1 serial=242 path=/org/freedesktop/IBus/Config; interface=(null); member=GetValue
   string "panel"
   string "show_icon_on_systray"
method return sender=:1.1 -> dest=:1.3 reply_serial=242
   variant       boolean false

Comment 8 Jens Petersen 2013-03-26 06:12:27 UTC
Carlos and John, do you have any most testing results to share?

Comment 9 Jens Petersen 2013-04-09 05:41:38 UTC
IBM, are you able to follow up to comment 7?

Comment 11 RHEL Program Management 2013-06-04 05:45:01 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.


Note You need to log in before you can comment on or make changes to this bug.