Bug 48514 - [Qt] Text input blurs when pressing the on-screen keyboard input menu
Summary: [Qt] Text input blurs when pressing the on-screen keyboard input menu
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: S60 Hardware S60 3rd edition
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-10-28 05:26 PDT by mailforaleksi521
Modified: 2014-02-03 03:16 PST (History)
3 users (show)

See Also:


Attachments
An example app for the bug (3.56 KB, application/zip)
2010-10-28 05:26 PDT, mailforaleksi521
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mailforaleksi521 2010-10-28 05:26:39 PDT
Created attachment 72173 [details]
An example app for the bug

Environment:
--------------
OS is not S60 3rd edition, but Symbian^3 (at least)
Qt for Symbian 4.6.3

Preconditions:
--------------

View a HTML page with the following content (there is an onblur event listener, which launches a counter, which is shown in the page):

  HTML:

<input type="text" value="just click this and input menu" onblur="blurNotification();" />
<p id="blurInfo"></p>
<p id="counterAfterwards"></p>

  JavaScript:

var i = 0;
function blurNotification() {
document.getElementById('blurInfo').innerHTML = 'BLUR!'; 
document.getElementById('counterAfterwards').innerHTML = i; 
setInterval(function() {
document.getElementById('counterAfterwards').innerHTML = i; 
i = i+1;
}, 1);
}


Steps:
--------------

1) Click the text input element
-> the on-screen keyboard opens
2) Click the input menu button (button 6 in [1])
-> the onblur event have been received! [NOT OK]
3) Wait for 10 seconds
4) Press cancel to return into the on-screen keyboard
5) press the Close key to close the virtual keypad.
-> Now the counterAfterwards p element is shown to have a value over 10 (meaning that it has been counted for over 10 seconds)!

[1] http://europe.nokia.com/support/product-support/n8-00/user-guides?ccf_name=nokia-n8/guide/GUID-B7DB89EE-4255-4351-B455-AF7554AF8C8F_FILE001.html#GUID-B7DB89EE-4255-4351-B455-AF7554AF8C8F


Tested with
- N8 PR1.0, sw version 011.008, sw version date 2010-08-19
- E7
- Both devices Qt for Symbian 4.6.3
Comment 1 mailforaleksi521 2010-11-26 05:17:52 PST
See also the bug 50108: [Qt] Selecting text input text by pressing long is not working in Symbian devices.

https://bugs.webkit.org/show_bug.cgi?id=50108
Comment 2 Benjamin Poulain 2011-01-30 07:40:37 PST
Please follow http://trac.webkit.org/wiki/QtWebKitBugs when reporing bugs here (missing Qt keyword).
Comment 3 Janne Koskinen 2011-02-01 04:22:25 PST
Confirmed,
Input field loses focus when input menu is opened from FEP.

There has been lot of issues ín Qt input context FEP implementation and esp. the symbol/options menu. I hazard and say this is 'a feature'. I'll ping the expert and see what he has to say.
Comment 4 Janne Koskinen 2011-03-03 06:28:26 PST
Did you manage to workaround this issue? It does seem like we can't do much about this for current fullscreen FEP...
Comment 5 Jocelyn Turcotte 2014-02-03 03:16:54 PST
=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.