[Libreoffice-bugs] [Bug 107495] An explicitly enabled contextual toolbar is always closing after exiting its contextual state

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat May 6 19:47:35 UTC 2017


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

--- Comment #3 from Maxim Monastirsky <momonasmon at gmail.com> ---
(In reply to Yousuf Philips (jay) from comment #2)
> @Maxim, @Muhammet: Any idea how difficult this would be to fix, or is all
> that is needed is to change 'ContextSensitive' from true to false in the
> user profile?
AFAIK changing 'ContextSensitive' alone won't do this. The handling of
contextual toolbars is hardcoded in the application code (with Impress/Draw
having different code for that than Writer/Calc). What we need is to refactor
that code so toolbar context will be set directly in *WindowState.xcu (using
vcl::Context enum), similar to what we have for the sidebar.

But currently 'ContextSensitive' does only 2 things:

1. Ignore 'Visible' at application start (i.e. 'ContextSensitive' + 'Visible'
means visible when the correct context active). But it have no effect on what
will happen later while using the application.

2. Changes the state of View > Toolbars > Reset. If there is at least one
'ContextSensitive' toolbar with 'Visible'=false', that menu item will be
enabled, and will allow setting it back to true.

-- 
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/20170506/a885c719/attachment.html>


More information about the Libreoffice-bugs mailing list