<?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>70459</bug_id>
          
          <creation_ts>2003-12-15 02:04:59 +0000</creation_ts>
          <short_desc>KParts::MainWindow::createGUI() fails to activate KActions in KActionMenus</short_desc>
          <delta_ts>2009-08-21 02:20:29 +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>general</component>
          <version>3.2</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Ian">ian</reporter>
          <assigned_to name="Simon Hausmann">hausmann</assigned_to>
          <cc>amitshah</cc>
    
    <cc>kloecker</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>15</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>186153</commentid>
    <comment_count>0</comment_count>
    <who name="Ian">ian</who>
    <bug_when>2003-12-15 02:04:59 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.1.94)
Installed from:    RedHat RPMs

The following keyboard commands do not work in Kmail when Kmail is opened with Kontact.  When Kmail 1.5.94  is opened on its own, they seem to work fine:

F (Forward)
Shift-F (Forward Inline)
E - Redirect</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>186154</commentid>
    <comment_count>1</comment_count>
    <who name="Ian">ian</who>
    <bug_when>2003-12-15 02:06:57 +0000</bug_when>
    <thetext>Hmmm.. after closing Kontact and restarting it, now they appear to work. Not sure if I should mark as resolved or not.  I&apos;ll keep an eye on this, and see if it happens again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187160</commentid>
    <comment_count>2</comment_count>
    <who name="Ian">ian</who>
    <bug_when>2003-12-18 02:00:18 +0000</bug_when>
    <thetext>Marking as resolved.  Have had no further problems.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200265</commentid>
    <comment_count>3</comment_count>
    <who name="David Cornish">bulk</who>
    <bug_when>2004-01-30 16:22:18 +0000</bug_when>
    <thetext>I can reproduce this bug still in KDE 3.2 RC-1, RedHat RPMs.  It would seem that only occurs after a different component is selected in Kontact (eg. To Do or Contacts) and then Mail is selected again.  Then F and shift-F stop working.  However, until you select another component, on the first instance of using the Kmail KPart, it works fine, which is why it appeared to work for Ian after restarting Kontact.  This bug therefore need to be re-opened for fixing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200279</commentid>
    <comment_count>4</comment_count>
    <who name="Ingo Klöcker">kloecker</who>
    <bug_when>2004-01-30 17:59:16 +0000</bug_when>
    <thetext>I can confirm this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200491</commentid>
    <comment_count>5</comment_count>
    <who name="Ingo Klöcker">kloecker</who>
    <bug_when>2004-01-31 14:51:55 +0000</bug_when>
    <thetext>I&apos;ll attach a patch for the kpartstest which demonstrates the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200493</commentid>
    <comment_count>6</comment_count>
      <attachid>4452</attachid>
    <who name="Ingo Klöcker">kloecker</who>
    <bug_when>2004-01-31 14:55:46 +0000</bug_when>
    <thetext>Created attachment 4452
this patch makes a few modifications to kpartstest to demonstrate the bug

To test run kpartstest. Make sure that part 2 hasn&apos;t been activated (a few
times it was activated although that shouldn&apos;t have happened according to the
code). Press &apos;a&apos; and &apos;f&apos;. You&apos;ll see that both shortcuts work. Now activate
part 2 and then reactivate part 1. Try again &apos;a&apos; and &apos;f&apos;. You&apos;ll notice that
&apos;a&apos; does work again, but that &apos;f&apos; doesn&apos;t work anymore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200496</commentid>
    <comment_count>7</comment_count>
      <attachid>4453</attachid>
    <who name="Ingo Klöcker">kloecker</who>
    <bug_when>2004-01-31 15:00:14 +0000</bug_when>
    <thetext>Created attachment 4453
this patch makes a few modifications to kpartstest to demonstrate the bug (second try)

Apparently the file name input field in bugzilla expects a full path although
using a relative path (relative to $HOME) works nicely with autocompletion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200498</commentid>
    <comment_count>8</comment_count>
    <who name="Martin Köbele">martin</who>
    <bug_when>2004-01-31 15:03:19 +0000</bug_when>
    <thetext>I experience the bug, too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>200500</commentid>
    <comment_count>9</comment_count>
    <who name="Ingo Klöcker">kloecker</who>
    <bug_when>2004-01-31 15:08:47 +0000</bug_when>
    <thetext>I forgot to mention that the problem seems to be related to the not working KAction being in a KActionMenu.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206037</commentid>
    <comment_count>10</comment_count>
    <who name="Ingo Klöcker">kloecker</who>
    <bug_when>2004-02-15 19:03:05 +0000</bug_when>
    <thetext>For KMail we do now workaround this problem by explicitely adding the Forward actions to a &quot;Forward&quot; submenu of the Message menu (in the XMLUI file) instead of using the Forward KActionMenu for the Message menu. So in KDE 3.2.1 Forward will still work in the Mail component after switching to other components in Kontact.

Since the general problem remains I don&apos;t close this bug report.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211682</commentid>
    <comment_count>11</comment_count>
    <who name="Martin Köbele">martin</who>
    <bug_when>2004-03-02 21:57:52 +0000</bug_when>
    <thetext>thanks for the workaround. it works :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>250779</commentid>
    <comment_count>12</comment_count>
    <who name="Till Adam">adam</who>
    <bug_when>2004-07-20 19:17:07 +0000</bug_when>
    <thetext>*** Bug 74052 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>816020</commentid>
    <comment_count>13</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2009-08-21 02:20:29 +0000</bug_when>
    <thetext>SVN commit 1013868 by dfaure:

Ported the old testcase from bug 70459 to kde4; seems to work fine, the bug is fixed.
(was &quot;shortcuts of actions inside a KActionMenu stop working after activating another part and back&quot;)
Ingo: if the workaround from comment 10 is still there in kmail, it can be removed :)
BUG: 70459


 M  +1 -0      kpartstest_part1.rc  
 A             kpartstest_part2.rc  
 M  +30 -3     parts.cpp  
 M  +4 -0      parts.h  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=1013868</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>4452</attachid>
            <date>2004-01-31 14:55:46 +0000</date>
            <delta_ts>2004-01-31 15:00:14 +0000</delta_ts>
            <desc>this patch makes a few modifications to kpartstest to demonstrate the bug</desc>
            <filename>kpartstest.diff</filename>
            <type>text/plain</type>
            <size>48</size>
            <attacher name="Ingo Klöcker">kloecker</attacher>
            
              <data encoding="base64">Y3ZzL2tkZS8zLjIva2RlbGlicy9rcGFydHMvdGVzdHMva3BhcnRzdGVzdC5kaWZm
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>4453</attachid>
            <date>2004-01-31 15:00:14 +0000</date>
            <delta_ts>2004-01-31 15:00:14 +0000</delta_ts>
            <desc>this patch makes a few modifications to kpartstest to demonstrate the bug (second try)</desc>
            <filename>kpartstest.diff</filename>
            <type>text/plain</type>
            <size>3005</size>
            <attacher name="Ingo Klöcker">kloecker</attacher>
            
              <data encoding="base64">SW5kZXg6IGtwYXJ0c3Rlc3RfcGFydDEucmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT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YXJ0MSggUU9iamVjdCAqcGFyZW50LCBRV2lkZ2V0ICoKICAgbV9pbnN0YW5jZSA9IG5l
dyBLSW5zdGFuY2UoICJrcGFydHN0ZXN0cGFydCIgKTsKICAgc2V0SW5zdGFuY2UoIG1faW5zdGFu
Y2UgKTsKICAgbV9lZGl0ID0gbmV3IFFNdWx0aUxpbmVFZGl0KCBwYXJlbnRXaWRnZXQgKTsKKyAg
bV9lZGl0LT5zZXRSZWFkT25seSggdHJ1ZSApOwogICBzZXRXaWRnZXQoIG1fZWRpdCApOwogICBz
ZXRYTUxGaWxlKCAia3BhcnRzdGVzdF9wYXJ0MS5yYyIgKTsKIAotICAvKktBY3Rpb24gKiBwYUJs
YWggPSAqLyBuZXcgS0FjdGlvbiggIkJsYWgiLCAiZmlsZW1haWwiLCAwLCBhY3Rpb25Db2xsZWN0
aW9uKCksICJwMV9ibGFoIiApOworICAvKktBY3Rpb24gKiBwYUJsYWggPSAqLyBuZXcgS0FjdGlv
biggIkJsYWgiLCAiZmlsZW1haWwiLCBLZXlfQSwgdGhpcywKKyAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgIFNMT1QoIHNsb3RCbGFoKCkgKSwKKyAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgIGFjdGlvbkNvbGxlY3Rpb24oKSwgInAxX2JsYWgiICk7Cisg
IEtBY3Rpb25NZW51ICogbWVudSA9IG5ldyBLQWN0aW9uTWVudSggIkZvbyIsICJtYWlsX2Zvcndh
cmQiLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFjdGlvbkNvbGxl
Y3Rpb24oKSwKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAicDFfZm9v
IiApOworICBtZW51LT5pbnNlcnQoIG5ldyBLQWN0aW9uKCAiQmFyIiwgIm1haWxfZm9yd2FyZCIs
IEtleV9GLCB0aGlzLAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICB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