Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.1.1
-
None
-
QT Creator 2.8.1 based on Qt 5.1.1 (MSVC 2010, 32 bit) and compiled with kit: QT 5.1.1 MSVC2010 32bit.
Description
For testing I compiled your example:
http://qt-project.org/doc/qt-5.1/qtwebkitexamples/webkitwidgets-fancybrowser.html
in QT Creator 2.8.1 based on Qt 5.1.1 (MSVC 2010, 32 bit) and compiled with kit: QT 5.1.1 MSVC2010 32bit, also tried with QT 5.1.1 MSVC2012 64bit.
Problem is that the webview shows some strange behavior under Win 7 (x64) or Win 8. The first checkbox has always the focus. If I hover over the first checkbox, the second gets "highlighted". If I check the first checkbox, the second one gets checked. After mouse leave, the first one is checked. If I click the second one, than its only checked after mouse leave.
The behavoir with radiobuttons is the same!
The error doesn't occur with the same exe under Win XP, or with recompiled project for Linux or Mac.
In my own Project; if I set the checked attribute via the web inspector's console, it shows the same behaviour as described.
$(":checkbox").attr("checked", true)
[<input id="loginA" tabindex="3" type="checkbox" name="a" checked="checked">, <input id="loginB" tabindex="4" type="checkbox" name="b" checked="checked">]