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

--- Comment #3 from Maxim Monastirsky <[email protected]> ---
(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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to