<?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>345130</bug_id>
          
          <creation_ts>2015-03-14 00:14:33 +0000</creation_ts>
          <short_desc>Modifier-Shift-Number shortcuts doesn&apos;t work</short_desc>
          <delta_ts>2015-03-14 15:09:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-kglobalaccel</product>
          <component>general</component>
          <version>5.1.0</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>341959</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>0</everconfirmed>
          <reporter name="Yuxuan Shui">yshuiv7</reporter>
          <assigned_to name="David Edmundson">kde</assigned_to>
          <cc>bshah</cc>
    
    <cc>kdelibs-bugs-null</cc>
    
    <cc>plasma-bugs-null</cc>
    
    <cc>yshuiv7</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>1505176</commentid>
    <comment_count>0</comment_count>
    <who name="Yuxuan Shui">yshuiv7</who>
    <bug_when>2015-03-14 00:14:33 +0000</bug_when>
    <thetext>Instead of Mod-Shift-Number, when using this kind of key combination as shortcuts, they are showed as &apos;Mod-!,@,#,etc&apos;, and pressing these key combination have the same effect as pressing &apos;Mod-1,2,3,etc&apos;.

Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1505179</commentid>
    <comment_count>1</comment_count>
    <who name="Yuxuan Shui">yshuiv7</who>
    <bug_when>2015-03-14 01:32:43 +0000</bug_when>
    <thetext>This is due to an inconsistence when handling keys in x11KeyPress, and grabKey. Mod-Shift-1 is handed to grabKey as Mod-!, without the Shift modifier. And in x11KeyPress, it is Mod-Shift-1, with the Shift modifier removed later. So the end result is Mod-1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1505181</commentid>
    <comment_count>2</comment_count>
      <attachid>91551</attachid>
    <who name="Yuxuan Shui">yshuiv7</who>
    <bug_when>2015-03-14 01:40:45 +0000</bug_when>
    <thetext>Created attachment 91551
A simple fix

This is a patch that solve this problem. Although I&apos;m not sure whether my approach is entirely correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1505262</commentid>
    <comment_count>3</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2015-03-14 15:09:43 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 341959 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>91551</attachid>
            <date>2015-03-14 01:40:45 +0000</date>
            <delta_ts>2015-03-14 01:40:45 +0000</delta_ts>
            <desc>A simple fix</desc>
            <filename>0001-Fix-handling-of-Shift-Number-in-shortcuts.patch</filename>
            <type>text/plain</type>
            <size>847</size>
            <attacher name="Yuxuan Shui">yshuiv7</attacher>
            
              <data encoding="base64">RnJvbSBkNWI5MzkwYTdhYzQzMzY5NGJhZTg0NTUwMWJiMGEwNWZiMDQyMzJlIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBZdXh1YW4gU2h1aSA8eHh4QGdtYWlsLmNvbT4KRGF0ZTogRnJp
LCAxMyBNYXIgMjAxNSAyMTozODo0NCAtMDQwMApTdWJqZWN0OiBbUEFUQ0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