<?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>235937</bug_id>
          
          <creation_ts>2010-05-01 19:15:38 +0000</creation_ts>
          <short_desc>Disappearing menus and context menus after toolbar change</short_desc>
          <delta_ts>2013-07-08 03:08:10 +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.6</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</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="Thomas Baumgart">tbaumgart</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          
          
          <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>955530</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2010-05-01 19:15:38 +0000</bug_when>
    <thetext>Version:           SVN HEAD (using KDE 4.3.5)
OS:                Linux
Installed from:    openSUSE RPMs

After https://bugs.kde.org/show_bug.cgi?id=234113 has been fixed, we face a new problem: the main &apos;Settings&apos; menu and the context menu for transactions in the ledger view are gone.

I have no idea why that is. Guess it&apos;s time to find someone with some more knowledge about KXMLGuiClient.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>955531</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2010-05-01 19:16:26 +0000</bug_when>
    <thetext>Addon: these items are gone after a change of the toolbar as described in the referenced bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1122061</commentid>
    <comment_count>2</comment_count>
    <who name="Cristian Oneț">onet.cristian</who>
    <bug_when>2011-05-22 22:02:56 +0000</bug_when>
    <thetext>I would close this as a KXMLGuiClient bug since although the behaviour described by you is correct it is only observable until the application is restarted after that everything is OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1122063</commentid>
    <comment_count>3</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2011-05-22 22:08:02 +0000</bug_when>
    <thetext>But why does all this work within other applications? We seem to trigger something here and I like to know what it is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1122069</commentid>
    <comment_count>4</comment_count>
    <who name="Cristian Oneț">onet.cristian</who>
    <bug_when>2011-05-22 22:19:42 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; But why does all this work within other applications? We seem to trigger
&gt; something here and I like to know what it is.

kmymoney(3754) KXMLGUI::ActionList::plug: Index  66  is not within range (0 -  29)
I see all kinds of warnings like this but it seems to me that are internal to KXMLGUI code. The whole toolbar configuration dialog is KXMLGUI code.

See https://projects.kde.org/projects/kde/kdelibs/repository/revisions/master/entry/kdeui/xmlgui/kxmlguifactory_p.cpp#L39
it seems to me that data that is saved by KXMLGUI is not consistent when read back again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1122076</commentid>
    <comment_count>5</comment_count>
    <who name="Cristian Oneț">onet.cristian</who>
    <bug_when>2011-05-22 22:31:08 +0000</bug_when>
    <thetext>We have this problem with KXMLGUI in KMyMoney: if the user configures the toolbar in a certain way the menubar mixes up the menus until the application is restarted.

Steps to reproduce:
1. Open KMyMoney (you can use a testfile at kmymoney2.sourceforge.net/SampleKMyMoneyDataFile.kmy)
2. Configure the toolbar and add the &apos;Edit Splits&apos; action to it
3. Close the toolbar editor and observer that the &apos;Settings&apos; menu was moved as the third menu
4. Warnings like &apos;kmymoney(3754) KXMLGUI::ActionList::plug: Index  66  is not within range (0 - 29)&apos; are printed during this process

We would like to know if we don&apos;t use the API in the &apos;right way&apos;. feel free to ask for any other info.

This bug is in kdeui component but I can&apos;t edit the component of the report.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1382102</commentid>
    <comment_count>6</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2013-07-08 03:08:10 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>