<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Menu Function “Reply Comment” does not work correctly"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125146">bug 125146</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>momonasmon@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Menu Function “Reply Comment” does not work correctly"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125146#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Menu Function “Reply Comment” does not work correctly"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125146">bug 125146</a>
              from <span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span></b>
        <pre>(In reply to Harald Koester from <a href="show_bug.cgi?id=125146#c0">comment #0</a>)
<span class="quote">> [2] Insert a comment and keep the cursor inside the comment.
> [3] Try to reply the comment: Menu: Edit > Comment > Reply Comment. This
> item is greyed. Expected: Item should not be greyed. Replying should be
> possible.</span >
I think this part isn't a bug. Looking at the code, the Reply Comment command
is disabled when the current user is the author of the comment (because what's
the use in replying to your own comments?). Indeed, changing the user name in
Tools > Options... > LibreOffice > User Data, makes the command work in those
comments that were created with the old name. So this works as designed.

(In reply to Roman Kuznetsov from <a href="show_bug.cgi?id=125146#c1">comment #1</a>)
<span class="quote">> ps: Reply function works fine from drop-down menu on comment</span >
It appears to be a bug, and probably a regression from the conversion of this
menu to .ui format. Looking at the code
(AnnotationMenuButton::MouseButtonDown), it does the same check for the user
name, and when it's the same user it does:

pButtonPopup->EnableItem(FN_REPLY, false);

which isn't going to work, as the menu now doesn't have an item with id
FN_REPLY, and should instead be:

pButtonPopup->EnableItem(pButtonPopup->GetItemId("reply"), false);</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>