[23191] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: linux 9.1.18: mozilla

daemon@ATHENA.MIT.EDU (John Carr)
Wed Jul 23 17:06:40 2003

Message-Id: <200307232106.h6NL61P8024200@w20-575-49.mit.edu>
To: Greg Hudson <ghudson@mit.edu>
cc: bugs@mit.edu
In-Reply-To: Your message of "Tue, 11 Mar 2003 16:49:58 EST."
             <200303112149.QAA05734@error-messages.mit.edu> 
Date: Wed, 23 Jul 2003 17:06:01 -0400
From: John Carr <jfc@MIT.EDU>


mozilla on Linux 9.1 did not accept keyboard input when I used my
usual windowmanager.  I traced the problem to libgdk -- it requires
that focus be bound to a specific window instead of following the
pointer -- and in the message quoted below you said it would be fixed
in 9.2.

Mozilla on Athena 9.2 Linux works properly.  Mozilla on Athena 9.2
Solaris does not accept keyboard input.  According to ldd and pldd,
mozilla-bin is using a libgtk found in /usr/sfw/lib rather than the
version in /usr/athena/lib.  (If I use LD_LIBRARY_PATH to load the
athena gtk/gdk mozilla displays nothing at all or crashes.  mozilla
was probably linked against the /usr/sfw library and the /usr/athena
version is not compatible.)

You can patch /usr/sfw/lib/libgdk-1.2.so.0 with adb to fix the bug
(two missing bits in a lookup table):

	gdk_event_mask_table+34?X
	gdk_event_mask_table+0x34:      200000          
	?W 200030
	gdk_event_mask_table+0x34:      0x200000        =       0x200030

(I just tested this.)

> 
> mozilla in the infoagents locker isn't linked against a gtk built from
> source, so it wouldn't be convenient for us to apply this fix.
> 
> However, Athena 9.2 will include a mozilla built from source against a
> gtk built from source.  So we'll include this fix in the next full
> release.
> 
> I don't know if gtk 2 has a similar bug; we don't really have the
> resources to proactively investigate, given how rare the use case is.
> (I did look briefly during the initial exchange, and found that the
> relevant code had been significantly reorganized.)  Expect that you
> might see a regression when Mozilla starts using gtk 2 or when you try
> other gtk-based programs which use gtk 2.


home help back first fref pref prev next nref lref last post