https://issues.apache.org/ooo/show_bug.cgi?id=121960

--- Comment #10 from Andre <[email protected]> ---
Arial, thanks for your thorough analysis.  The ToolBarManager in framework/ is
applying some magic to command handling and dispatching.  Something that I
previously thought would be done for every command, not just the ones in the
toolbars.  The SvtCommandOptions() singleton is used to determine whether a
command is disabled.  If it is not disabled a command is dispatched via
XDispatch::dispatch() and not via SfxDispatcher::Execute().

I still have to find out whether the use of SfxDispatcher::Execute(), which is
used throughout the office for the majority of slot calls, generally bypasses
the framework command processing or if that happens only in the sidebar panels.

Anyway, fixing this should not be hard only tedious.  Write some
helper/framework code and use it in all panels.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Reply via email to