summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Qt/examples/declarative/rtl/sys_rtl/sys_rtl.qtt11
1 files changed, 6 insertions, 5 deletions
diff --git a/Qt/examples/declarative/rtl/sys_rtl/sys_rtl.qtt b/Qt/examples/declarative/rtl/sys_rtl/sys_rtl.qtt
index e33faa7..b6d5b60 100644
--- a/Qt/examples/declarative/rtl/sys_rtl/sys_rtl.qtt
+++ b/Qt/examples/declarative/rtl/sys_rtl/sys_rtl.qtt
@@ -45,13 +45,13 @@ testcase = {
implicit_text_alignment: function()
{
prompt(twiki('---++ Implicit Text alignment
-
+Note: Empty/whitepace text has no direction, thus TextEdits will still show the cursor to the left. See http://bugreports.qt.nokia.com/browse/QTBUG-17973
| *Step* | *Verification* |
| Execute systemtests/Qt/examples/declarative/rtl/rtltext.qml | Verify that the indicator at the bottom shows Implicit alignment |
| Observe the three different element types - Text, TextInput, TextEdit | Verify that for each case where the text box shows right-to-left text, the text is aligned to the right |
| (Skip this on devices with no Home/End key) In the right-to-left TextInput, press Home, then End | Verify the cursor moves fully to the right, and fully to the left respectively |
| In the TextEdit field, copy some of the Arabic text | |
-| At the leftmost position of the text, press Enter | Verify the text cursor moves the right on the next line |
+| At the leftmost position of the text, press Enter | |
| Paste the copied text | The text is pasted into the box, also right aligned |'));
},
@@ -65,14 +65,14 @@ testcase = {
left_center_and_right_text_alignment: function(name,alignment)
{
prompt(twiki('---++ '+name+' Text alignment
-
+Note: Empty/whitepace text has no direction, thus TextEdits will still show the cursor to the left. See http://bugreports.qt.nokia.com/browse/QTBUG-17973
| *Step* | *Verification* |
| Execute systemtests/Qt/examples/declarative/rtl/rtltext.qml | Verify that the indicator at the bottom shows Left alignment |
| Press the indicator until '+name+' alignment shows | Verify that the indicator at the bottom shows '+name+' alignment |
| Observe the three different element types - Text, TextInput, TextEdit | Verify that for each case where the text box shows right-to-left text, the text is aligned to the '+alignment+' |
| (Skip this on devices with no Home/End key) In the right-to-left TextInput, press Home, then End | Verify the cursor moves fully to the right of the text only, and then fully to the left side respectively |
| In the TextEdit field, copy some of the Arabic text | |
-| At the leftmost position of the text, press Enter | Verify the text cursor moves the '+alignment+' on the next line |
+| At the leftmost position of the text, press Enter | |
| Paste the copied text | The text is pasted into the box, also '+alignment+' aligned |'));
},
@@ -80,13 +80,14 @@ testcase = {
{
prompt(twiki('---++ Justified Text alignment
Note that this only applies to Text and TextEdit. AlignJustify is not available for TextInput
+Note: Empty/whitepace text has no direction, thus TextEdits will still show the cursor to the left. See http://bugreports.qt.nokia.com/browse/QTBUG-17973
| *Step* | *Verification* |
| Execute systemtests/Qt/examples/declarative/rtl/rtltext.qml | Verify that the indicator at the bottom shows Implicit alignment |
| Press the indicator until Justify alignment shows | Verify that the indicator at the bottom shows Justify alignment |
| Observe two of the three different element types - Text, TextEdit | Verify that for each case where the text box shows right-to-left text, the text is aligned to the right |
| (Skip this on devices with no Home/End key) In the right-to-left TextInput, press Home, then End | Verify the cursor moves fully to the right, and fully to the left respectively |
| In the TextEdit field, copy some of the Arabic text | |
-| At the leftmost position of the text, press Enter | Verify the text cursor moves the right on the next line |
+| At the leftmost position of the text, press Enter | |
| Paste the copied text | The text is pasted into the box, also right aligned |'));
}