Closed Bug 67492 Opened 24 years ago Closed 6 years ago

Test app doesn't respond to key events

Categories

(Core Graveyard :: Java APIs to WebShell, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: edburns, Assigned: edburns)

Details

Reproducible: Always

1. run webclient

2. visit a page that is causes the scroll bar to appear

3. press page down

4. note that nothing happens.
From n.p.m.embedding:

edburns@acm.org wrote:
 
> In article <3A7C5970.2060208@mozilla.org>,
>  blizzard@mozilla.org (Christopher Blizzard) wrote:
> 
>> Maher Awamy wrote:
>> 
>> 
>>> The GtkMozEmbed widget does, i believe it registers listners to do
>> 
> so -
> 
>>> SkipStone recognizes key events just fine, you may want to check
>> 
> out the source
> 
>>> for gtkmozembed.
>>> 
>> 
>> That works because I load a XUL shell which has the keybindings
> 
> attached
> 
>> to it.
>> 
> 
> 
> Would that be this code right here:
> 
>  mChromeLocation.AssignWithConversion
> ("chrome://embedding/browser/content/simple-shell.xul");
>  mChromeNav->LoadURI(mChromeLocation.GetUnicode(),
> nsIWebNavigation::LOAD_FLAGS_NONE);
> 
> http://lxr.mozilla.org/mozilla/source/embedding/browser/gtk/src/gtkmozem
> bed.cpp#404
> 
> Will this work in an embedding app that doesn't use XUL?
> 
 
That looks like the right code.  You might be able to do it without XUL and 
it's actually one of the things that's on my TODO list.  I don't have specifics 
yet, though.
 
--Chris
Status: NEW → ASSIGNED
Changing QA contact
QA Contact: geetha.vaidyanaathan → avm
This bug is reproduced for me with latest webclient.
When webclient running with page that required scrollbars, it do not respond 
event until click inside document or scroll page with using mouse.

Linux 2.2 & Latest Nightly Mozilla build 
Added myselt to cc
Product: Core → Core Graveyard
Java APIs to WebShell isn't a thing anymore. Closing.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.