<?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>52883</bug_id>
          
          <creation_ts>2011-01-21 04:11:38 -0800</creation_ts>
          <short_desc>[Qt] editing/selection/rtl-move-selection-right-left.html fails</short_desc>
          <delta_ts>2012-10-04 09:00:15 -0700</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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>49511</blocked>
    
    <blocked>87008</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>kadam</cc>
    
    <cc>ossy</cc>
    
    <cc>yael</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>337998</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-01-21 04:11:38 -0800</bug_when>
    <thetext>editing/selection/rtl-move-selection-right-left.html introduced in http://trac.webkit.org/changeset/76312 and fails:

--- /home/webkitbuildbot/slaves/release32bit/buildslave/qt-linux-release/build/layout-test-results/editing/selection/rtl-move-selection-right-left-expected.txt	2011-01-21 03:43:00.092591397 -0800
+++ /home/webkitbuildbot/slaves/release32bit/buildslave/qt-linux-release/build/layout-test-results/editing/selection/rtl-move-selection-right-left-actual.txt	2011-01-21 03:43:00.092591397 -0800
@@ -5,11 +5,11 @@
 
 PASS Move selection right
 PASS Move selection left
-PASS Extend dragged selection right (Mac)
+FAIL Extend dragged selection right (Mac): Selection start is 9 but should be 10
 PASS Extend dragged selection left (Mac)
-PASS Extend dragged selection right (Win)
+FAIL Extend dragged selection right (Win): Selection start is 9 but should be 10
 PASS Extend dragged selection left (Win)
-PASS Extend dragged selection right (Unix)
+FAIL Extend dragged selection right (Unix): Selection start is 9 but should be 10
 PASS Extend dragged selection left (Unix)
 PASS successfullyParsed is true
 
The runtime of this test is 25 seconds, it seems as if a timeout expired.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>338003</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-01-21 04:17:06 -0800</bug_when>
    <thetext>Added to the skipped list: http://trac.webkit.org/changeset/76343</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>339970</commentid>
    <comment_count>2</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2011-01-25 15:30:06 -0800</bug_when>
    <thetext>Looks like QFontMetrics::width() is not returning the right size for Hebrew characters. It returns 4 as the size of each glyph, which is obviously wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>340036</commentid>
    <comment_count>3</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2011-01-25 17:22:28 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Looks like QFontMetrics::width() is not returning the right size for Hebrew characters. It returns 4 as the size of each glyph, which is obviously wrong.

And this is happening only with DumpRenderTree. In QtTestBrowser, the width is correct.
Both of them use font family &quot;Times&quot; for the Hebrew text.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>340274</commentid>
    <comment_count>4</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2011-01-26 08:31:41 -0800</bug_when>
    <thetext>I removed the function DumpRenderTree::initializeFonts() from DumpRenderTreeQt.cpp, and this test passes. it is now clear to me that this is a font issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>733466</commentid>
    <comment_count>5</comment_count>
    <who name="Ádám Kallai">kadam</who>
    <bug_when>2012-10-03 02:08:04 -0700</bug_when>
    <thetext>Now this test is working on Qt. I&apos;m going to removed from the Qt Test Expectations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>734734</commentid>
    <comment_count>6</comment_count>
    <who name="Ádám Kallai">kadam</who>
    <bug_when>2012-10-04 09:00:15 -0700</bug_when>
    <thetext>I skipped it: http://trac.webkit.org/changeset/130385

Closing bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>