Merge lp://staging/~zsombi/ubuntu-ui-toolkit/textinput-text-selection into lp://staging/ubuntu-ui-toolkit/staging
- textinput-text-selection
- Merge into staging
Status: | Superseded | ||||||||
---|---|---|---|---|---|---|---|---|---|
Proposed branch: | lp://staging/~zsombi/ubuntu-ui-toolkit/textinput-text-selection | ||||||||
Merge into: | lp://staging/ubuntu-ui-toolkit/staging | ||||||||
Prerequisite: | lp://staging/~zsombi/ubuntu-ui-toolkit/ubuntutestcase-extras | ||||||||
Diff against target: |
3993 lines (+2093/-704) 25 files modified
components.api (+8/-2) modules/Ubuntu/Components/InputHandler.qml (+315/-0) modules/Ubuntu/Components/Pickers/Dialer.qml (+1/-1) modules/Ubuntu/Components/Pickers/DialerHand.qml (+1/-1) modules/Ubuntu/Components/Pickers/DialerHandGroup.qml (+1/-1) modules/Ubuntu/Components/Pickers/PickerDelegate.qml (+1/-1) modules/Ubuntu/Components/Popups/ActionSelectionPopover.qml (+1/-1) modules/Ubuntu/Components/TextArea.qml (+49/-129) modules/Ubuntu/Components/TextField.qml (+80/-133) modules/Ubuntu/Components/Themes/Ambiance/TextAreaStyle.qml (+5/-5) modules/Ubuntu/Components/plugin/plugin.cpp (+3/-0) modules/Ubuntu/Components/plugin/ucmouse.h (+52/-11) modules/Ubuntu/Components/plugin/ucmousefilters.cpp (+220/-84) modules/Ubuntu/Components/qmldir (+1/-0) modules/Ubuntu/Test/UbuntuTestCase.qml (+2/-0) tests/resources/inputs/TextInputs.qml (+85/-0) tests/unit_x11/tst_components/tst_textarea.qml (+320/-60) tests/unit_x11/tst_components/tst_textarea_in_flickable.qml (+61/-37) tests/unit_x11/tst_components/tst_textfield.qml (+314/-63) tests/unit_x11/tst_mousefilters/ForwardComposedEvents.qml (+55/-0) tests/unit_x11/tst_mousefilters/ForwardEventChained.qml (+51/-0) tests/unit_x11/tst_mousefilters/HoverEvent.qml (+38/-0) tests/unit_x11/tst_mousefilters/HoverEvent.qml.moved (+38/-0) tests/unit_x11/tst_mousefilters/tst_mousefilters.pro (+4/-1) tests/unit_x11/tst_mousefilters/tst_mousefilterstest.cpp (+387/-174) |
||||||||
To merge this branch: | bzr merge lp://staging/~zsombi/ubuntu-ui-toolkit/textinput-text-selection | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Needs Fixing | |
Cris Dywan | Approve | ||
Review via email: mp+214928@code.staging.launchpad.net |
This proposal supersedes a proposal from 2014-04-03.
This proposal has been superseded by a proposal from 2014-04-15.
Commit message
Fixes TextField and TextArea selection and scrolling behaviors.
Description of the change
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:996
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:996
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:997
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:998
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:1001
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:1005
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
Cris Dywan (kalikiana) wrote : Posted in a previous version of this proposal | # |
I see the same test failure here as J locally.
> tests/unit_
> tryCompare(moveSpy, "count", 1, 200);
Why not moveSpy.wait(); here? That seems to fix it for me.
When using select and context menu a few times it's possible to change the selection after the menu opens but before letting go of the mouse button. So I don't get what I selected or worst case nothing.
What I manually checked is that I can select, including scrolling, get a menu, copy, paste and so on, double click to select a word, all of these seem sold aside from the above issue.
FTR toggleFlickable
Should maybe selectionTimeou
test_press_
Zsombor Egri (zsombi) wrote : Posted in a previous version of this proposal | # |
> I see the same test failure here as J locally.
> > tests/unit_
> > tryCompare(moveSpy, "count", 1, 200);
> Why not moveSpy.wait(); here? That seems to fix it for me.
Ahh, right :) I'll fix it.
>
> When using select and context menu a few times it's possible to change the
> selection after the menu opens but before letting go of the mouse button. So I
> don't get what I selected or worst case nothing.
Let's do this in a separate branch..
>
> What I manually checked is that I can select, including scrolling, get a menu,
> copy, paste and so on, double click to select a word, all of these seem sold
> aside from the above issue.
>
> FTR toggleFlickable
> support it, and PropertyChanges doesn't take a list either… but let's have it
> as-is for now.
Well, limitation of PropertyChange, maybe we propose some Change component upstream to deal with a list of targets :).
>
> Should maybe selectionTimeou
> modules/
I will put this in the TextFieldStyle/
>
> test_press_
> Especially given the above problem I found while using it, I think we need to
> test that it can be clicked and catches the right text. Possibly AP.
Yep, but let's get this in a separate branch as well.
Cris Dywan (kalikiana) wrote : Posted in a previous version of this proposal | # |
Filed bug 1304952 for testing the context menu.
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal | # |
FAILED: Continuous integration, rev:1008
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1012
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1014
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
Cris Dywan (kalikiana) wrote : | # |
The menu now stays in place the way it should. Nice!
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1015
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
- 1016. By Zsombor Egri
-
intermediate steps
- 1017. By Zsombor Egri
-
prerequisite merge
- 1018. By Zsombor Egri
-
TextArea test fixes
- 1019. By Zsombor Egri
-
prerequisite merge
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1019
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1020. By Zsombor Egri
-
prereq merge
- 1021. By Zsombor Egri
-
cleanup
- 1022. By Zsombor Egri
-
more cleanup
- 1023. By Zsombor Egri
-
staging merge
- 1024. By Zsombor Egri
-
staging merge
- 1025. By Zsombor Egri
-
replace flick() with mouseDrag()
- 1026. By Zsombor Egri
-
change flick() with mouseDrag()
- 1027. By Zsombor Egri
-
versioning merge
- 1028. By Zsombor Egri
-
tests reworked for tst_textarea_
in_flickable. qml - 1029. By Zsombor Egri
-
staging merge
- 1030. By Zsombor Egri
-
staging merge
FAILED: Continuous integration, rev:994 jenkins. qa.ubuntu. com/job/ ubuntu- ui-toolkit- ci/1990/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- trusty- touch/47 jenkins. qa.ubuntu. com/job/ generic- mediumtests- trusty/ 4543/console jenkins. qa.ubuntu. com/job/ ubuntu- ui-toolkit- trusty- amd64-ci/ 938/console jenkins. qa.ubuntu. com/job/ ubuntu- ui-toolkit- trusty- armhf-ci/ 938 jenkins. qa.ubuntu. com/job/ ubuntu- ui-toolkit- trusty- armhf-ci/ 938/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- mako/53 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- armhf/4148 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- armhf/4148/ artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 5667 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- trusty- amd64/4661/ console
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- ui-toolkit- ci/1990/ rebuild
http://