This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7038 - Curious cursor behaviour.
Summary: Curious cursor behaviour.
Status: VERIFIED FIXED
Alias: None
Product: Amaya
Classification: Unclassified
Component: Editing (show other bugs)
Version: 11.2
Hardware: Macintosh MacOS X
: P3 major
Target Milestone: ---
Assignee: Vatton
QA Contact: Vatton
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-21 09:44 UTC by Pascal Pignard
Modified: 2009-11-17 20:48 UTC (History)
5 users (show)

See Also:


Attachments

Description Pascal Pignard 2009-06-21 09:44:37 UTC
A mouse clic not directly on a text zone move the cursor straight to the top of the text.
Seem to be curious, because I can only reproduce the error with my HTML page.
Fortunately, I can reduce to a table with an anchor at the beginning:
  <tbody>
    <tr>
       <td><a name="L692" id="L692">adad</a>fzf
        <p></p>
        <p></p>
        <p></p>
        <p>zfz</p>
        <p></p>
        <p></p>
        <p>fz</p>
        <ul>
          <li>ezf
            <p>zef</p>
          </li>
          <li><- clic with the mouse on the left</li>
          <li>zfzerf</li>
        </ul>
        <p>fzerfz</p>
      </td>
    </tr>
  </tbody>
</table>
A mouse clic not in the text zone move the cursor on the anchor !?

It's a new behaviour in 11.2pre4, ok in pre3.

HTH, Pascal.
Comment 1 Vatton 2009-09-09 11:55:44 UTC
(In reply to comment #0)
> A mouse clic not directly on a text zone move the cursor straight to the top of
> the text.
> Seem to be curious, because I can only reproduce the error with my HTML page.
> Fortunately, I can reduce to a table with an anchor at the beginning:
>   <tbody>
>     <tr>
>        <td><a name="L692" id="L692">adad</a>fzf
>         <p></p>
>         <p></p>
>         <p></p>
>         <p>zfz</p>
>         <p></p>
>         <p></p>
>         <p>fz</p>
>         <ul>
>           <li>ezf
>             <p>zef</p>
>           </li>
>           <li><- clic with the mouse on the left</li>
>           <li>zfzerf</li>
>         </ul>
>         <p>fzerfz</p>
>       </td>
>     </tr>
>   </tbody>
> </table>
> A mouse clic not in the text zone move the cursor on the anchor !?
> 
> It's a new behaviour in 11.2pre4, ok in pre3.

It seems fixed in the release.

> 
> HTH, Pascal.
> 

Comment 2 Pascal Pignard 2009-09-10 20:30:55 UTC
Hello Irene.
Seems not going properly on Amaya 11.3-pre Mac OS X 10.4 PPC with HTML code:
<table>
  <tbody>
    <tr>
       <td><a name="L692" id="L692">adad</a>fzf
        <p></p>
        <p></p>
        <p></p>
        <p>zfz</p>
        <p></p>
        <p></p>
        <p>fz</p>
        <ul>
          <li>ezf
            <p>zef</p>
          </li>
          <li> - clic with the mouse just on the left side of the dot</li>
          <li>zfzerf</li>
        </ul>
        <p>fzerfz</p>
      </td>
    </tr>
  </tbody>
</table>
With a clic on blank aera the cursor doesn't go to the next character of the same horizontal line but to the anchor at the top "adad" ???
With a clic on characters the cursor goes according expected behaviour.
Best, Pascal.

Comment 3 Vatton 2009-09-11 09:37:45 UTC
(In reply to comment #2)
> Hello Irene.
> Seems not going properly on Amaya 11.3-pre Mac OS X 10.4 PPC with HTML code:
> <table>
>   <tbody>
>     <tr>
>        <td><a name="L692" id="L692">adad</a>fzf
>         <p></p>
>         <p></p>
>         <p></p>
>         <p>zfz</p>
>         <p></p>
>         <p></p>
>         <p>fz</p>
>         <ul>
>           <li>ezf
>             <p>zef</p>
>           </li>
>           <li> - clic with the mouse just on the left side of the dot</li>
>           <li>zfzerf</li>
>         </ul>
>         <p>fzerfz</p>
>       </td>
>     </tr>
>   </tbody>
> </table>
> With a clic on blank aera the cursor doesn't go to the next character of the
> same horizontal line but to the anchor at the top "adad" ???
> With a clic on characters the cursor goes according expected behaviour.
> Best, Pascal.
> 

I didn't understand your report:
When you click outside the table, Amaya selects the whole <td>. See the bottom status bar that shows the current selection.
Your bug report is that Amaya should select the text within the <td> instead of the <td>?
Comment 4 Vatton 2009-09-11 10:58:50 UTC
(In reply to comment #3)

> I didn't understand your report:
> When you click outside the table, Amaya selects the whole <td>. See the bottom
> status bar that shows the current selection.
> Your bug report is that Amaya should select the text within the <td> instead of
> the <td>?
> 

In next version or snapshot 11.3-pre2, the text or list item will be selected instead of the <td>.
Comment 5 Pascal Pignard 2009-11-17 20:48:36 UTC
Hi.

It's OK with Amaya Snapshot 11.3-pre1.
Now the cursor is moving to a closest position ;-)
Thanks, it was really annoying zapping to the beginning of a long column when you are in the middle for example.

Pascal.