[Libreoffice-bugs] [Bug 121490] Standard (Viewing Mode) toolbar does not have the close icon

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Nov 19 23:04:04 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=121490

--- Comment #7 from Maxim Monastirsky <momonasmon at gmail.com> ---
(In reply to Heiko Tietze from comment #6)
> Maxim, could you please take a look. Maybe there is/was a reason for this
> configuration.
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:

https://bz.apache.org/ooo/show_bug.cgi?id=44348
https://bz.apache.org/ooo/show_bug.cgi?id=54492

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181119/6d744c4e/attachment.html>


More information about the Libreoffice-bugs mailing list