<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:sdc.blanco@youmail.dk" title="sdc.blanco@youmail.dk">sdc.blanco@youmail.dk</a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Enhancement: Format - Comments... should be greyed out when there are no comments"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137568">bug 137568</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>heiko.tietze@documentfoundation.org
</td>
</tr>
<tr>
<td style="text-align:right;">Blocks</td>
<td>
</td>
<td>85811
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Enhancement: Format - Comments... should be greyed out when there are no comments"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137568#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Enhancement: Format - Comments... should be greyed out when there are no comments"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137568">bug 137568</a>
from <span class="vcard"><a class="email" href="mailto:sdc.blanco@youmail.dk" title="sdc.blanco@youmail.dk">sdc.blanco@youmail.dk</a>
</span></b>
<pre>@Heiko - I tried, without success, to find in the code where this should be
modified. I am not sure that I can achieve the intended result, but I wanted to
at least try.
I think the "State" (of whether comments exist or not) is set here.
<a href="https://opengrok.libreoffice.org/xref/core/sw/source/uibase/shells/textfld.cxx?r=93099409&fi=StateField#778">https://opengrok.libreoffice.org/xref/core/sw/source/uibase/shells/textfld.cxx?r=93099409&fi=StateField#778</a>
or maybe here:
<a href="https://opengrok.libreoffice.org/xref/core/sw/source/uibase/shells/annotsh.cxx?r=2c771c05#1139">https://opengrok.libreoffice.org/xref/core/sw/source/uibase/shells/annotsh.cxx?r=2c771c05#1139</a>
and I can see that the menu item is .uno:FormatAllNotes, but I could not see
where the test should be made in deciding whether to make the menu item active.
Can you give me some code pointers? Thanks.</pre>
</div>
</p>
<div id="referenced">
<hr style="border: 1px dashed #969696">
<b>Referenced Bugs:</b>
<ul>
<li>
[<a class="bz_bug_link
bz_status_NEW "
title="NEW - [META] Main menu bar bugs and enhancements"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=85811">Bug 85811</a>] [META] Main menu bar bugs and enhancements
</li>
</ul>
</div>
<br>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>