<?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>198155</bug_id>
          
          <creation_ts>2009-06-28 13:18:51 +0000</creation_ts>
          <short_desc>newly assigned shortcut keys don&apos;t work</short_desc>
          <delta_ts>2009-11-23 18:18:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmenuedit</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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>0</everconfirmed>
          <reporter name="adam">spam</reporter>
          <assigned_to name="Unassigned bugs">unassigned-bugs-null</assigned_to>
          <cc>aendu+bugs.kde.org</cc>
    
    <cc>gatoatigrado</cc>
    
    <cc>jgj7.kde</cc>
    
    <cc>untitled.no4</cc>
    
    <cc>wstephenson</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>4</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>783220</commentid>
    <comment_count>0</comment_count>
    <who name="adam">spam</who>
    <bug_when>2009-06-28 13:18:51 +0000</bug_when>
    <thetext>Version:           0.8 (using KDE 4.2.90)
OS:                Linux
Installed from:    SuSE RPMs

Running KDE4.3b2, &quot;release 138,&quot; under OpenSUSE 11.1, installed from OpenSUSE Factory repos.

I have several existing shortcut keys set up in the KDE menu editor under previous KDE versions, which continue to function normally.

When I try to set up shortcut keys for newly installed applications, the interface works normally, informs me of conflicting key commands, successfully captures and allows me to save the new shortcut keys, remembers them after reboot, etc. However, the key new combinations simply do not work. I have tried several keys and apps with the same result.

I have no custom key bindings set in the system settings (version 1.0, KDE 4.3 beta 2, release 138), and I have no keybinding commands set in the ccsm general settings, though I am also running compiz (0.7.8), also from the OpenSUSE repos. The fact that the application grabs the key combinations shows that it recognizes the keys, and I am not using any unusual keys that don&apos;t already function in other menu editor shortcuts. As I say, this bug does not affect existing key combinations in menu editor, which function normally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>787100</commentid>
    <comment_count>1</comment_count>
    <who name="G Cohen">untitled.no4</who>
    <bug_when>2009-07-05 22:44:51 +0000</bug_when>
    <thetext>Same thing happens with Kubuntu 9.04 KDE 4.3 RC1. Shortcut keys that were set before upgrading to KDE 4.3 beta 2 work, but newly assigned shortcut keys don&apos;t.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>793333</commentid>
    <comment_count>2</comment_count>
    <who name="adam">spam</who>
    <bug_when>2009-07-16 14:34:55 +0000</bug_when>
    <thetext>Problem is still present in KDE 4.3 RC2. How come this is normal priority/unconfirmed? Wouldn&apos;t want to roll out KDE 4.3 with this bug, surely?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>807692</commentid>
    <comment_count>3</comment_count>
    <who name="IgnorantGuru">jgj7.kde</who>
    <bug_when>2009-08-07 00:30:07 +0000</bug_when>
    <thetext>Fresh install of Kubuntu Karmic alpha 3 with full update today (KDE 4.3), and no app keyboard shortcuts assigned in kmenuedit work (it accepts and keeps them but they don&apos;t work).  Alt-Tab and other global shortcuts work okay.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>807723</commentid>
    <comment_count>4</comment_count>
    <who name="IgnorantGuru">jgj7.kde</who>
    <bug_when>2009-08-07 01:37:44 +0000</bug_when>
    <thetext>Workaround...  It appears that when kmenuedit adds the shortcut to ~/.kde/share/config/khotkeysrc (via qdbus?), it sets &quot;Enabled=false&quot;.  For example:

   [Data_1_2]
   Comment=firefox.desktop
   Enabled=false
   Name=Firefox Web Browser
   Type=MENUENTRY_SHORTCUT_ACTION_DATA

If you edit khotskeyrc and change &quot;Enabled=true&quot; for the desired entry, then tell khotkeys to reload its config file:

   qdbus org.kde.kded /modules/khotkeys org.kde.khotkeys.reread_configuration

Then the shortcuts work for me.  (Note: Don&apos;t change all the &quot;Enabled=false&quot; in that file to true because some are just examples)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>811058</commentid>
    <comment_count>5</comment_count>
      <attachid>36104</attachid>
    <who name="IgnorantGuru">jgj7.kde</who>
    <bug_when>2009-08-12 20:12:38 +0000</bug_when>
    <thetext>Created attachment 36104
script to enable menu shortcuts in khotkeysrc

Be sure to run as user not as root</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>811059</commentid>
    <comment_count>6</comment_count>
    <who name="IgnorantGuru">jgj7.kde</who>
    <bug_when>2009-08-12 20:14:04 +0000</bug_when>
    <thetext>Also note that this bug may affect the workaround (namely, if it is a brand new menu item, you have to save it twice with the shortcut key before it will be stored, then use the above Enabled=true workaround)...
https://bugs.kde.org/show_bug.cgi?id=203601

Also, above is a simple script that corrects the problem in khotkeysrc... run it after saving the menu and it will enable the keys.  (On my system the &quot;[Data1...&quot; entries are for the menu - if this differs on your system you will need to change the script.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>814530</commentid>
    <comment_count>7</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-08-18 20:21:08 +0000</bug_when>
    <thetext>*** Bug 199315 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>867204</commentid>
    <comment_count>8</comment_count>
    <who name="Will Stephenson">wstephenson</who>
    <bug_when>2009-11-23 18:17:17 +0000</bug_when>
    <thetext>This seems to work for me with svn (4.4pre)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>867208</commentid>
    <comment_count>9</comment_count>
    <who name="Will Stephenson">wstephenson</who>
    <bug_when>2009-11-23 18:18:36 +0000</bug_when>
    <thetext>*** Bug 203601 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>36104</attachid>
            <date>2009-08-12 20:12:38 +0000</date>
            <delta_ts>2009-08-12 20:12:38 +0000</delta_ts>
            <desc>script to enable menu shortcuts in khotkeysrc</desc>
            <filename>khotkeys-update</filename>
            <type>text/plain</type>
            <size>822</size>
            <attacher name="IgnorantGuru">jgj7.kde</attacher>
            
              <data encoding="base64">IyEvYmluL2Jhc2gKIyBFbmFibGVzIG1lbnUgc2hvcnRjdXQga2V5cyBmb3IgS0RFNAoKa2RlND1g
cHMgLUEgfCBncmVwIGtkZWQ0YAppZiBbICIka2RlNCIgPT0gIiIgXTsgdGhlbgoJZWNobyAnV3Jv
bmcgS0RFIHZlcnNpb24nCglleGl0CmZpCgojIFNldCB0aGUgZmllbGQgc2VwZXJhdG9yIHRvIGEg
bmV3bGluZQpJRlM9IgoiCnN0YW1wPSQoZGF0ZSArJVktJW0tJWQtJUglTSVTKQpvcmlnPS9ob21l
L2B3aG9hbWlgLy5rZGUvc2hhcmUvY29uZmlnL2tob3RrZXlzcmMKCmNwIC1hICRvcmlnICRvcmln
LSRzdGFtcC5iYWsKbmV3ZmlsZT0kb3JpZy10bXAudG1wCnJtIC1mICRuZXdmaWxlCgpkYXRhZ29v
ZD0wCmZvciBsaW5lIGluIGBjYXQgLUUgJG9yaWdgO2RvCglpZiBbICIke2xpbmU6MDo2fSIgPT0g
IltEYXRhXyIgXTsgdGhlbgoJCWlmIFsgIiR7bGluZTowOjd9IiA9PSAiW0RhdGFfMSIgXTsgdGhl
bgoJCQlkYXRhZ29vZD0xCgkJZWxzZQoJCQlkYXRhZ29vZD0wCgkJZmkKCWVsc2UKCQlpZiAoKCBk
YXRhZ29vZCA9PSAxICkpOyB0aGVuCgkJCWlmIFsgIiRsaW5lIiA9PSAiRW5hYmxlZD1mYWxzZSQi
IF07IHRoZW4KCQkJCWxpbmU9IkVuYWJsZWQ9dHJ1ZSQiCgkJCWZpCgkJZmkKCWZpCgllY2hvICIk
e2xpbmUlXCR9IiA+PiAkbmV3ZmlsZQpkb25lCgppZiBbIC1lICRuZXdmaWxlIF07IHRoZW4KCW12
IC1mICRuZXdmaWxlICRvcmlnCglxZGJ1cyBvcmcua2RlLmtkZWQgL21vZHVsZXMva2hvdGtleXMg
b3JnLmtkZS5raG90a2V5cy5yZXJlYWRfY29uZmlndXJhdGlvbgplbHNlCgllY2hvICJFcnJvciAt
IG5ldyBmaWxlIG5vdCBmb3VuZCIKZmkK
</data>

          </attachment>
      

    </bug>

</bugzilla>