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

hanya <hanya.r...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |hanya.r...@gmail.com
     Ever confirmed|0                           |1

--- Comment #7 from hanya <hanya.r...@gmail.com> ---
In the case of addons toolbar, Context value of the toolbar item is compared by 
the module identifier taken from com.sun.star.frame.ModuleManager service.
But addons menu mergeing uses
com.sun.star.lang.XServiceManager::supportsService 
method to check the service is supported one of Context value.

StartModule and Bibliography do not have document model, so always failed about 
merging addons menu.
In the case of Chart, addons menu is shown on my environment. Because 
"com.sun.star.chart2.ChartDocument" is supported by the chart model.
But the module identifier is not match to "com.sun.star.chart.ChartDocument" 
and addons toolbar is not shown.

ModuleManager::identify method tries to get service name of the document and 
recent service name for the chart document is
"com.sun.star.chart2.ChartDocument".

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

Reply via email to