Closed Bug 578693 Opened 14 years ago Closed 14 years ago

Transport of key events to plugin in window-less case is incomplete for Qt backend

Categories

(Core Graveyard :: Widget: Qt, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: steffen.imhof, Unassigned)

Details

Attachments

(1 file)

The nsObjectFrame processes events to send them through the NPAPI later on. There is GTK2 specific code that restores information needed to fill in an XKeyEvent from a GTK event stored in the nsEvent.

There is no corresponding part for Qt. The attached patch is supposed to fix that.

(I used Widget:Qt as component for now, because it is quite Qt specific, on the other hand the affected code is under layout, so if needed please adjust)
Attachment #457311 - Flags: review?(doug.turner)
Comment on attachment 457311 [details] [diff] [review]
Adds XKeyEvent data to events for plugins (gathered from previously stored QEvent)

wow, this is an ugly ass method....
Attachment #457311 - Flags: review?(doug.turner) → review+
http://hg.mozilla.org/mozilla-central/rev/50f1af16f861
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Attachment #457311 - Attachment is patch: true
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: