[Touch-packages] [Bug 1483279] Re: Unit tests fail where mouseClick() is used to simulate a click event on a MouseArea which is a descendant of a TextField

2015-08-21 Thread Zsombor Egri
There is no difference between 1.2 and 1.3 TextField logic. QtTest uses the item in mouseClick() to calculate the position relative to the window, and will send the event to the window. So mouse forwarding will work as usual. At least theoretically. -- You received this bug notification because

[Touch-packages] [Bug 1483279] Re: Unit tests fail where mouseClick() is used to simulate a click event on a MouseArea which is a descendant of a TextField

2015-08-11 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/wily-proposed/webbrowser-app -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1483279 Title: Unit tests fail where mouseClick() is

[Touch-packages] [Bug 1483279] Re: Unit tests fail where mouseClick() is used to simulate a click event on a MouseArea which is a descendant of a TextField

2015-08-10 Thread Olivier Tilloy
Note that that the enabled-ness (or visibility) of the MouseArea plays a key role in the issue: if 'enabled' (or 'visible') is set to !textField.activeFocus, the issue occurs. If always visible/enabled, the issue doesn’t occur. -- You received this bug notification because you are a member of

[Touch-packages] [Bug 1483279] Re: Unit tests fail where mouseClick() is used to simulate a click event on a MouseArea which is a descendant of a TextField

2015-08-10 Thread Olivier Tilloy
I’m attaching a simple standalone reproducer. Observe the issue by running it like that: qmltestrunner -input tst_test.qml ** Attachment added: tst_test.qml https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1483279/+attachment/4442293/+files/tst_test.qml -- You received

[Touch-packages] [Bug 1483279] Re: Unit tests fail where mouseClick() is used to simulate a click event on a MouseArea which is a descendant of a TextField

2015-08-10 Thread Launchpad Bug Tracker
** Branch linked: lp:~osomon/webbrowser-app/uitk-1.3 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1483279 Title: Unit tests fail where mouseClick() is used to