Bug 2869 - Can no longer get input focus on GL drawing area
Summary: Can no longer get input focus on GL drawing area
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: GLX (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-31 06:44 UTC by Laurence Page
Modified: 2010-05-07 17:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Test program source - a panel containing a GLX widget & a text input widget (3.26 KB, text/plain)
2005-03-31 06:47 UTC, Laurence Page
Details
Test program compiled on RH7.1 - This has expected behaviour (25.30 KB, application/octet-stream)
2005-03-31 06:49 UTC, Laurence Page
Details
Test program compiled on RH9 - Shows the unexpected behaviour (23.49 KB, application/octet-stream)
2005-03-31 06:51 UTC, Laurence Page
Details

Description Laurence Page 2005-03-31 06:44:01 UTC
I have generated a simple test program for this problem: a graphics panel
consisting of a GLX widget and a text input widget. I used to be able to get the
focus to move from the text widget to the GLX widget (XFree86 4.1 - RH 7.1) as
the cursor was moved but now (XFree86 4.3 onwards - RH9, SUSE9) the input focus
stays stuck on the text widget when the cursor is moved into the GLX widget.

The code is happy on SUN, IBM, SGI, HP.
Comment 1 Laurence Page 2005-03-31 06:47:57 UTC
Created attachment 2270 [details]
Test program source - a panel containing a GLX widget & a text input widget

Sample Makefile for test program:
CFLAGS= -I/usr/X11R6/include
LDFLAGS=-L/usr/X11R6/lib

.c.o:
	gcc -c $(CFLAGS) $<

all: xgltest

xgltest.o: xgltest.c

xgltest: xgltest.o
	gcc $(LDFLAGS) -o xgltest xgltest.o -lGLU -lGL -lGLw -lXm -lXt -lX11
-lm
Comment 2 Laurence Page 2005-03-31 06:49:52 UTC
Created attachment 2271 [details]
Test program compiled on RH7.1 - This has expected behaviour
Comment 3 Laurence Page 2005-03-31 06:51:32 UTC
Created attachment 2272 [details]
Test program compiled on RH9 - Shows the unexpected behaviour
Comment 4 Roland Mainz 2005-04-02 12:49:22 UTC
Is it possible that some of the OpenMotif internals were changed in the meantime
which require an update of the GLX widget code, too ?
Comment 5 Kristian Høgsberg 2010-05-07 17:03:53 UTC
This is a bug in motif.  GLX doesn't handle X input events or deal with focus at all, so if the widget is not receiving events the problem is in the motif library you're using.


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.