<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>66431</bug_id>
          
          <creation_ts>2011-08-17 16:46:03 -0700</creation_ts>
          <short_desc>[Qt] editing/selection/collapse-selection-in-bidi.html fails</short_desc>
          <delta_ts>2014-02-03 03:18:37 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LayoutTestFailure, Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>76821</dependson>
          <blocked>64626</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Balazs Kelemen">kbalazs</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cshu</cc>
    
    <cc>jesus</cc>
    
    <cc>kadam</cc>
    
    <cc>kkristof</cc>
    
    <cc>ossy</cc>
    
    <cc>rafael.lobo</cc>
    
    <cc>rhodovan.u-szeged</cc>
    
    <cc>rniwa</cc>
    
    <cc>szledan</cc>
    
    <cc>yael</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>452726</commentid>
    <comment_count>0</comment_count>
    <who name="Balazs Kelemen">kbalazs</who>
    <bug_when>2011-08-17 16:46:03 -0700</bug_when>
    <thetext>... since added</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>452922</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-08-18 02:45:45 -0700</bug_when>
    <thetext>Introduced in https://trac.webkit.org/changeset/93221 and skipped by https://trac.webkit.org/changeset/93283

--- /ramdisk/qt-linux-release/build/layout-test-results/editing/selection/collapse-selection-in-bidi-expected.txt 
+++ /ramdisk/qt-linux-release/build/layout-test-results/editing/selection/collapse-selection-in-bidi-actual.txt 
@@ -1,9 +1,9 @@
 This tests collapsing directionless selection on text in a block with the opposite text direction. To manually test, on Mac, select text below by mouse and use arrow keys (without pressing shift) to collapse the selection. The selection should collapse to the left if you pressed the left arrow key and to the right if you pressed the right arrow key.
 
-PASS Selection is [anchorNode: [object Text](×××××) anchorOffset: 3 focusNode: [object Text](×××××) focusOffset: 3 isCollapsed: true]
-PASS Selection is [anchorNode: [object Text](×××××) anchorOffset: 1 focusNode: [object Text](×××××) focusOffset: 1 isCollapsed: true]
-PASS Selection is [anchorNode: [object Text](hello) anchorOffset: 1 focusNode: [object Text](hello) focusOffset: 1 isCollapsed: true]
-PASS Selection is [anchorNode: [object Text](hello) anchorOffset: 4 focusNode: [object Text](hello) focusOffset: 4 isCollapsed: true]
+FAIL Selection is [anchorNode: [object Text](×××××) anchorOffset: 0 focusNode: [object Text](×××××) focusOffset: 0 isCollapsed: true] should be at anchorNode: [object Text] anchorOffset: 4 focusNode: [object Text] focusOffset: 4
+FAIL Selection is [anchorNode: [object Text](×××××) anchorOffset: 3 focusNode: [object Text](×××××) focusOffset: 3 isCollapsed: true] should be at anchorNode: [object Text] anchorOffset: 4 focusNode: [object Text] focusOffset: 4
+FAIL Selection is [anchorNode: [object Text](hello) anchorOffset: 1 focusNode: [object Text](hello) focusOffset: 1 isCollapsed: true] should be at anchorNode: [object Text] anchorOffset: 2 focusNode: [object Text] focusOffset: 2
+FAIL Selection is [anchorNode: [object Text](hello) anchorOffset: 3 focusNode: [object Text](hello) focusOffset: 3 isCollapsed: true] should be at anchorNode: [object Text] anchorOffset: 2 focusNode: [object Text] focusOffset: 2
 PASS successfullyParsed is true</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>453062</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-08-18 08:35:11 -0700</bug_when>
    <thetext>Sorry about the failure, I didn&apos;t notice it.  But this is odd, I&apos;m sure Qt supports editing behavior so this must be either that eventSender isn&apos;t working properly or Hebrew characters and directionality aren&apos;t treated properly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>541701</commentid>
    <comment_count>3</comment_count>
    <who name="Rafael Brandao">rafael.lobo</who>
    <bug_when>2012-01-24 14:30:38 -0800</bug_when>
    <thetext>Jesus patch for bug #76821 seems to fix this one as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>543217</commentid>
    <comment_count>4</comment_count>
    <who name="Jesus Sanchez-Palencia">jesus</who>
    <bug_when>2012-01-26 09:55:37 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; Jesus patch for bug #76821 seems to fix this one as well.

This is now unskipped for Qt5 + WK2 and it works fine. It is still skipped for Qt 4 + WK1, though.

Should we keep it open?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>733660</commentid>
    <comment_count>5</comment_count>
    <who name="Ádám Kallai">kadam</who>
    <bug_when>2012-10-03 07:09:18 -0700</bug_when>
    <thetext>Is Anybody working this bug? I tested it. It seems this test still fails on Qt. Do you have any idea?

Diff is here:

--- /home/kadam/webkit/WebKit/WebKitBuild/Release/layout-test-results/editing/selection/collapse-selection-in-bidi-expected.txt
+++ /home/kadam/webkit/WebKit/WebKitBuild/Release/layout-test-results/editing/selection/collapse-selection-in-bidi-actual.txt
@@ -1,9 +1,9 @@
 This tests collapsing directionless selection on text in a block with the opposite text direction. To manually test, on Mac, select text below by mouse and use arrow keys (without pressing shift) to collapse the selection. The selection should collapse to the left if you pressed the left arrow key and to the right if you pressed the right arrow key.
 
-PASS Selection is [anchorNode: [object Text](××‘×’×“×”) anchorOffset: 3 focusNode: [object Text](××‘×’×“×”) focusOffset: 3 isCollapsed: true]
-PASS Selection is [anchorNode: [object Text](××‘×’×“×”) anchorOffset: 1 focusNode: [object Text](××‘×’×“×”) focusOffset: 1 isCollapsed: true]
-PASS Selection is [anchorNode: [object Text](hello) anchorOffset: 1 focusNode: [object Text](hello) focusOffset: 1 isCollapsed: true]
-PASS Selection is [anchorNode: [object Text](hello) anchorOffset: 4 focusNode: [object Text](hello) focusOffset: 4 isCollapsed: true]
+FAIL Selection is [anchorNode: [object Text](××‘×’×“×”) anchorOffset: 1 focusNode: [object Text](××‘×’×“×”) focusOffset: 1 isCollapsed: true] should be at anchorNode: [object Text] anchorOffset: 5 focusNode: [object Text] focusOffset: 5
+FAIL Selection is [anchorNode: [object Text](hello) anchorOffset: 5 focusNode: [object Text](hello) focusOffset: 5 isCollapsed: true] should be at anchorNode: [object Text] anchorOffset: 0 focusNode: [object Text] focusOffset: 0
+FAIL Selection is [anchorNode: [object Text](hello) anchorOffset: 1 focusNode: [object Text](hello) focusOffset: 1 isCollapsed: true] should be at anchorNode: [object Text] anchorOffset: 2 focusNode: [object Text] focusOffset: 2
+PASS Selection is [anchorNode: [object Text](hello) anchorOffset: 5 focusNode: [object Text](hello) focusOffset: 5 isCollapsed: true]
 PASS successfullyParsed is true
 
 TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>835042</commentid>
    <comment_count>6</comment_count>
    <who name="Ádám Kallai">kadam</who>
    <bug_when>2013-02-17 14:26:32 -0800</bug_when>
    <thetext>The test is still failing on Qt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>975289</commentid>
    <comment_count>7</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2014-02-03 03:18:37 -0800</bug_when>
    <thetext>=== 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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>