<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>180756</bug_id>
          
          <creation_ts>2009-01-15 01:52:32 +0000</creation_ts>
          <short_desc>Editing the toolbar deletes everything from the menu inserted with KXMLGUIClient::plugActionList()</short_desc>
          <delta_ts>2013-07-08 03:27:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>kdeui</component>
          <version>4.1</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>64754</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Friedrich W. H. Kossebau">kossebau</reporter>
          <assigned_to name="kdelibs bugs">kdelibs-bugs-null</assigned_to>
          <cc>faure</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>699710</commentid>
    <comment_count>0</comment_count>
    <who name="Friedrich W. H. Kossebau">kossebau</who>
    <bug_when>2009-01-15 01:52:32 +0000</bug_when>
    <thetext>Version:            (using Devel)
Installed from:    Compiled sources

While the apidox for KXMLGUIClient::plugActionList() explicitly says &quot;You should not call createGUI() after calling this function. In fact, that would remove the newly added actionlists again...&quot; this is just what happens if the toolbar gets edited and the changes saved. As a result all dynamically added menu entries are gone.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1034166</commentid>
    <comment_count>1</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2010-10-19 13:50:22 +0000</bug_when>
    <thetext>The solution to this problem is actually documented:
you should connect to the newToolBarConfig() signal and plug the action lists again in the slot; or do like KXmlGuiWindow::saveNewToolbarConfig() (which is the standard slot connected to that signal) and use removeClient+addClient again.

In fact, maybe your problem is already fixed? The fix was r803933 | dfaure | 2008-05-04, but maybe you were not using trunk when you reported this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1382104</commentid>
    <comment_count>2</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2013-07-08 03:27:27 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 64754 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>