Closed
Bug 310174
Opened 19 years ago
Closed 19 years ago
Windowless plug-ins can't receive the focus events
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: emk, Assigned: emk)
References
Details
Attachments
(3 files, 3 obsolete files)
|
645 bytes,
text/html
|
Details | |
|
1.02 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
|
911 bytes,
text/html
|
Details |
Steps to reproduce: 1. Load the testcase. 2. Click on the Flash text input field. 3. Click on the HTML textarea. Actual result: Two carets are displayed. Expected result: Only one caret should be displayed.
| Assignee | ||
Comment 1•19 years ago
|
||
| Assignee | ||
Comment 2•19 years ago
|
||
Attachment #197550 -
Flags: superreview?(jst)
Attachment #197550 -
Flags: review?(jst)
| Assignee | ||
Updated•19 years ago
|
Attachment #197550 -
Flags: superreview?(roc)
Attachment #197550 -
Flags: superreview?(jst)
Attachment #197550 -
Flags: review?(roc)
Attachment #197550 -
Flags: review?(jst)
| Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
- pluginEvent.event = 0x0047; + pluginEvent.event = WM_WINDOWPOSCHANGED; - pluginEvent.event = 0x000F; //!!! This is bad, but is it better to include <windows.h> for WM_PAINT only? + pluginEvent.event = WM_PAINT; Is <windows.h> included now? Are you sure you don't want to set wParam for these events?
| Assignee | ||
Comment 5•19 years ago
|
||
> Is <windows.h> included now? <winuser.h> is included instead, and it defines the WM_* constants. > Are you sure you don't want to set wParam for these events? MozClassic did the same thing. http://lxr.mozilla.org/classic/source/cmd/winfe/cxwin.cpp#1296 Therefore all Nav4x windowless plug-ins will be able to handle this situation (wParam = 0).
Attachment #197550 -
Flags: superreview?(roc)
Attachment #197550 -
Flags: superreview+
Attachment #197550 -
Flags: review?(roc)
Attachment #197550 -
Flags: review+
Comment 6•19 years ago
|
||
checed-in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Target Milestone: --- → mozilla1.9alpha
| Assignee | ||
Comment 7•19 years ago
|
||
Oops. This patch didn't work on optimized build. Reopening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 8•19 years ago
|
||
Attachment #198346 -
Flags: superreview?(roc)
Attachment #198346 -
Flags: review?(roc)
| Assignee | ||
Comment 9•19 years ago
|
||
Hmm, too many events seems to be fired. Load the testcase and click on the flash textbox. Actual: onfocus->onblur->onfocus->onblur... Expected: onfocus only once.
| Assignee | ||
Updated•19 years ago
|
Attachment #198346 -
Attachment is obsolete: true
Attachment #198346 -
Flags: superreview?(roc)
Attachment #198346 -
Flags: review?(roc)
| Assignee | ||
Comment 10•19 years ago
|
||
SetFocus hack in nsPluginInstanceOwner::MouseDown seems to be no longer required. This patch also fix the bug 310626 comment 20 problem.
Attachment #198371 -
Flags: superreview?(roc)
Attachment #198371 -
Flags: review?(roc)
| Assignee | ||
Comment 11•19 years ago
|
||
Comment on attachment 198371 [details] [diff] [review] New patch resolving the comment #9 problem This patch was wrong.
Attachment #198371 -
Flags: superreview?(roc)
Attachment #198371 -
Flags: review?(roc)
| Assignee | ||
Updated•19 years ago
|
Attachment #198371 -
Attachment is obsolete: true
| Assignee | ||
Comment 12•19 years ago
|
||
Flash Player calls ::SetFocus(0) in the mouseDown handler by some unknown reason.
| Assignee | ||
Comment 15•19 years ago
|
||
http://lena.oersted.co.jp/~emk/2005/07/15/index_ns2.html Load the above URL. When you are using latest nightly: You can switch the tab without problems, but testcase in comment #1 does not work. latest debug build: You cannot switch the tab by click. Testcase in comment #1 works. latest build with attachment 198371 [details] [diff] [review]: You can switch the tab only once. Testcase in comment #1 works.
Comment 16•19 years ago
|
||
msintov: See comment 12. We think that this bug is Flash Player's issue. Please check it.
| Assignee | ||
Comment 18•19 years ago
|
||
Yes, this is ugly, but we have no choice until bug 311622 is fixed.
Attachment #197550 -
Attachment is obsolete: true
Attachment #199637 -
Flags: superreview?(roc)
Attachment #199637 -
Flags: review?(roc)
This doesn't seem like a serious enough bug to get a fix into Firefox 1.5 at this stage.
| Assignee | ||
Comment 20•19 years ago
|
||
I know. I only want this patch to land on trunk. This patch is not necessary for brach since Patch rv1.0 did not also land on branch.
Comment 21•19 years ago
|
||
I think we should not use this patch. This is not critical problem. Therefore, Macromedia should fix bug 311622.
| Assignee | ||
Comment 22•19 years ago
|
||
(In reply to comment #21) > I think we should not use this patch. This is not critical problem. Therefore, > Macromedia should fix bug 311622. If we don't proceed, we should back out the attachment 197550 [details] [diff] [review]. It is not only useless on release build, but also logically invalid (dangling pointer). If we only fix it (by applying 198346), we can no longer click Flash movie on debug build if wmode=opaque/transparent. I bet it will cause many many bug reports. Hence I think it is serious enough to workaround.
Status: REOPENED → ASSIGNED
| Assignee | ||
Comment 23•19 years ago
|
||
> we can no longer click Flash movie on debug build if wmode=opaque/transparent.
we can no longer click Flash movie on *nightly* if wmode=opaque/transparent.| Assignee | ||
Updated•19 years ago
|
Attachment #199637 -
Attachment is obsolete: true
Attachment #199637 -
Flags: superreview?(roc)
Attachment #199637 -
Flags: review?(roc)
| Assignee | ||
Comment 24•19 years ago
|
||
Comment on attachment 198346 [details] [diff] [review] A trivial patch resolving a scope problem Per Bugzilla-jp discussion, We (Masayuki and I) decided we do not want to take a workaround for Flash. Please review this patch.
Attachment #198346 -
Attachment is obsolete: false
Attachment #198346 -
Flags: superreview?(roc)
Attachment #198346 -
Flags: review?(roc)
Attachment #198346 -
Flags: superreview?(roc)
Attachment #198346 -
Flags: superreview+
Attachment #198346 -
Flags: review?(roc)
Attachment #198346 -
Flags: review+
Comment 25•19 years ago
|
||
checked-in to Trunk.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → FIXED
I think (but am not sure) that this caused bug 313230...
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•