Closed
Bug 88081
Opened 24 years ago
Closed 24 years ago
Focus doesn't work properly in the ActiveX control
Categories
(Core Graveyard :: Embedding: ActiveX Wrapper, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: adamlock, Assigned: adamlock)
References
Details
Attachments
(2 files)
7.32 KB,
patch
|
saari
:
review+
|
Details | Diff | Splinter Review |
8.43 KB,
patch
|
rpotts
:
superreview+
|
Details | Diff | Splinter Review |
The activex control doesn't allow form fields to be selected or typed into.
*** Bug 88141 has been marked as a duplicate of this bug. ***
Dave, if I add an Activate after creation will that be sufficient for making
focus work? The control is embedded in someone else's window so it won't know
when it's parent frame (if there is one) has been activated or deactivated.
Updated•24 years ago
|
Summary: Focus doesn't work properly in the control → Focus doesn't work properly in the ActiveX control
Comment 3•24 years ago
|
||
Yes, an embeddor wants to notify the embedded Gecko of activates and deactives,
otherwise the focus controller will lock down commands, selection, typing, etc.
I'm not 100% certain that is the problem here, but it definitely what you should
try first.
I'll add some activation code to initialisation.
One thing I won't be able to do is know when the host frame is
activated/deactivated because it belongs to the client and they won't bother to
notify me.
Comment 5•24 years ago
|
||
then selections won't grey out for an inactive window, among other things.
Comment 6•24 years ago
|
||
This bug makes the activex control pretty unusable for forms.
I am having to use a much older version of mozilla for my app because this has
been broken for some time now. Any idea on when this might get fixed?
Chris, can you review the patch please? It fixes the gross deficiencies in the
control so focus, tabbing and keyboard more or less work correctly.
I still haven't put in a proper implementation of nsIWebBrowserChromeFocus so
tabbing out of the control might not work but everything else appears to
function. Bug 101571 covers a problem I discovered with tabbing when embedding
Gecko in a dialog box.
Comment 9•24 years ago
|
||
Comment on attachment 50735 [details] [diff] [review]
Focus fix for the control
Looks like the right thing, r=saari
Attachment #50735 -
Flags: review+
Assignee | ||
Comment 10•24 years ago
|
||
Comment 11•24 years ago
|
||
Comment on attachment 50888 [details] [diff] [review]
Slightly updated version implements nsIWebBrowserFocus properly, submitting for sr
sr=rpotts@netscape.com
looks good to me...
Attachment #50888 -
Flags: superreview+
Assignee | ||
Comment 12•24 years ago
|
||
Fix is checked in. Bug 101571 will still have to be sorted out before the
control will work well in dialog boxes.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 13•24 years ago
|
||
There still seems to be a problem when included in an ActiveX control in a dialog. I have downloaded the build for Oct 9, 2001 and the problem still exists (sample available).
CAxWindow *browserControlWindow = new CAxWindow(m_hWnd);
HRESULT hResult = browserControlWindow->CreateControl(L"Mozilla.Browser.1");
CComQIPtr<IWebBrowser2, &IID_IWebBrowser2> pWebBrowser;
browserControlWindow->QueryControl(IID_IWebBrowser2, reinterpret_cast<void**>(&pWebBrowser));
pWebBrowser->Navigate(T"test.html",0,0,0,0);
Updated•13 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•