Closed Bug 1312688 Opened 8 years ago Closed 7 years ago

Cannot type some special characters in input text fields in Flash/Flex content with various keyboards (Polish, French)

Categories

(Core Graveyard :: Plug-ins, defect)

49 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1293505

People

(Reporter: wezu84, Unassigned, NeedInfo)

References

()

Details

(Keywords: regression, testcase, Whiteboard: input)

Attachments

(1 file)

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

Steps to reproduce:

1. Upgrade to the latest version of Firefox or install a clean version of Firefox 49 (49.0.1 or 49.0.2) - 32bit or 64bit.
2. Tested on Windows 7, 8.1, 10.
3. Run any Adobe Flash/Flex based website/content on browser.


Actual results:

The problem is that you cannot type any polish characters (ąćęłńóśźż) in any inputs/text boxes in Flash/Flex content.
The problem appears only in the latest versions of Firefox (49.0.1 or 49.0.2) in all adobe flash player plugin versions: 19, 20, 21, 22, 23.


Expected results:

There is a solution but works only temporarily on Firefox 49 (49.0.1 or 49.0.2).
After upgrade/install to the latest version of Firefox we have to click "Refresh Firefox" button in the browser or Firefox website. 
Then typing polish characters works in Flash/Flex content.
But when we close the browser and reopen Firefox it again stopped working typing polish characters.
We have to again click "Refresh Firefox" button again.
However everything works fine (you can type any polish characters) and that problem does not exist in earlier versions of Firefox (47 or 48) in all of adobe flash player plugin versions: 19, 20, 21, 22, 23.
Keywords: flashplayer
Firefox is doing the same with special characters in French (but only with altGr) like @.
Tested on windows 8, 10.
(In reply to wezu84 from comment #0)
> 3. Run any Adobe Flash/Flex based website/content on browser.


Could you provide a website or a testcase with input in Flash object?
Flags: needinfo?(wezu84)
(In reply to yannick.liepold from comment #1)
> Firefox is doing the same with special characters in French (but only with
> altGr) like @.
> Tested on windows 8, 10.

Yes this is exactly the same problem.
By setting the 'dom.ipc.plugins.asyncdrawing.enabled' to false in about:config it works well on our side.
Yes it works. Thanks a lot!
I have reported another bug with different solution:
https://bugzilla.mozilla.org/show_bug.cgi?id=1312902
Blocks: 1229961
Status: UNCONFIRMED → NEW
Component: Untriaged → Plug-ins
Ever confirmed: true
Flags: needinfo?(wezu84)
Product: Firefox → Core
Summary: Adobe Flash/Flex issue with polish characters → Cannot type some special characters in input text fields in Flash/Flex content with various keyboards (Polish, French)
Makoto, can you help diagnose this? My understanding is that polish input should work fine both in windowed and windowess mode. Possibly there's a bug here with text input handling?
Flags: needinfo?(m_kato)
If this issue is on windowed mode too, I think that we need investigation with Adobe side.  And on windows less mode, it may be our event handling.

Nakano-san, I don't have EU keyboard (I should buy it :-)), so could you investigate or confirm?
Flags: needinfo?(m_kato) → needinfo?(masayuki)
Yep, I'll try later but EU keyboards are not so special. JIS keyboard have all keys which EU keyboard have (JIS keyboard is the keyboard which have most keys in the world). JIS keyboard doesn't have only Brazilian ABNT keyboard's C1 key (a key at right of left Shift), C2 key (separator key on Numpad, Mac JIS keyboard has it, though), Korean IME keys (Mac JIS keyboard's Kana and Eisu keys are them, though).
I assume that the report is, AltGr + foo doesn't work.

However, I don't see any problem with Firefox 49.0.2/Nightly, Flash Player 23.0.0.185 on Win10.
Flags: needinfo?(masayuki)
(In reply to wezu84 from comment #0)
> Expected results:
> 
> There is a solution but works only temporarily on Firefox 49 (49.0.1 or
> 49.0.2).
> After upgrade/install to the latest version of Firefox we have to click
> "Refresh Firefox" button in the browser or Firefox website. 
> Then typing polish characters works in Flash/Flex content.

Hmm, that sounds very odd. Do you install some add-ons? If some add-ons consumes some keyboard events before plugin only when AltGr is active, it's possible to reproduce, but I don't have any idea what kind of add-on wants to do for what purpose...

> But when we close the browser and reopen Firefox it again stopped working
> typing polish characters.

When you do "refresh", Firefox will restart automatically, then, only on the restarted Firefox, it works, but after restarting Firefox manually, it won't work, right?

Then, do you nothing other than testing it? (If so, I don't have any idea...)
Flags: needinfo?(wezu84)
And I have another question, when you press and release AltGr in Flash Player, does menubar of Firefox become active (like left Alt key)?
And AltGr key is same as left Ctrl + left Alt. So, what happens when you use them instead of AltGr?
(In reply to Masayuki Nakano [:masayuki] (Mozilla Japan) from comment #13)
> (In reply to wezu84 from comment #0)
> > Expected results:
> > 
> > There is a solution but works only temporarily on Firefox 49 (49.0.1 or
> > 49.0.2).
> > After upgrade/install to the latest version of Firefox we have to click
> > "Refresh Firefox" button in the browser or Firefox website. 
> > Then typing polish characters works in Flash/Flex content.
> 
> Hmm, that sounds very odd. Do you install some add-ons? If some add-ons
> consumes some keyboard events before plugin only when AltGr is active, it's
> possible to reproduce, but I don't have any idea what kind of add-on wants
> to do for what purpose...
> 
> > But when we close the browser and reopen Firefox it again stopped working
> > typing polish characters.
> 
> When you do "refresh", Firefox will restart automatically, then, only on the
> restarted Firefox, it works, but after restarting Firefox manually, it won't
> work, right?
> 
> Then, do you nothing other than testing it? (If so, I don't have any idea...)

No I don't install any add-ons. I install only pure Firefox and flash player plugin.
And yes when I click "refresh", Firefox will restart automatically, then, only on the restarted Firefox, it works, but after restarting Firefox manually, it won't work".
(In reply to Masayuki Nakano [:masayuki] (Mozilla Japan) from comment #15)
> And AltGr key is same as left Ctrl + left Alt. So, what happens when you use
> them instead of AltGr?

The effect is the same. Polish chars won't work.
Thank you for the information, but I still don't have any idea what happens on your environment. The native key message handler won't depend on profile. So, I guess that it must be that the key events are consumed by somebody depending on profile...

If you don't mind to use Nightly, could you post a log file with Nighty build? (Nightly has a lot of improvements of native key message handling and can log the behavior.)
https://nightly.mozilla.org/

You need to set env before launching Nightly:
MOZ_LOG=NativeKeyWidgets:4,KeyboardLayoutWidgets:4
MOZ_LOG_FILE=<path to log file, e.g., c:\users\<user name>\fx.log>

Then, all key messages are logged. So, don't type anything your private info, such as password, and please don't use keyboard shortcut keys like Ctrl+V, such log is just a noise. Use context menu instead to open a test page. Then, you can attach the log file to this bug from above form (if you post a log file, nobody can remove it forever, so, be careful about the logged information).
Flags: needinfo?(wezu84)
I can't reproduce the issue (from comment #3, when typing @ in the input field) in FF50+ with asyncdrawing enabled.
Fix range:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=6795225dc65f98d2c5007e1bf8e0b7ffb2265e38&tochange=0770506cb101cb2a70d0e4d267361767a9bfc9b6

Fixed by bug 1293505.

The reporter should download Beta and test again.
Depends on: 1293505
wezu84, can you download Beta and confirm it's fixed on your side:
https://www.mozilla.org/fr/firefox/beta/all/

Try with both situations "dom.ipc.plugins.asyncdrawing.enabled = true/false" (restart between both).
Flags: needinfo?(wezu84)
(In reply to Masayuki Nakano [:masayuki] (Mozilla Japan) from comment #12)
> I assume that the report is, AltGr + foo doesn't work.
> 
> However, I don't see any problem with Firefox 49.0.2/Nightly, Flash Player
> 23.0.0.185 on Win10.

Hey Masayuki, did you test in 49.0.2 with 'dom.ipc.plugins.asyncdrawing.enabled' set to true? the .2 point release disabled that and I think this bug might be related to async drawing.

https://wiki.mozilla.org/Plugins/Async_Drawing_Triage#Testing

You can also test on nightly which has async drawing enabled by default.
Flags: needinfo?(masayuki)
(In reply to Jim Mathies [:jimm] from comment #21)
> (In reply to Masayuki Nakano [:masayuki] (Mozilla Japan) from comment #12)
> > I assume that the report is, AltGr + foo doesn't work.
> > 
> > However, I don't see any problem with Firefox 49.0.2/Nightly, Flash Player
> > 23.0.0.185 on Win10.
> 
> Hey Masayuki, did you test in 49.0.2 with
> 'dom.ipc.plugins.asyncdrawing.enabled' set to true?

Yes, but I cannot reproduce this bug.

And this test page has each type of input field of flash player:
http://emk.name/test/swftxt.html

I can input "ą" in all forms except swf4's forms.
Flags: needinfo?(masayuki)
Whiteboard: hold
Whiteboard: hold → input
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: