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

RESOLVED WORKSFORME

Status

()

Core
Plug-ins
--
critical
RESOLVED WORKSFORME
17 years ago
9 years ago

People

(Reporter: Mostafa Hosseini, Assigned: blizzard)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
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.

Updated

17 years ago
Keywords: oeone
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 1

16 years ago
Nominating for mozilla1.0. We've got a hack in the embedded Abiword XPCOM to
work around this bug.
Whiteboard: mozilla1.0

Comment 2

16 years ago
Erroneously added the mozilla1.0 keyword to the status whiteboard instead of the
keywords field.
Keywords: mozilla1.0
Whiteboard: mozilla1.0
(Reporter)

Comment 3

16 years ago
This bug is related to penzilla bug #1819
(https://bugzilla.oeone.com/show_bug.cgi?id=1819)

Updated

16 years ago
Blocks: 140346

Comment 4

15 years ago
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
Last Resolved: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.