Closed Bug 106281 Opened 23 years ago Closed 15 years ago

If gtk plugins grab focus, input elements can't get it back

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mostafah, Assigned: blizzard)

References

Details

This is the exact problem stated in the source code readme: /mozilla/modules/plugin/testevents/README.TXT under the "LINUX NOTES" section. If a gtk based widget in a plugin grabs focus, the HTML or XUL INPUT elements throughout the page cannot get focus back even if the plugin loses focus by clicking on somewhere empty in the page. This seems to happen only on Linux although I haven't tested other OSs. Reproducable: always Steps to reproduce: 1) Make & install the testevent plugin which can be found at /mozilla/modules/plugin/testevents. 2) Load /mozilla/modules/plugin/testevents/SimpleEventsTest.html 3) Type in the gtk plugin, now try typing into the INPUT element below ( It won't work ). Hint: Click on somewhere blank in the page so the gtk plugin loses focus then click on the INPUT element, now goto another window (Mozilla window should lose focus ), now go back again to the Mozilla window. Now the INPUT element has focus and you can type in it.
Keywords: oeone
Status: UNCONFIRMED → NEW
Ever confirmed: true
Nominating for mozilla1.0. We've got a hack in the embedded Abiword XPCOM to work around this bug.
Whiteboard: mozilla1.0
Erroneously added the mozilla1.0 keyword to the status whiteboard instead of the keywords field.
Keywords: mozilla1.0
Whiteboard: mozilla1.0
Blocks: 140346
I'm sorry for the novice question, but I had to modify the Makefile to build /mozilla/modules/plugin/samples/testevents/libnpevents.so. Now built, I see the debug message "LoadPlugin() cvs/mozilla/dist/bin/plugins/libnpevents.so returned 816eb90", and the plugin does not show up as an available plugin. What am I doing wrong in trying to debug this?
I think this is fixed.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.