Version: (using Devel) OS: Linux Installed from: Compiled sources In Kile we use a 'KParts::MainWindow' for the GUI, which is set up with 'KParts::MainWindow::createGUI'. After that we populate dynamic menus using 'plugActionList'. This works fine the first time we create the GUI, but then we merge in a KatePart view using 'guiFactory()->addClient'. After this is done, calling 'unplugActionList' or 'plugActionList' does not have any effect anymore. Initial investigations have shown that there seems to be a problem with the merging of the XML GUI files. Before we merge the KatePart the client name reported in 'KXMLGUIFactory::plugActionList' is set to 'standard_containers'. But after that the name reported there changes to 'kile'. In consequence 'ContainerNode::plugActionList' does not find the right merging place anymore as the cached name 'standard_containers' does not match 'kile'. My guess would be that even after the first merging the reported client name should not be 'standard_containers' but 'kile' instead.
The problem is also in KDE 4.3 beta1. Any chance for a fix till 4.3 release?
Change the component to 'shortcuts' where it seems to fit better!
Sorry, I was a little confused, changing it back to 'kdeui'...
Anybody interested in fixing this ? This is a rather serious issue and makes using multiple parts in an application impossible, if you want to use an ActionList to switch between the parts.
I think I fixed this already? ------------------------------------------------------------------------ r1026838 | dfaure | 2009-09-22 20:05:06 +0200 (Tue, 22 Sep 2009) Merge attributes of the toplevel element too, so that we get <gui name="myapp"> and not <gui name="standard_containers"> in the guiclient's domDocument(). Seen when testing a kedittoolbar change that would make it use domDocument(). Can you tell me if you're still having the problem?
If you can provide the information requested in comment 5, please add it.
To further investigate this issue, KDE developers need the information requested in comment #5. If you can provide it, or need help with finding that information, please add a comment.
No response, changing status. Please reopen, if you have more information.