Closed Bug 70987 Opened 25 years ago Closed 25 years ago

mfcEmbed should scroll the page when the spacebar is pressed.

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
Other
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: jud, Assigned: chak)

Details

Attachments

(1 file)

General browser semantic behavior when the spacebar is pressed is to have the page scroll one page.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.1
Correction: Changing QA contact for the Embed API bugs to David Epstein.
QA Contact: mdunn → depstein
The bug seems to occurs on all platforms and be due to the lack of a javascript global context for XUL document. The bindings are done in htmlBindngs.xml (content/xbl/builtin/). The handler for space key is a script using the commandDispatcher property of document. The init method of the xul object initialize the property commandDispatcher with a global XULCommandDispatcher object (from the global object of the JS context). When using the embed widget (gtk or others) the global object is missing the XULCommandDispatcher (and of course other objects of XUL context). Perhaps because the container is not an XUL object ? I'll search in that direction...
Note: Shift+Space should scroll upwards (it works this way in Windows and Mac).
Pressing spacebar in mfcembed now scrolls the page. (Note that you have to explicitly set focus to the window by clicking inside of the browser's client area with the mouse before the spacebar will scroll) This is what happens inside of mozilla as well. There are other focus related bugs which will be addressing this issue. Leaving this bug open so that we can continue to track the focus related issue.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
> Pressing spacebar in mfcembed now scrolls the page. Does 'Shift + Spacebar' work? (Note that this doesn't work in Mozilla.)
'Shift + Spacebar' does not work in mfcembed either. When mozilla supports it, it should show up mfcembed as well...Thanks
scrolls once with each spacebar.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: