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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>7673</bug_id>
          
          <creation_ts>2009-09-18 10:00:03 +0000</creation_ts>
          <short_desc>&quot;find&quot; searches from the beginning of document by default</short_desc>
          <delta_ts>2009-12-02 09:36:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Amaya</product>
          <component>Editing</component>
          <version>11.2</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Angelo Borsotti">angelo.borsotti</reporter>
          <assigned_to name="Vatton">Irene.Vatton</assigned_to>
          <cc>carcone</cc>
    
    <cc>emilien.kia</cc>
    
    <cc>fred.wang</cc>
    
    <cc>Irene.Vatton</cc>
    
    <cc>vincent.quint</cc>
          
          <qa_contact name="Vatton">Irene.Vatton</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27289</commentid>
    <comment_count>0</comment_count>
    <who name="Angelo Borsotti">angelo.borsotti</who>
    <bug_when>2009-09-18 10:00:03 +0000</bug_when>
    <thetext>Suppose you have the following document (lines are numbered
for convenience):

1. bla bla
2. foo
3. bla bla
4. foo

Then place the cursor at the beginning of line 3, and open the
find window clicking on its icon on the toolbar. Enter &quot;foo&quot; in the
&quot;Search for&quot; field, and click on &quot;Confirm&quot;. It finds the &quot;foo&quot; on line
two.
Then place again the cursor at the beginning of line 3, open the
find window (&quot;foo&quot; is still present in the search field), and click
&quot;Within selection&quot; and &quot;Confirm&quot;: a message &quot;Not found&quot; is displayed.
However, if then you click on &quot;After selection&quot; and &quot;Confirm&quot;, then the
&quot;foo&quot; on line 4 is found.
I think that finding something after the cursor occurs quite frequently.
Requiring users to use the find tool twice (&quot;Within selection&quot; and then
&quot;After selection&quot;) to get it is not much intuitive. &quot;After selection&quot; should
always start finding after the cursor.

The platform is Windows Vista.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29883</commentid>
    <comment_count>1</comment_count>
    <who name="Vatton">Irene.Vatton</who>
    <bug_when>2009-12-02 09:36:04 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Suppose you have the following document (lines are numbered
&gt; for convenience):
&gt; 
&gt; 1. bla bla
&gt; 2. foo
&gt; 3. bla bla
&gt; 4. foo
&gt; 
&gt; Then place the cursor at the beginning of line 3, and open the
&gt; find window clicking on its icon on the toolbar. Enter &quot;foo&quot; in the
&gt; &quot;Search for&quot; field, and click on &quot;Confirm&quot;. It finds the &quot;foo&quot; on line
&gt; two.

Okay we changed that behavior

&gt; Then place again the cursor at the beginning of line 3, open the
&gt; find window (&quot;foo&quot; is still present in the search field), and click
&gt; &quot;Within selection&quot; and &quot;Confirm&quot;: a message &quot;Not found&quot; is displayed.
&gt; However, if then you click on &quot;After selection&quot; and &quot;Confirm&quot;, then the
&gt; &quot;foo&quot; on line 4 is found.

If the selection is just a caret that is normal.
You have to select the whole item with F2 or Esc to have a not empty selection.

&gt; I think that finding something after the cursor occurs quite frequently.
&gt; Requiring users to use the find tool twice (&quot;Within selection&quot; and then
&gt; &quot;After selection&quot;) to get it is not much intuitive. &quot;After selection&quot; should
&gt; always start finding after the cursor.
&gt; 
&gt; The platform is Windows Vista.
&gt; 



</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>