Closed Bug 1158839 Opened 9 years ago Closed 9 years ago

[Mac] Unable to enter characters in Flex (flash) text input field, until you click elsewhere and then click in the input field

Categories

(Core Graveyard :: Plug-ins, defect)

37 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: richard.arcega, Unassigned)

References

Details

(Keywords: flashplayer)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.66 Safari/537.36

Steps to reproduce:

1. Navigate to https://trade.tdameritrade.com
2. Apply focus to the username or password field
3. Enter some characters from keyboard

User Agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:37.0) Gecko/20100101 Firefox/37.0

Operating System:
Mac OS X 10.9.3

Adobe Flash Player:
17.0.0.134


Actual results:

You are unable to enter characters in the text input field.


Expected results:

Characters should appear as you type in the text input field.
Keywords: flashplayer
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
WFM with FF37 on Win 7, but I needed to disable the add-on Adblock Plus to see the Flash applet.

Could you test:
1) in safe mode: https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
2) with a fresh profile: https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
Flags: needinfo?(richard.arcega)
I think I can reproduce something like this bug, on Linux.

In particular:
 - When I first load the page, the cursor blinks in the username field, but typing characters has no effect. Also, hitting "tab" doesn't help (or have any noticeable effect).
 - BUT, if I *click* the username field, and *then* type characters, they start showing up.

I get the exact same results in Opera 12.16, which means this is likely to be a Flash bug.

(I can't reproduce in Chrome, but Chrome ships its own weird flash version, so it's conceivable that Chrome's flash version isn't affected by the bug for some reason.)

I have Flash version 11.2.202.457.
Component: Untriaged → Plug-ins
Product: Firefox → Core
So it seems to me like the browser (both Firefox & Opera 12.16) is correctly transferring focus to the Flash plugin, at page-load (as can be seen by invoking commands like Ctrl+W/Cmd+W -- this has no effect, which indicates that Flash is receiving keyboard input instead of the browser).

But Flash (or the flash webapp) is failing to handle that focus properly; it's failing to direct text input to its textfield.

(It's also possible that Richard is seeing something worse than what I'm seeing -- Richard, can you enter text after *clicking* in the text field? It sounds like you can't, from comment 0, but that works for me.)
OS: Mac OS X → All
Hardware: x86_64 → All
This sounds like bug 1153145.

On the Mac, at least (in FF 37.0.2) I can workaround this bug by clicking on the Desktop and then once again on the relevant browser window.  So this probably really is a focus issue.

Daniel, could you look for a regression range for this on Linux?  My guess is that you'll find it's been regressed by the patch for bug 1092630.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Daniel, no, I am unable to enter text after clicking within the text field.

However, if I click on the address bar or the search bar (giving it focus), then click back on the text field, text entry begins working.
Flags: needinfo?(richard.arcega)
(In reply to Steven Michaud from comment #4)
> Daniel, could you look for a regression range for this on Linux?  My guess
> is that you'll find it's been regressed by the patch for bug 1092630.

The symptoms I described in comment 2 go back much further than that bug. I tested Firefox 32 release, & Firefox 17.0 and 4.0 nightlies, and they behave exactly as described in comment 2.  So I think the behavior I'm seeing is not a regression.  (However, I think the behavior I'm seeing is a red herring anyway; sounds like richard & you are seeing something worse on Mac.)

(In reply to richard.arcega from comment #5)
> Daniel, no, I am unable to enter text after clicking within the text field.

OK -- this sounds like a Mac-specific focus handling thing, then.
I tested again, I can't type just after the page loaded, I need to click in the text field. But it works after that.
I tried in the old FF8, same behaviour.
I suspect some ancient, cross-platform Firefox focus bug that was uncovered in recent Flash releases.

Maybe I'll find it when I start work on bug 1153145.
(In reply to comment #7)

I assume you're still testing on Win7, but you don't say so.  Are you?
Summary: Unable to enter characters in Flex text input field → [Mac] Unable to enter characters in Flex (flash) text input field, until you click elsewhere and then click in the input field
I created a bug at Adobe also, maybe they can find something on their side... https://bugbase.adobe.com/index.cfm?event=newBug
This should be fixed by my patch for bug 1153145, which just landed on mozilla-inbound.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
(Following up comment #12)

The Mac-specific part of it, that is.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.