<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Standard (Viewing Mode) toolbar does not have the close icon"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=121490#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Standard (Viewing Mode) toolbar does not have the close icon"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=121490">bug 121490</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 Heiko Tietze from <a href="show_bug.cgi?id=121490#c6">comment #6</a>)
<span class="quote">> Maxim, could you please take a look. Maybe there is/was a reason for this
> configuration.</span >
Yes, there is a reason. This toolbar can be seen in action via Help > License
Information > Show License. The license window opens in a special "view only"
mode which doesn't have the menu bar. So if we will let people close this
toolbar, there will be no way to bring it back. Similarly, we don't allow
closing the full screen toolbar, because once closed there is no obvious way to
leave the full screen mode.
This behavior is controlled via a special "NoClose" flag which set to true for
the affected toolbars in
officecfg/registry/data/org/openoffice/Office/UI/WriterWindowState.xcu
See the original reports which introduced this flag:
<a href="https://bz.apache.org/ooo/show_bug.cgi?id=44348">https://bz.apache.org/ooo/show_bug.cgi?id=44348</a>
<a href="https://bz.apache.org/ooo/show_bug.cgi?id=54492">https://bz.apache.org/ooo/show_bug.cgi?id=54492</a>
However, I would suggest to hide the "Standard (Viewing Mode)" entry from the
View > Toolbars menu (similar to how we hide the full screen toolbar entry), as
it's not useful for normal Writer usage, and just adds confusion. This can be
easily done by properly setting the "HideFromToolbarMenu" flag in
WriterWindowState.xcu.</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>