Closed
Bug 490447
Opened 17 years ago
Closed 7 years ago
Focus can't be transferred between two GtkMozEmbed widgets in the same window
Categories
(Core Graveyard :: Embedding: GTK Widget, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: phnixwxz, Unassigned)
Details
Attachments
(1 file)
|
36.58 KB,
text/x-c++src
|
Details |
User-Agent: Mozilla/5.0 (Linux; U; en-US; rv:1.9.1.0) Gecko/20070309 Firefox/3.0.1
Build Identifier:
When two GtkMozEmbed widgets are embedded in the same window, input focus can't be transferred directly from one to another by mouse click.
Reproducible: Always
Steps to Reproduce:
1. Compile and run the attached source code (slightly modified from TestGtkEmbed.)
2. Enter any URL containing at least one text input box (e.g. www.google.com)
3. Click the text input box in the first browser to give it the focus
4. Click the text input box in the second browser
Actual Results:
Focus can't be transferred to the input text box second browser. However, I can first click other place to remove the focus from the first browser and then can successfully give focus to the second browser.
Expected Results:
Focus should be transferred correctly.
| Reporter | ||
Comment 1•17 years ago
|
||
Though focus can't be transferred between the embedded browsers by click, the tab key can transfer focus normally.
| Reporter | ||
Comment 2•17 years ago
|
||
Like bug 490444, this bug also reproduces in Firefox-equivalent version 2.0, 3.0 and 3.5b4.
| Reporter | ||
Comment 3•16 years ago
|
||
I found a workaround method:
In widget/src/gtk2/nsWindow.cpp, change the following line (line No. 2887 for 1.9.1):
if (!gFocusWindow && containerWindow) {
to
if (containerWindow) {
| Assignee | ||
Updated•14 years ago
|
Product: Core → Core Graveyard
Comment 4•7 years ago
|
||
Embedding: GTK Widget isn't a thing, closing.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•