<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Mouse Selection Misbehaves if Last Cell Has Comment"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125557">125557</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Mouse Selection Misbehaves if Last Cell Has Comment
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice Online
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mails.bugs.documentfoundation.org@gunter.ohrner.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=151744" name="attach_151744" title="Example file which can be used to reproduce the issue.">attachment 151744</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=151744&action=edit" title="Example file which can be used to reproduce the issue.">[details]</a></span>
Example file which can be used to reproduce the issue.

(Reproducable at least in LOOL Calc in its incarnation as Collabora CODE
4.0.4.)

1. If I mouse-drag a selection
2. and lift the button on a cell *which has a comment*,
3. the "mouse up" event apparently is not registered
4. and the selection will continue to be expanded / resized
   during further mouse movements, *without the right mouse
   button being pressed*.

This is even more confusing as it will take a second or two after the comment
popup disappears, until the selection visible starts changing again.

We noticed this behaviour as it caused a mess-up of a table document we use.
:-(



Expected behaviour: If I mouse drag a selection and lift the right mouse
button, the selection shall stop changing, no matter if the last cell of the
selection has a comment or not.


Please refer to the attached "test case" document: It only has three filled
cells, one with a comment. If you select from A1 to A3, stop the mouse, lift
the button and then continue moving the mouse, the selection will also continue
to follow the mouse after a short delay.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>