To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=49631





------- Additional comments from [EMAIL PROTECTED] Mon May 23 04:01:42 -0700 
2005 -------
The VCL SettingsConfigItem does seem to have a method Notify that can read in
the fresh set of values, which seems to be invoked by the
ConfigChangeListener_Impl::changesOccurred in
unotools/source/config/configitem.cxx which in turn is invoked by
Broadcaster::Impl::notifyRootListeners in configmgr/source/api2/broadcaster.cxx.
                                                                               
                                                            
It appears that the notification comes upto the point:
configmgr/source/api2/broadcaster.cxx: line 1170:
                                                                               
                                                            
            if (aRootNotifier.isValid())
            {
                uno::Reference< css::util::XChangesListener > const * const
                pSelect = 0;
                                                                               
                                                            
                NodeID aNotifiedNode = makeRootID( pRootTree );
                                                                               
                                                            
/*returns 0*/   if (ListenerContainer* pContainer =
aRootNotifier->m_aListeners.getContainer(aNotifiedNode.toIndex(),
::getCppuType(pSelect)) )
                {
                    css::util::ChangesEvent aEvent;
                    aEvent.Source = pRootTree->getUnoInstance();
                                                                               
                                                            
                    ...
                                                                               
                                                            
                    try { aIter.next()->changesOccurred(aEvent); }
                }
                                                                               
                                                            
and does not enter the if section and does not notify the change to VCL. It
appears getContainer() returns 0 for a change from gconf. When the Options
dialog is used to make a change in the toolbar icon size, the function returns a
valid value and the changesOccurred is executed/values refreshed.
                                                                               
                                                            
Also, when the merging of the layers is performed to pick up VCL.xcu, I get:
                                                                               
                                                            
Merging layers: 5
Merging layer:
file:///home/raul/opt/m100/share/registry/data/org/openoffice/VCL.xcu
Merging layer: <Unknown Layer Type>
Merging layer:
file:///home/raul/opt/m100/share/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/data/org/openoffice/VCL.xcu
Merging layer: <Unknown Layer Type>
Merging layer:
file:///home/raul/.ooo-2.0-pre/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/data/org/openoffice/VCL.xcu
                                                                               
                                                            
Where the gconf layer is read in, the getLayerURL function displays: <Unknown
Layer Type>. Would this be related to what is happening here ? Would the gconf
layer be required to provide more information to get the values refreshed in 
VCL ?

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to