Bug 46962 - [Qt] When typing in a text field in a flash control, it will duplicate the text typed
Summary: [Qt] When typing in a text field in a flash control, it will duplicate the te...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.6
: P5 Normal
Assignee: Nobody
URL: http://www.adobe.com/products/flashpl...
Keywords: Qt, QtTriaged
: 54432 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-30 23:10 PDT by andy.shaw
Modified: 2011-11-18 06:25 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andy.shaw 2010-09-30 23:10:49 PDT
When typing in a text field in a flash control, it will duplicate the text typed.  On the URL given, there is a search text field inside the Flash control.  Typing in there will cause the characters to duplicate.  This is a Snow Leopard specific problem as it does not happen on any other Mac version that I tested and it does not happen on other platforms either.

In addition, it works fine in Safari on the same machine.

Flash version is the latest - 10.1.
Comment 1 Benjamin Poulain 2011-01-30 06:57:32 PST
Please follow http://trac.webkit.org/wiki/QtWebKitBugs when reporing bugs here (missing Qt keyword).
Comment 2 Benjamin Poulain 2011-02-23 04:16:28 PST
*** Bug 54432 has been marked as a duplicate of this bug. ***
Comment 3 Benjamin Poulain 2011-02-23 04:17:39 PST
Test case: http://www.eqenglish.com/resources/seven/input.swf
Comment 4 Jon Dunleavy 2011-02-25 02:55:56 PST
I don't know if it helps but we have noticed the following behaviour which works as a workaround.

If you focus the flash content (ie. click on it) then press any key, then make the dashboard appear (default shortcut F12) then make it dissapear, then start typing in the field the problem goes away.
Comment 5 Seven Du 2011-02-25 03:14:57 PST
The trick does work for me. So, is it a Flash or QT or even Mac bug?
Comment 6 Jon Dunleavy 2011-03-03 06:12:04 PST
Further to this, in our application we have noticed an even easier work around,

You can simply click on the desktop and then click back into the application and it works properly.

Other workarounds that we have found include, generating a new tab (if the flash is in a tabbed browser like scenario), generating a Qdialog within the application and then closing it, Alt-tab and minimizing maximizing.

I don't know how many of these workarounds are specific to our application.

To us it looks like the flash window is initialised incorrectly, but then subsequent reinitialisation resolves the issue.

Using the fancybrowser example if you go to the link mentioned, and then type into the flash to get the error, then select the address bar and start typing, the text still appears in the flash input field but as just the single character.

Its like 2 key listeners are set up.
Comment 7 Seven Du 2011-03-03 07:34:51 PST
Cool, it did the trick with the following code triggered by a shortcut after the flash completely being loaded:

	QDialog *d = new QDialog();
	d->show();
	d->close();
	delete d;
Comment 8 Benoit Decherf 2011-05-27 06:07:41 PDT
Still not working with flash 10.3.

Is there a decent workaround ?
Comment 9 Tor Arne Vestbø 2011-11-18 06:06:04 PST
Reported as fixed by reporter.
Comment 10 Benoit Decherf 2011-11-18 06:25:19 PST
In which version ?
With flash 11, the double key bug gone, but the mouse over events doesn't works anymore. Not sure that this should be marked as fixed ?!

In 4.8, with flash < 11, the problem still exists. So what has been fixed ?