Bug 5637 - A system tray and GTK+ 2.8.x or above
Summary: A system tray and GTK+ 2.8.x or above
Status: RESOLVED DUPLICATE of bug 5605
Alias: None
Product: UIM
Classification: Unclassified
Component: bridge: GTK+ (show other bugs)
Version: unspecified
Hardware: SGI IRIX
: high normal
Assignee: uim-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-18 00:02 UTC by Daichi Kawahata
Modified: 2006-01-31 21:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Daichi Kawahata 2006-01-18 00:02:43 UTC
GTK+ 2.9.0, GLib 2.9.3 with uim rev. 2928 on IRIX 6.5.22m.

Probably it was caused by recent changes in GObject, from syslog:

(uim-toolbar-gtk-systray:1893442): GLib-GObject-WARNING **: \
  invalid unclassed pointer in cast to `GObject'
(uim-toolbar-gtk-systray:1893442): GLib-GObject-CRITICAL **: \
  g_object_set_data: assertion `G_IS_OBJECT (object)' failed

they're logged repeatedly in the log and, though I have no
clue whether it's side effects, X applications (kterm, emacs
except gtk+ apps) are terminated suddenly with the error below:

kterm:  kterm:  warning, error event receieved:
warning, error event receieved:
X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Atom id in failed request:  0x0
  Serial number of failed request:  298916
  Current serial number in output stream:  298916
X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Atom id in failed request:  0x0
  Serial number of failed request:  364814
  Current serial number in output stream:  364814
X protocol error: BadAtom (invalid Atom parameter) on protocol request 20
Comment 1 Daichi Kawahata 2006-01-18 00:05:58 UTC
On a side note, my window manager is xfwm4 4.3.0 (http://www.xfce.org).
Comment 2 Etsushi Kato 2006-01-24 23:58:54 UTC
I've just committed latest eggtrayicon.[ch] from libegg CVS.
Could you test r2989 whether it still show the problem?

I don't setup gtk+2.9 environment yet, so it would be great if you check uim's
systray in your environment.
Comment 3 Daichi Kawahata 2006-01-27 00:48:11 UTC
(In reply to comment #2)

Now, it's a problem for me.

> I've just committed latest eggtrayicon.[ch] from libegg CVS.
> Could you test r2989 whether it still show the problem?

I'm using a snapshot below:

  Revision: 2989
  Node Kind: directory
  Schedule: normal
  Last Changed Author: ekato
  Last Changed Rev: 2989
  Last Changed Date: 2006-01-24 21:54:43 +0900 (Tue, 24 Jan 2006)
  Properties Last Updated: 2005-11-19 09:02:01 +0900 (Sat, 19 Nov 2005)

Warnings still there:

  Jan 26 20:24:56 6B:moose Xsession: dick: 
  Jan 26 20:24:56 6B:moose Xsession: dick: (uim-toolbar-gtk-systray:3382556):
GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GObject'
  Jan 26 20:24:56 6B:moose Xsession: dick: 
  Jan 26 20:24:56 6B:moose Xsession: dick: (uim-toolbar-gtk-systray:3382556):
GLib-GObject-CRITICAL **: g_object_set_data: assertion `G_IS_OBJECT (object)' f
ailed
  Jan 26 20:24:56 6B:moose Xsession: dick: 
  Jan 26 20:24:56 6B:moose Xsession: dick: (uim-toolbar-gtk-systray:3382556):
Gtk-CRITICAL **: gtk_widget_show_all: assertion `GTK_IS_WIDGET (widget)' failed
  Jan 26 20:24:56 6B:moose Xsession: dick: ERROR: end of file inside read

Too bad, right after the last Gtk-CRITICAL, systray icon turned
invisible while it's running. FYI, I've increased verbosity level
(LIBUIM_VERBOSE="2", 4 must emit too many information), but I can't
get meaningful information yet.

> I don't setup gtk+2.9 environment yet, so it would be great
> if you check uim's systray in your environment.

One thing I should make sure is whether the X applications' (which
means uim-xim related applications) sudden crashes like I wrote
at the first post are related with this systray problem. I'm not
sure if that comes from my mis-configures but mine is,

  For GTK+:
    GTK_IM_MODULE="uim"

  For X:
    XMODIFIERS="@im=uim" and
    "*inputMethod:  uim" in ~/.Xresources

Anyway, I'll keep reporting.
Comment 4 Etsushi Kato 2006-02-01 16:11:19 UTC
I've tested uim-toolbar-gtk-systray with glib-2.9.5 and gtk+-2.8.11 on Fedora
rawhide, and it works fine for me.

It must be related the unstablity of libuim on SGI platform reported in bug #5605.


*** This bug has been marked as a duplicate of 5605 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.