Closed Bug 181209 Opened 22 years ago Closed 22 years ago

mozilla doesn't receive keyboard events if run without a window manager under X windows (4.2)

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 78928

People

(Reporter: rgh, Assigned: asa)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1

I've got an embedded application and I want to run mozilla full screen without
running a window manager. I've written an XUL application which displays the
browser (using <browser .../>, which does no more than display a browser window
and nothing else (no toolbars, navigation etc). This works well when run from
within a window manager--I can type into a form and all is good. If I run it
from X, without a window manager it doesn't receive any keyboard input; I can
cut and paste into the form. If I run mozilla normally (ie not an xul
application) it does not work either.

I've run other applications (xterm, gedit) in the same manner and they work
correctly. I have tried to xmodmap <map file> but that makes no difference.

Reproducible: Always

Steps to Reproduce:
1. make sure xdm/gdm/kdm is not running and you are at a linux console.
2. if ~/.xinitrc exists rename it. Do not comment out everything as X will start
and then exit immediately.
3. run xinit
4. you will be presented with an xterm in the top right corner, run mozilla
pointing to say http://www.google.com (ie a form)
5. You will find that you cannot type anything into the form, though cut and
paste works.
Actual Results:  
Nothing can be typed into an html form.

Expected Results:  
Print the characters typed!
Duplicate of "twm or no wm: Cannot type into dialog text fields".  That bug has
a discussion of the focus events we are (and are not) getting; I get the
impression that help in fixing this would be appreciated.

*** This bug has been marked as a duplicate of 78928 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.