Bug 46962
| Summary: | [Qt] When typing in a text field in a flash control, it will duplicate the text typed | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | andy.shaw |
| Component: | Plug-ins | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bdecherf, benjamin, dujinfang, jon.dunleavy, vestbo |
| Priority: | P5 | Keywords: | Qt, QtTriaged |
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.6 | ||
| URL: | http://www.adobe.com/products/flashplatformruntimes/gallery/ | ||
andy.shaw
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Benjamin Poulain
Please follow http://trac.webkit.org/wiki/QtWebKitBugs when reporing bugs here (missing Qt keyword).
Benjamin Poulain
*** Bug 54432 has been marked as a duplicate of this bug. ***
Benjamin Poulain
Test case: http://www.eqenglish.com/resources/seven/input.swf
Jon Dunleavy
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.
Seven Du
The trick does work for me. So, is it a Flash or QT or even Mac bug?
Jon Dunleavy
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.
Seven Du
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;
Benoit Decherf
Still not working with flash 10.3.
Is there a decent workaround ?
Tor Arne Vestbø
Reported as fixed by reporter.
Benoit Decherf
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 ?