<?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>320423</bug_id>
          
          <creation_ts>2013-05-29 14:21:17 +0000</creation_ts>
          <short_desc>Keyboard shortcuts like Ctrl-C, Ctrl-V does not work in some apps like kate and kdevelop, krusader when russian layout is active</short_desc>
          <delta_ts>2015-08-12 13:24:17 +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>shortcuts</component>
          <version>4.10.3</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UPSTREAM</resolution>
          
          
          <bug_file_loc>https://bugreports.qt-project.org/browse/QTBUG-32908</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>glad08</reporter>
          <assigned_to name="kdelibs bugs">kdelibs-bugs-null</assigned_to>
          <cc>0f3d254b</cc>
    
    <cc>alexo.veto</cc>
    
    <cc>anyanshin</cc>
    
    <cc>bay1</cc>
    
    <cc>cfeck</cc>
    
    <cc>cmertes</cc>
    
    <cc>darkarcanis</cc>
    
    <cc>dichlofos-mv</cc>
    
    <cc>dimi</cc>
    
    <cc>dklovedoctor</cc>
    
    <cc>edgbla</cc>
    
    <cc>edinbox</cc>
    
    <cc>gaantonio</cc>
    
    <cc>glad08</cc>
    
    <cc>igor.poboiko</cc>
    
    <cc>irishmangoes</cc>
    
    <cc>ivan.georgiev89</cc>
    
    <cc>iwitty</cc>
    
    <cc>jiakomo</cc>
    
    <cc>kirill.bogdanenko</cc>
    
    <cc>lukas</cc>
    
    <cc>mail</cc>
    
    <cc>me</cc>
    
    <cc>mo78</cc>
    
    <cc>mustafin.aleksandr</cc>
    
    <cc>portnov</cc>
    
    <cc>seosova</cc>
    
    <cc>simonandric5</cc>
    
    <cc>snvv101</cc>
    
    <cc>stas.ashirov</cc>
    
    <cc>sunwebrw</cc>
    
    <cc>svbutsenko</cc>
    
    <cc>travneff</cc>
    
    <cc>vascom2</cc>
    
    <cc>vdm-photo</cc>
    
    <cc>winter</cc>
    
    <cc>wolfgang.brehm</cc>
    
    <cc>Wolfgang_Mader</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>280</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1372180</commentid>
    <comment_count>0</comment_count>
    <who name="">glad08</who>
    <bug_when>2013-05-29 14:21:17 +0000</bug_when>
    <thetext>Keyboard shortcuts like Ctrl-C, Ctrl-V does not work in some apps like kate and kdevelop, krusader when russian layout is active

Reproducible: Always

Steps to Reproduce:
1. Open Kate, type some text
2. Switch layout to russian select some text and press Ctrl-C
3. Move cursor to another place and press Ctrl-V
Actual Results:  
text will not pasted into new place

Expected Results:  
text successfully copies to clipboard and then pasted into new place

reproduces in kde apps when it runs from either kde or mate desktop.
works well in non-kde applications like firefox</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1372204</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Georgiev">ivan.georgiev89</who>
    <bug_when>2013-05-29 16:08:33 +0000</bug_when>
    <thetext>Ladies and Gentlemen,

Can we please have this issue escalated somehow? For example, put it in most hated bugs...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1372412</commentid>
    <comment_count>2</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2013-05-30 06:56:42 +0000</bug_when>
    <thetext>&gt; Can we please have this issue escalated somehow? For example, put it in most hated bugs...

Well, that is not how &quot;most hated bugs&quot; are defined . Most hated bugs, just as their names imply, are bugs that really really really has many many many haters, subscribers, comments and votes.  No one can put a bug report only created  yesterday into &quot;most hated bugs&quot;.

I&apos;m not an expert of keyboard layout and shortcut, but I suspect the root cause is in Qt.  Try some Qt only applications to see whether they suffer the same problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1372426</commentid>
    <comment_count>3</comment_count>
    <who name="">glad08</who>
    <bug_when>2013-05-30 07:24:05 +0000</bug_when>
    <thetext>Is the qtcreator qt-only application? It does not affected to this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1372454</commentid>
    <comment_count>4</comment_count>
    <who name="Ivan Georgiev">ivan.georgiev89</who>
    <bug_when>2013-05-30 08:03:17 +0000</bug_when>
    <thetext>Hello Jekyll!
Thank you for the feedback!

Please, search the bugs database for &quot;keyboard layout shortcuts&quot; and observe the results. There are quite a lot similar bugs.

Skype is Qt. With it I have no problems. However if I start kwrite/kate, dolphin or whatever KDE app, I experience the following behaviour:

1) Write in English - Ctrl-V, Ctrl-C, Ctrl-X works.
2) Switch layout to Bulgarian
3) Write in Bulgarian - not a single shortcut, containing a letter works ( Ctrl-V, Ctrl-C )

IMHO this is very embarrassing. Although most of the time I use Latin letters, I should be able to use keyboard shortcuts with Cyrillic  layout as well.

To define the impact:
Basically I am not convinced that using different keyboard layout is useful, when I have to sacrifice 50% of the usability of my keyboard.

Please let me know if this bug can be re-prioritized.

P.S. I know that the people here are not obligated in resolving bugs, so I thank everyone in advance for their spared time!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1376949</commentid>
    <comment_count>5</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2013-06-16 01:33:04 +0000</bug_when>
    <thetext>Is this bug report about the KDE text editor component (kate, kwrite, kdevelop, kile), or all KDE apps (e.g. Calligra, Konqueror etc.)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1377324</commentid>
    <comment_count>6</comment_count>
    <who name="">glad08</who>
    <bug_when>2013-06-17 08:24:00 +0000</bug_when>
    <thetext>Konqueror does not affected this bug.
Calligra don&apos;t started on my machine saying: &quot;Legacy integer arithmetics implementation&quot;, lol. Never use it before.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1377326</commentid>
    <comment_count>7</comment_count>
    <who name="Ivan Georgiev">ivan.georgiev89</who>
    <bug_when>2013-06-17 08:36:47 +0000</bug_when>
    <thetext>Hi

I asked some people on forums whether they experience same behaviour - they said no.

Could it be related to input method? Currently I am NOT using ibus, BUT switching it on does not change anything.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1377341</commentid>
    <comment_count>8</comment_count>
    <who name="">glad08</who>
    <bug_when>2013-06-17 09:04:24 +0000</bug_when>
    <thetext>
update: calligraauthor, calligraflow, calligrasheets, calligrastage, calligrawords are affected to this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1377376</commentid>
    <comment_count>9</comment_count>
    <who name="Ivan Georgiev">ivan.georgiev89</who>
    <bug_when>2013-06-17 11:16:38 +0000</bug_when>
    <thetext>Indeed, Konqueror is NOT affected. Only text editors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1377682</commentid>
    <comment_count>10</comment_count>
    <who name="Andrew">travneff</who>
    <bug_when>2013-06-18 11:56:09 +0000</bug_when>
    <thetext>I have it too. Ukrainian layout is broken as well.
Affected apps: Kate, Krusader, Konsole, QupZilla.
Not affected: Qmmp main window (Qt music player)

Some highlights:
1) Ctrl+. is set to &quot;show hidden files&quot; in Krusader. For English layout pressing that opens a search bar and prints a dot there. For Russian/Ukrainian layout the similar combination with Cyrillic dot (different key on a keyboard) does a trick (show/hide hidden files).
2) Ctrl+Shift+P is set to &quot;Print screen&quot; in Konsole. Actually it works like Ctrl+P or Ctrl+&quot;Arrow Up&quot;: show previous command from history.
3) Combinations like Alt+Arrow or Ctrl++ seems fine.
4) Combinations like Alt with letter is broken. For example, Alt+N prints a question mark in Konsole while assigned to &quot;Add bookmark&quot;.

KDE 4.10.4 from repos of Fedora 19 beta x86-64
qt-4.8.4-19.fc19.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1380861</commentid>
    <comment_count>11</comment_count>
    <who name="Lukáš Tinkl">lukas</who>
    <bug_when>2013-07-02 19:21:14 +0000</bug_when>
    <thetext>This is actually a Qt bug: https://bugreports.qt-project.org/browse/QTBUG-15319

To be fixed in Qt 4.8.5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1381291</commentid>
    <comment_count>12</comment_count>
    <who name="Vasiliy Glazov">vascom2</who>
    <bug_when>2013-07-04 11:48:57 +0000</bug_when>
    <thetext>I updated Qt to qt-4.8.5-2.fc19.x86_64 but problem still here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1381320</commentid>
    <comment_count>13</comment_count>
    <who name="Andrew">travneff</who>
    <bug_when>2013-07-04 14:06:32 +0000</bug_when>
    <thetext>I have this too with Qt 4.8.5

Updated to following versions of packages.
Launching &quot;setxkbmap -layout us,ru&quot; doesn&apos;t fix it.

qt-4.8.5-2.fc19.i686.rpm
qt-4.8.5-2.fc19.x86_64.rpm
qt-assistant-4.8.5-2.fc19.x86_64.rpm
qt-demos-4.8.5-2.fc19.x86_64.rpm
qt-devel-4.8.5-2.fc19.x86_64.rpm
qt-doc-4.8.5-2.fc19.noarch.rpm
qt-examples-4.8.5-2.fc19.x86_64.rpm
qt-x11-4.8.5-2.fc19.i686.rpm
qt-x11-4.8.5-2.fc19.x86_64.rpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1382132</commentid>
    <comment_count>14</comment_count>
    <who name="Alexander Mustafin">mustafin.aleksandr</who>
    <bug_when>2013-07-08 08:28:16 +0000</bug_when>
    <thetext>Confirm this bug. 
QT version: qt-4.8.4-19.fc19.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1382401</commentid>
    <comment_count>15</comment_count>
    <who name="Alexei Panov">me</who>
    <bug_when>2013-07-09 13:58:59 +0000</bug_when>
    <thetext>I can confirm this bug too.
Qt: qt-4.8.5-2.fc19 (https://koji.fedoraproject.org/koji/buildinfo?buildID=431260)
KDE: 4.10.4-1.fc19</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1382713</commentid>
    <comment_count>16</comment_count>
    <who name="Stas Ashirov">stas.ashirov</who>
    <bug_when>2013-07-11 06:00:40 +0000</bug_when>
    <thetext>Confirm this bug. 
QT version: qt-4.8.4-19.fc19.x86_64
KDE version: 4.10.4-1.fc19.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1382757</commentid>
    <comment_count>17</comment_count>
    <who name="Kim">jiakomo</who>
    <bug_when>2013-07-11 11:12:18 +0000</bug_when>
    <thetext>I use greek layout and keyboard shortcuts don&apos;t work for Kate or Calligra (but work for some other kde apps).
Very annoying bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1382971</commentid>
    <comment_count>18</comment_count>
    <who name="Andrew Gaydenko">a</who>
    <bug_when>2013-07-12 11:49:53 +0000</bug_when>
    <thetext>*** This bug has been confirmed by popular vote. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1383858</commentid>
    <comment_count>19</comment_count>
    <who name="Wolfgang Brehm">wolfgang.brehm</who>
    <bug_when>2013-07-16 20:08:51 +0000</bug_when>
    <thetext>this bug may be the same as
274820 and
309193
they are fixed for me with
Qt: 4.8.5
KDE: 4.10.5 &quot;release 4&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1383864</commentid>
    <comment_count>20</comment_count>
    <who name="Wolfgang Brehm">wolfgang.brehm</who>
    <bug_when>2013-07-16 20:27:13 +0000</bug_when>
    <thetext>I am sorry it is not fixed.
Have you tried setting a latin layout as first layout?
This may serve as a workaround.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1383865</commentid>
    <comment_count>21</comment_count>
    <who name="Andrew Gaydenko">a</who>
    <bug_when>2013-07-16 20:28:59 +0000</bug_when>
    <thetext>(In reply to comment #19)
&gt; this bug may be the same as
&gt; 274820 and
&gt; 309193
&gt; they are fixed for me with
&gt; Qt: 4.8.5
&gt; KDE: 4.10.5 &quot;release 4&quot;

It is strange: I also use qt 4.8.5, and at that 309193 discussion especially qt 4.8.5 is treated as a reason of the issues, while you have opposite situation. And I&apos;m not aware of &quot;release 4&quot; applied to KDE - is it your distribution specific?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1383869</commentid>
    <comment_count>22</comment_count>
    <who name="Wolfgang Brehm">wolfgang.brehm</who>
    <bug_when>2013-07-16 20:37:01 +0000</bug_when>
    <thetext>No I am sorry, i was confused. I had this problem for a longer time.
My workaround was setting a standard layout as first layout, neo as secondary layout, but that produced inconsistent shortcuts between kde and non kde apps.
Now that I updated my opensuse 12.3 it was suddenly consistent and I thought it was fixed, but I had only forgotten about the workaround.
Plus I thougt that what applies to neo layout may apply to a russian layout - this may also not be the case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1383960</commentid>
    <comment_count>23</comment_count>
    <who name="Andrew">travneff</who>
    <bug_when>2013-07-17 09:14:26 +0000</bug_when>
    <thetext>(In reply to comment #20)
As for me, setting &quot;setxkbmap -layout us,ru&quot; doesn&apos;t help. And the subject issue still present for Qt 4.8.5 / KDE 4.10.5. So seems like this is a different issue (not the same with 309193 / QTBUG-15319). Not sure for 274820.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1387265</commentid>
    <comment_count>24</comment_count>
    <who name="arcanis">darkarcanis</who>
    <bug_when>2013-07-31 16:17:46 +0000</bug_when>
    <thetext>Confirm this bug.
Additionally information:
* In kwrite: if I tap Ctrl+Shift+I in russian layout it is processed like Ctrl+I
System information:
System: 3.10.3-1-ARCH
Qt ver: 4.8.5
KDE ver: 4.10.5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1388093</commentid>
    <comment_count>25</comment_count>
    <who name="Alex Savin">alexo.veto</who>
    <bug_when>2013-08-05 17:49:09 +0000</bug_when>
    <thetext>Confirm this bug.
libqt4-4.8.5-321.1.x86_64
kde4-4.10.5-3.1
opensuse 12,3

setting &quot;setxkbmap -layout us,ru&quot; doesn&apos;t help either</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1388365</commentid>
    <comment_count>26</comment_count>
    <who name="Stas Ashirov">stas.ashirov</who>
    <bug_when>2013-08-07 06:57:14 +0000</bug_when>
    <thetext>(In reply to comment #24)
&gt; Additionally information:
&gt; * In kwrite: if I tap Ctrl+Shift+I in russian layout it is processed like
&gt; Ctrl+I

In russian layout all combination with Ctrl + Shift + processed like Ctrl +</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392512</commentid>
    <comment_count>27</comment_count>
    <who name="">snvv101</who>
    <bug_when>2013-08-25 20:00:52 +0000</bug_when>
    <thetext>I confirm the problem (debian sid)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392514</commentid>
    <comment_count>28</comment_count>
    <who name="">snvv101</who>
    <bug_when>2013-08-25 20:06:02 +0000</bug_when>
    <thetext>Please note when my locale is in gr then using Ctrl+Shift+... {C or V or P etc} works. 
In English shift is not needed to shortcuts (i.e. copy, past, print etc)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392590</commentid>
    <comment_count>29</comment_count>
    <who name="Andrew">travneff</who>
    <bug_when>2013-08-26 06:43:30 +0000</bug_when>
    <thetext>(In reply to comment #28)
&gt; Please note when my locale is in gr then using Ctrl+Shift+... {C or V or P
&gt; etc} works. 
Same for the russian and ukrainian layout. Ctrl+Shift+{A,P,W,N,O} with them act like same combinations without Shift for English.
To be more clear, Ctrl+Shift+O does &quot;open&quot; when switched to RU / UA. The right combination is default, Ctrl+O and it works with English locale.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392894</commentid>
    <comment_count>30</comment_count>
    <who name="Kim">jiakomo</who>
    <bug_when>2013-08-27 09:15:29 +0000</bug_when>
    <thetext>This bug is not about russian layout but all non-english layouts. Can we change the title to reflect that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1393206</commentid>
    <comment_count>31</comment_count>
    <who name="StanislavArch">ssergiienko.s</who>
    <bug_when>2013-08-28 11:56:06 +0000</bug_when>
    <thetext>Already, with right title
https://bugs.kde.org/show_bug.cgi?id=309193
Difference is that in qt4.8.4 all works fine if EN layout is set before any other, but in qt4.8.5 even worth - no matter what layout is first it is bug anyway.
Follow here
https://bugreports.qt-project.org/browse/QTBUG-32908

Please vote.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1393310</commentid>
    <comment_count>32</comment_count>
    <who name="Nick Stefanov">mo78</who>
    <bug_when>2013-08-28 18:52:37 +0000</bug_when>
    <thetext>(In reply to comment #31)
&gt; Already, with right title
&gt; https://bugs.kde.org/show_bug.cgi?id=309193
&gt; Difference is that in qt4.8.4 all works fine if EN layout is set before any
&gt; other, but in qt4.8.5 even worth - no matter what layout is first it is bug
&gt; anyway.
&gt; Follow here
&gt; https://bugreports.qt-project.org/browse/QTBUG-32908
&gt; 
&gt; Please vote.

Yeah, I posted it and wrote for that in this tread :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1397037</commentid>
    <comment_count>33</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2013-09-12 22:02:14 +0000</bug_when>
    <thetext>According to the Qt project bug tracker, a commit was made to the Qt 4.8 branch that should address this bug. Can someone who is able to compile Qt and reproduce this bug confirm that this commit[1] fixes this issue?

Is bug 309193 a duplicate (it was already reported for Qt 4.8.4)?

[1] see https://bugreports.qt-project.org/browse/QTBUG-32908
commit is 0c03af0d4d928bdbb32b09eedb1dba3ce59e5278</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1397102</commentid>
    <comment_count>34</comment_count>
    <who name="Stas Ashirov">stas.ashirov</who>
    <bug_when>2013-09-13 08:34:29 +0000</bug_when>
    <thetext>Fixed in Fedora 19
qt-4.8.5-8.fc19
https://koji.fedoraproject.org/koji/buildinfo?buildID=464133</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1398928</commentid>
    <comment_count>35</comment_count>
    <who name="Dmitry Veltishev">vdm-photo</who>
    <bug_when>2013-09-22 21:19:52 +0000</bug_when>
    <thetext>I&apos;m experiencing the same problem. Updated qt packages from build system to qt-4.8.5-8.fc19, but the problem still persists.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399006</commentid>
    <comment_count>36</comment_count>
    <who name="">glad08</who>
    <bug_when>2013-09-23 12:26:38 +0000</bug_when>
    <thetext>works for me after updating to qt-4.8.5-8.fc19 x86_64 from updates-testing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399213</commentid>
    <comment_count>37</comment_count>
    <who name="Mikhail Veltishchev">dichlofos-mv</who>
    <bug_when>2013-09-24 12:44:45 +0000</bug_when>
    <thetext>Does not help after same update...
$ rpm -q qt
qt-4.8.5-8.fc19.x86_64
qt-4.8.5-8.fc19.i686</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399251</commentid>
    <comment_count>38</comment_count>
    <who name="Andrew">travneff</who>
    <bug_when>2013-09-24 16:45:44 +0000</bug_when>
    <thetext>(In reply to comment #33)
&gt; Is bug 309193 a duplicate (it was already reported for Qt 4.8.4)?
As far as i understand, the current problem (KDE 320423, Qt 32908) is caused by the fix of KDE 309193 (Qt 15319). Then Qt 15319 patch was reverted in Qt 32908 and seems like Qt 15319 appeared again. I&apos;m able to reproduce it with launching &quot;setxkbmap -layout ru,us&quot; and qt-4.8.5-8.fc19

(In reply to comment #35)
(In reply to comment #37)
Do you have the primary layout other than US?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399261</commentid>
    <comment_count>39</comment_count>
    <who name="Mikhail Veltishchev">dichlofos-mv</who>
    <bug_when>2013-09-24 17:50:00 +0000</bug_when>
    <thetext>I have primary layout set to &apos;us&apos; and secondary to &apos;ru&apos;. More precisely, I have &apos;English&apos; language set in the Gnome Desktop settings and two configured input sources, first &apos;English US&apos;, and second one, &apos;Russian&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399387</commentid>
    <comment_count>40</comment_count>
    <who name="">glad08</who>
    <bug_when>2013-09-25 09:00:57 +0000</bug_when>
    <thetext>I confirm bug - if non-english layout is first (ru in my case) than shortcuts dows not work</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399390</commentid>
    <comment_count>41</comment_count>
    <who name="Someone">0f3d254b</who>
    <bug_when>2013-09-25 09:13:14 +0000</bug_when>
    <thetext>(In reply to comment #40)
&gt; I confirm bug - if non-english layout is first (ru in my case) than
&gt; shortcuts dows not work

For me they don&apos;t work even if English layout is first</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399393</commentid>
    <comment_count>42</comment_count>
    <who name="Andrew">travneff</who>
    <bug_when>2013-09-25 09:42:05 +0000</bug_when>
    <thetext>(In reply to comment #39)
(In reply to comment #41)
Do you have shortcut problems with RU case only or the currently selected layout doesn&apos;t matter (all layouts are affected)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399394</commentid>
    <comment_count>43</comment_count>
    <who name="Mikhail Veltishchev">dichlofos-mv</who>
    <bug_when>2013-09-25 09:51:28 +0000</bug_when>
    <thetext>When layout is switched to &apos;en&apos;, there is no problem. I develop code in KDevelop and basically use English layout, so this bug won&apos;t hurt much when writing *C++ code*. But when I edit my TeX files (that I write in Russian) in same KDevelop, I use &apos;ru&apos; layout and this bug spoils all the work. I need to switch to English just to copy-and-paste some text.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399397</commentid>
    <comment_count>44</comment_count>
    <who name="Someone">0f3d254b</who>
    <bug_when>2013-09-25 09:55:10 +0000</bug_when>
    <thetext>(In reply to comment #42)
&gt; (In reply to comment #39)
&gt; (In reply to comment #41)
&gt; Do you have shortcut problems with RU case only or the currently selected
&gt; layout doesn&apos;t matter (all layouts are affected)?

Only when non-English layout is selected currently (in my case Russian).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399400</commentid>
    <comment_count>45</comment_count>
    <who name="Andrew">travneff</who>
    <bug_when>2013-09-25 10:07:31 +0000</bug_when>
    <thetext>(In reply to comment #43)
(In reply to comment #44)
OK, seems like you have the current issue not fixed. I&apos;m just a curious Captain Obvious, sorry :)
As for me, it is solved with the latest stable updates[1] of Fedora 19 x64. However seems like bug 309193 is present (not a problem for me because US layout is the first one).

1:
$ rpm -qa qt\*
qt-x11-4.8.5-8.fc19.x86_64
qtwebkit-2.3.2-1.fc19.i686
qt-mobility-1.2.2-0.4.20120224git.fc19.x86_64
qtsoap-2.7-5.fc19.x86_64
qt-4.8.5-8.fc19.x86_64
qt-qdbusviewer-4.8.5-8.fc19.x86_64
qt-4.8.5-8.fc19.i686
qt-mobility-1.2.2-0.4.20120224git.fc19.i686
qtwebkit-2.3.2-1.fc19.x86_64
qt-gstreamer-0.10.2-4.fc19.x86_64
qt3-3.3.8b-47.fc19.x86_64
qtlockedfile-2.4-6.fc19.x86_64
qtsingleapplication-2.6.1-8.fc19.x86_64
qt-settings-19-23.1.fc19.noarch
qt-x11-4.8.5-8.fc19.i686</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399404</commentid>
    <comment_count>46</comment_count>
    <who name="Mikhail Veltishchev">dichlofos-mv</who>
    <bug_when>2013-09-25 10:26:50 +0000</bug_when>
    <thetext>I have exactly same versions of qt*packages installed, but some packages are missing (marked with - sign)
-qt3-3.3.8b-47.fc19.x86_64
 qt-4.8.5-8.fc19.i686
 qt-4.8.5-8.fc19.x86_64
-qt-gstreamer-0.10.2-4.fc19.x86_64
-qtlockedfile-2.4-6.fc19.x86_64
 qt-mobility-1.2.2-0.4.20120224git.fc19.i686
 qt-mobility-1.2.2-0.4.20120224git.fc19.x86_64
-qt-qdbusviewer-4.8.5-8.fc19.x86_64
 qt-settings-19-23.1.fc19.noarch
-qtsingleapplication-2.6.1-8.fc19.x86_64
 qtsoap-2.7-5.fc19.x86_64
 qtwebkit-2.3.2-1.fc19.i686
 qtwebkit-2.3.2-1.fc19.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1399408</commentid>
    <comment_count>47</comment_count>
    <who name="Andrew">travneff</who>
    <bug_when>2013-09-25 10:53:19 +0000</bug_when>
    <thetext>(In reply to comment #46)
As far as I know, the differences shouldn&apos;t affect the current case...
As a last resort: I use KDE (you&apos;ve mentioned Gnome) and I verify the subject mostly in Kate. Configured layouts are us-ru-ua. Tried to remove UA but it doesn&apos;t change anything.

$ setxkbmap -print
xkb_keymap {
        xkb_keycodes  { include &quot;evdev+aliases(qwerty)&quot; };
        xkb_types     { include &quot;complete&quot;      };
        xkb_compat    { include &quot;complete&quot;      };
        xkb_symbols   { include &quot;pc+us+ru:2+ua:3+inet(evdev)+group(menu_toggle)+compose(caps)+terminate(ctrl_alt_bksp)&quot; };
        xkb_geometry  { include &quot;pc(pc104)&quot;     };
};</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409674</commentid>
    <comment_count>48</comment_count>
    <who name="Someone">0f3d254b</who>
    <bug_when>2013-11-07 15:03:14 +0000</bug_when>
    <thetext>I just noticed that this bug is not present for me any more! I haven&apos;t done anything, it&apos;s probably some updates earlier. Check out how it works for you, folks. If someone really finally fixed this bug - thank you a lot! &lt;3

OS: Arch Linux x86_64
KDE: 4.11.3
qt4: 4.8.5-6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409676</commentid>
    <comment_count>49</comment_count>
    <who name="">valdikss</who>
    <bug_when>2013-11-07 15:05:32 +0000</bug_when>
    <thetext>(In reply to comment #48)
&gt; I just noticed that this bug is not present for me any more! I haven&apos;t done
&gt; anything, it&apos;s probably some updates earlier. Check out how it works for
&gt; you, folks. If someone really finally fixed this bug - thank you a lot! &lt;3
&gt; 
&gt; OS: Arch Linux x86_64
&gt; KDE: 4.11.3
&gt; qt4: 4.8.5-6

That was me :3
https://bugs.archlinux.org/task/36947</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409714</commentid>
    <comment_count>50</comment_count>
    <who name="Nick Stefanov">mo78</who>
    <bug_when>2013-11-07 17:10:34 +0000</bug_when>
    <thetext>This bug was fixed a long time ago :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409741</commentid>
    <comment_count>51</comment_count>
    <who name="Dmitry Veltishev">vdm-photo</who>
    <bug_when>2013-11-07 19:47:32 +0000</bug_when>
    <thetext>Still not working in Fedora 19.
Reinstalling of qt package (with all depends) did not help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409742</commentid>
    <comment_count>52</comment_count>
    <who name="Dmitry Veltishev">vdm-photo</who>
    <bug_when>2013-11-07 19:53:08 +0000</bug_when>
    <thetext>Addition to my previous comment:
My Qt &amp; kde packages list:

qt-x11-4.8.5-10.fc19.x86_64
qt-devel-4.8.5-10.fc19.x86_64
qt-4.8.5-10.fc19.x86_64
qt-mobility-1.2.2-0.4.20120224git.fc19.x86_64
qt-qdbusviewer-4.8.5-10.fc19.x86_64
qt-settings-19-23.1.fc19.noarch

kdevplatform-1.5.1-1.fc19.x86_64
kdevelop-libs-4.5.1-1.fc19.x86_64
kde-settings-19-23.1.fc19.noarch
kde-runtime-libs-4.11.2-1.fc19.x86_64
kde-runtime-drkonqi-4.11.2-1.fc19.x86_64
kdevelop-4.5.1-1.fc19.x86_64
kdelibs-common-4.11.2-1.fc19.x86_64
kdevplatform-libs-1.5.1-1.fc19.x86_64
kde-runtime-4.11.2-1.fc19.x86_64
kdelibs-4.11.2-1.fc19.x86_64
kde-filesystem-4-45.fc19.x86_64
kde-runtime-flags-4.11.2-1.fc19.noarch
kdesdk-common-4.11.2-1.fc19.noarch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409748</commentid>
    <comment_count>53</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2013-11-07 20:15:16 +0000</bug_when>
    <thetext>This bug should be fixed with Qt 4.8.6. Some distributions provide patched Qt 4.8.5 versions, which include the fix.

If this bug still occurs with Qt 4.8.6, please add a comment to https://bugreports.qt-project.org/browse/QTBUG-32908</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1441161</commentid>
    <comment_count>54</comment_count>
    <who name="Andriy Batiuk">bay1</who>
    <bug_when>2014-04-13 19:05:28 +0000</bug_when>
    <thetext>It is not a bug. It is feature :)
Just additionally press Shift key under the non-english layout selected i.e.:
Ctrl+c   became   Ctrl+Shift+c
Ctrl+v   became   Ctrl+Shift+v
Ctrl+s   became   Ctrl+Shift+s
Ctrl+r   became   Ctrl+Shift+r
and so on.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1441180</commentid>
    <comment_count>55</comment_count>
    <who name="Andrew Gaydenko">a</who>
    <bug_when>2014-04-13 20:00:58 +0000</bug_when>
    <thetext>(In reply to comment #54)
&gt; It is not a bug. It is feature :)
&gt; Just additionally press Shift key under the non-english layout selected i.e.:
&gt; Ctrl+c   became   Ctrl+Shift+c
&gt; Ctrl+v   became   Ctrl+Shift+v
&gt; Ctrl+s   became   Ctrl+Shift+s
&gt; Ctrl+r   became   Ctrl+Shift+r
&gt; and so on.

It *was* a Qt bug resolved an age ago.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1445561</commentid>
    <comment_count>56</comment_count>
    <who name="">cmertes</who>
    <bug_when>2014-05-03 15:55:17 +0000</bug_when>
    <thetext>(In reply to comment #55)
&gt; It *was* a Qt bug resolved an age ago.

Maybe it&apos;s a bit inappropriate to say &quot;ages ago&quot; when this bug is still present in Ubuntu 14.04 (which uses Qt version 4.8.6).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1445572</commentid>
    <comment_count>57</comment_count>
    <who name="Andrew Gaydenko">a</who>
    <bug_when>2014-05-03 16:29:36 +0000</bug_when>
    <thetext>(In reply to comment #56)
&gt; Maybe it&apos;s a bit inappropriate to say &quot;ages ago&quot; when this bug is still
&gt; present in Ubuntu 14.04 (which uses Qt version 4.8.6).

May be, of course! I mean own experience only. Under Arch Linux the issue has gone really few months ago.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1452653</commentid>
    <comment_count>58</comment_count>
    <who name="Dmitry Veltishev">vdm-photo</who>
    <bug_when>2014-06-02 09:49:14 +0000</bug_when>
    <thetext>Still having this issue with Qt 4.8.6 on FC20.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1452753</commentid>
    <comment_count>59</comment_count>
    <who name="Andrew">travneff</who>
    <bug_when>2014-06-02 17:03:21 +0000</bug_when>
    <thetext>(In reply to comment #58)
&gt; Still having this issue with Qt 4.8.6 on FC20.

Hm, absent for me on nearly the same (RFRemix 20 x64).
Can copy-paste in Kate with russian layout active.

$ setxkbmap -print
xkb_keymap {
        xkb_keycodes  { include &quot;evdev+aliases(qwerty)&quot; };
        xkb_types     { include &quot;complete&quot;      };
        xkb_compat    { include &quot;complete&quot;      };
        xkb_symbols   { include &quot;pc+us+ru:2+ua:3+inet(evdev)+group(menu_toggle)+compose(caps)+terminate(ctrl_alt_bksp)&quot; };
        xkb_geometry  { include &quot;pc(pc105)&quot;     };
};</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1453278</commentid>
    <comment_count>60</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2014-06-04 20:07:43 +0000</bug_when>
    <thetext>If you can still reproduce it, can you please check, if there are any &quot;input method&quot; helpers are installed (ibus, fcitx), and if yes, if removing those solves this issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1453398</commentid>
    <comment_count>61</comment_count>
    <who name="Dmitry Veltishev">vdm-photo</who>
    <bug_when>2014-06-05 10:55:59 +0000</bug_when>
    <thetext>(In reply to comment #60)
&gt; If you can still reproduce it, can you please check, if there are any &quot;input
&gt; method&quot; helpers are installed (ibus, fcitx), and if yes, if removing those
&gt; solves this issue?

Ok, I&apos;ll check it. Could you provide exact actions I should execute to get this info?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1461551</commentid>
    <comment_count>62</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2014-07-17 18:50:05 +0000</bug_when>
    <thetext>If you never used the package manager, you would need to ask in a forum of your distribution whether one of those is installed by default.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1461565</commentid>
    <comment_count>63</comment_count>
    <who name="Dmitry Veltishev">vdm-photo</who>
    <bug_when>2014-07-17 19:52:14 +0000</bug_when>
    <thetext>(In reply to Christoph Feck from comment #62)
&gt; If you never used the package manager, you would need to ask in a forum of
&gt; your distribution whether one of those is installed by default.

I had NOT installed any helpers manually. I have &apos;plain&apos; Fedora 20 distribution. 

To be precise about packages: 

rpm -qa | grep -i ^ibus
ibus-libs-1.5.7-2.fc20.x86_64

rpm -qa | grep -i fcitx
(nothing)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1461570</commentid>
    <comment_count>64</comment_count>
    <who name="Mikhail Veltishchev">dichlofos-mv</who>
    <bug_when>2014-07-17 20:21:52 +0000</bug_when>
    <thetext>Hmm, cannot reproduce this on my FC20 Heisenbug installation. But I&apos;m using LXDE.
My xkbmap config is the following:

mvel@blackbox: ~ $ setxkbmap -print
xkb_keymap {
	xkb_keycodes  { include &quot;evdev+aliases(qwerty)&quot;	};
	xkb_types     { include &quot;complete&quot;	};
	xkb_compat    { include &quot;complete&quot;	};
	xkb_symbols   { include &quot;pc+us+ru:2+inet(evdev)+group(alt_shift_toggle)&quot;	};
	xkb_geometry  { include &quot;pc(pc105)&quot;	};
};
mvel@blackbox: ~ $ cat ~/.Xkbmap 
-option grp:alt_shift_toggle,grp_led:scroll us,ru

But I also have some ibus libs installed, even more than Dmitry has:
mvel@blackbox: ~ $ rpm -qa &apos;*ibus*&apos;
ibus-libpinyin-1.6.92-2.fc20.x86_64
ibus-chewing-1.4.10.1-1.fc20.x86_64
libuser-python-0.60-3.fc20.x86_64
libusbx-1.0.19-1.fc20.x86_64
libusb-0.1.5-3.fc20.x86_64
ibus-rawcode-1.3.2-3.fc20.x86_64
ibus-setup-1.5.7-2.fc20.noarch
libusbx-1.0.19-1.fc20.i686
ibus-hangul-1.4.2-7.fc20.x86_64
ibus-gtk3-1.5.7-2.fc20.x86_64
libusal-1.1.11-22.fc20.x86_64
ibus-1.5.7-2.fc20.x86_64
libuser-0.60-3.fc20.x86_64
ibus-libs-1.5.7-2.fc20.x86_64
ibus-wayland-1.5.7-2.fc20.x86_64
ibus-m17n-1.3.4-12.fc20.x86_64
ibus-kkc-1.5.20-1.fc20.x86_64
ibus-gtk2-1.5.7-2.fc20.x86_64
mvel@blackbox: ~ $ rpm -qa &apos;*fcitx*&apos;
mvel@blackbox: ~ $

But since both QTBUG-32908 and QTBUG-15319 stay unresolved, I guess we need to wait for Qt5 to get it finally fixed :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1463727</commentid>
    <comment_count>65</comment_count>
    <who name="Ilya V. Portnov">portnov</who>
    <bug_when>2014-07-31 12:47:44 +0000</bug_when>
    <thetext>Still reproducible in Ubuntu 14.04, Qt 4.8.5, Kde 4.13.2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1464000</commentid>
    <comment_count>66</comment_count>
    <who name="Dmitry Veltishev">vdm-photo</who>
    <bug_when>2014-08-02 23:23:10 +0000</bug_when>
    <thetext>(In reply to Ilya V. Portnov from comment #65)
&gt; Still reproducible in Ubuntu 14.04, Qt 4.8.5, Kde 4.13.2.

Yes. Some time ago I&apos;ve noticed this issue on 14.04 too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465399</commentid>
    <comment_count>67</comment_count>
    <who name="Stanislav">svbutsenko</who>
    <bug_when>2014-08-12 09:54:02 +0000</bug_when>
    <thetext>Same problem(. Ubuntu 14.04 x64 3.13.0-32-generic</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465671</commentid>
    <comment_count>68</comment_count>
    <who name="">sunwebrw</who>
    <bug_when>2014-08-14 07:13:21 +0000</bug_when>
    <thetext>Same problem Ctrl-A, Ctrl-C, Ctrl-V doesn&apos;t work in KDE programms but work fine everywhere else.
Kubuntu 14.04 x64 wit the latest updates till date.

dpkg -l | awk &apos;/ibus/{print $2&quot; &quot;$3}&apos;
ibus-qt4 1.3.2-2
libgusb2:i386 0.1.6-5
libibus-1.0-5:i386 1.5.5-1ubuntu3
libibus-qt1 1.3.2-2
libusb-0.1-4:i386 2:0.1.12-23.3ubuntu1
libusb-1.0-0:i386 2:1.0.17-1ubuntu2
libusbmuxd2 1.0.8-2ubuntu1
libustr-1.0-1:i386 1.0.4-3ubuntu2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1465988</commentid>
    <comment_count>69</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2014-08-16 12:11:41 +0000</bug_when>
    <thetext>Is this really restricted to russian layout? It might actually be a change in X11 russian keyboard layouts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1466229</commentid>
    <comment_count>70</comment_count>
    <who name="Dmitry Veltishev">vdm-photo</who>
    <bug_when>2014-08-18 09:42:11 +0000</bug_when>
    <thetext>(In reply to Christoph Feck from comment #69)
&gt; Is this really restricted to russian layout? It might actually be a change
&gt; in X11 russian keyboard layouts.

I&apos;ve also noticed that this problem is reported mostly by russian comminity users, so this could be a right suggestion. Anyway, is there a hack/workaround for us?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1466243</commentid>
    <comment_count>71</comment_count>
    <who name="Nick Stefanov">mo78</who>
    <bug_when>2014-08-18 11:38:40 +0000</bug_when>
    <thetext>Why not you try bulgarian layot to check it out?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1467540</commentid>
    <comment_count>72</comment_count>
    <who name="Someone">0f3d254b</who>
    <bug_when>2014-08-24 18:44:47 +0000</bug_when>
    <thetext>This is present in Plasma 5 (Plasmashell) though..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1471369</commentid>
    <comment_count>73</comment_count>
    <who name="Dmitry Veltishev">vdm-photo</who>
    <bug_when>2014-09-15 21:53:20 +0000</bug_when>
    <thetext>I&apos;ve tested this issue under LXDE and I had the same problem.
Moreover, I&apos;ve tested some different layouts under LXDE and Gnome shells and I&apos;ve got DIFFERENT results. For example: 

1) Russian: FAIL
2) Serbian: FAIL
3) Armenian: FAIL
4) Belarus: FAIL
5) Spanish: OK
6) French:  OK
7) Hungarian: OK
8) Moldovian: OK</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1474727</commentid>
    <comment_count>74</comment_count>
    <who name="Dimitri Kulk">dimi</who>
    <bug_when>2014-10-05 20:28:04 +0000</bug_when>
    <thetext>In earlier days in KDE there was a setting in keyboard layout &quot;include Latin layout&quot; that has gone.
I suspect the problem is connected with the lack of Latin characters in, say, Cyrillic layout as it is not Latin.
And according to Dmitry Veltishev we see, that the problem is only in non-Latin layouts.
I use 4.13.3 KDE and met the problem. In 4.10.5 and 4.8.5 I did not have this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1476963</commentid>
    <comment_count>75</comment_count>
    <who name="Igor Poboiko">igor.poboiko</who>
    <bug_when>2014-10-20 08:54:49 +0000</bug_when>
    <thetext>I&apos;ve found a weird workaround for this problem. In systemsettings I have 2 layouts in following order: first russian, then english. But when I have swapped them, all the shortcuts started working!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1476965</commentid>
    <comment_count>76</comment_count>
    <who name="Dimitri Kulk">dimi</who>
    <bug_when>2014-10-20 09:01:41 +0000</bug_when>
    <thetext>I have fixed the problem, by fixing QTBUG-32908
Here is the patch:

From 8660bb907ef132f2c7c774a7b05f96bf8cab00e6 Mon Sep 17 00:00:00 2001
From: Gatis Paeglis &lt;gatis.paeglis@digia.com&gt;
Date: Sat, 31 Aug 2013 21:22:47 +0200
Subject: [PATCH] Revert &quot;QTBUG-15319: fix shortcuts with secondary Xkb
 layout.&quot;

The change which attempted to fix QTBUG-15319 broke keyboard
shortcuts for non latin keyboard layouts.

This patch reverts QTBUG-15319 (f45cdeda8) since it caused a
regression.

Task-number: QTBUG-32908

Change-Id: I47d7984fa7986d5218d1f3ff1fc36d2ec67c9ba7
---
 src/gui/kernel/qkeymapper_x11.cpp | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/gui/kernel/qkeymapper_x11.cpp b/src/gui/kernel/qkeymapper_x11.cpp
index 005ff3f..7daa41d 100644
--- a/src/gui/kernel/qkeymapper_x11.cpp
+++ b/src/gui/kernel/qkeymapper_x11.cpp
@@ -282,12 +282,9 @@ QList&lt;int&gt; QKeyMapperPrivate::possibleKeysXKB(QKeyEvent *event)
 
     // first, translate key only using lock modifiers (there are no Qt equivalents for these, so we must
     // always use them when determining the baseKeySym)
-    // Note: the Xkb group to be used for the conversion keycode-&gt;keysym has to be given to
-    //       XkbLookupKeySym(). This information is contained in the bits 8 to 15 of xmodifiers.
-    //       See https://bugreports.qt-project.org/browse/QTBUG-15319 .
     KeySym baseKeySym;
     uint consumedModifiers;
-    if (!XkbLookupKeySym(X11-&gt;display, xkeycode, (xmodifiers &amp; (0xff00 | LockMask | qt_num_lock_mask)),
+    if (!XkbLookupKeySym(X11-&gt;display, xkeycode, (xmodifiers &amp; (LockMask | qt_num_lock_mask)),
                          &amp;consumedModifiers, &amp;baseKeySym))
         return QList&lt;int&gt;();
 
-- 
1.8.4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1479497</commentid>
    <comment_count>77</comment_count>
    <who name="Sam Tuke">mail</who>
    <bug_when>2014-11-04 11:19:43 +0000</bug_when>
    <thetext>(In reply to Igor Poboiko from comment #75)
&gt; I&apos;ve found a weird workaround for this problem. In systemsettings I have 2
&gt; layouts in following order: first russian, then english. But when I have
&gt; swapped them, all the shortcuts started working!

I believe this is because the first layout is used for shortcuts regardless of which input is currently in use. This is/was also a bug. More info in the Launchpad bugs related to this: https://bugs.launchpad.net/unity/+bug/1226962</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1504666</commentid>
    <comment_count>78</comment_count>
    <who name="">dklovedoctor</who>
    <bug_when>2015-03-11 14:49:39 +0000</bug_when>
    <thetext>Igor&apos;s Poboiko&apos;s exploit did the trick for me too. (Comment 75)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1508994</commentid>
    <comment_count>79</comment_count>
    <who name="Knube2015">edinbox</who>
    <bug_when>2015-04-05 11:41:27 +0000</bug_when>
    <thetext>Problem solves when you move Russian Keyboard Layout near the others.
Проблема решается, если переместить Русскую раскладку ниже Английской, в окне Клавиатура - Модуль настройки KDE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1519763</commentid>
    <comment_count>80</comment_count>
    <who name="Wolfgang Mader">Wolfgang_Mader</who>
    <bug_when>2015-05-18 10:03:39 +0000</bug_when>
    <thetext>Abstract
--------
In KDE4 times, there was a QT bug messing up shortcuts when a non-standard 
(russian, neo, etc.) keyboard layout or variant was set as the default layout 
either via xorg.conf or in the System Setting of KDE4. This is documented in 
the KDE as well as in the QT bug tracker [1,2], and was fixed at some point 
for QT4 and KDE4. According to [1], the issue reappeared for Plasma5 .

My observation on Plasma5 is, than not only the shortcuts are affected, but 
also mouse clicks fall through, at least for Java applications using the 
Abstract Window Toolkit [3]. The Java application in question is Matlab 
(R2015a), and since it is closed source (sorry, not my choice), I rely on 
information from the java console (jconsole).


Setup and configuration
-----------------------
I experience the issue running Plasma 5 a MacBook Pro using the Intel 
Integrated Graphics Controller of its i7 cpu. My graphics setup is

   20-intel.conf
  --------------
   Section &quot;Device&quot;
     Identifier    &quot;Intel Graphics&quot;
     Driver        &quot;intel&quot;
     Option        &quot;TearFree&quot; &quot;true&quot;
   EndSection

So I am using the standard open source &quot;intel&quot; driver.

My keyboard setup on X11 level is

   20-keyboard.conf
   ----------------
   Section &quot;InputClass&quot;
     Identifier &quot;system-keyboard&quot;
     MatchIsKeyboard &quot;on&quot;
     Option &quot;XkbLayout&quot; &quot;de&quot;
     Option &quot;XkbModel&quot; &quot;pc104&quot;
   EndSection

I use the German keyboard layout &quot;de&quot; here. I would love to configure neo 
[4,5], but unfortunately, this kills shortcuts and clicks.

In the System Setting of Plasma 5 under &quot;Input Devices&quot; I configure two 
layouts. Both are German, the first in the default variant &quot;de&quot;, the second in 
the variant &quot;neo&quot;. I leave the System Setting of KDE 4 alone.


The situation
-------------
To make the naming of shortcuts clear I prepend the active variant &quot;de&quot; or 
&quot;neo&quot; to the shortcut. This is de[Strg+c] is copy in the sense of the &quot;de&quot; 
variant, and the actual keys pressed coincide with the labeling on the 
physical keyboard. In contrary neo:[Strg+c] refers to copy in the frame of the 
neo variant, but the actual keys pressed with respect to the physical keyboard 
are Strg+r.

The setup described above leads to the following situation.

---  Keyboard shortcuts
---- ------------------
------ KF5 based applications
In KF5 based applications like KWrite, keyboard shortcuts follow the layout 
variant. This is, neo[Strg+x] cuts out text, and de[Strg+x] also cuts out text 
when the respective layout is activated.

Interestingly, if &quot;neo&quot; is active, and I hit neo[Strg+ö] which is de[Strg+x], 
text is also cut out. So, the shortcut is interpreted as if &quot;de&quot; would be 
active.  However, if I hit neo[Strg+p] which is de[Strg+v], text is not 
inserted as you might expect, but the print dialog opens. This is because 
neo[Strg+p] is the shortcut for print. So, a shortcut configured in the frame 
of the currently active variant &quot;neo&quot; takes precedence over whatever is 
configured in the frame of an inactive variant.

This is already strange by itself, and I would considered it a bug.

------ KDE 4 applications
In applications still based on KDE4 such as Dolphin, only the shortcuts in the 
frame of the &quot;de&quot; variant work. This makes perfect sense, since X11 only know 
about &quot;de&quot; and the System Setting of KDE 4 are not changed. Here, I would love 
so see, that KDE 4 applications follow whatever is configured for Plasma5 to 
avoid inconsistencies. The usual user simply does not care which libraries an 
application uses, and hence does not want to configure the same things twice 
for different applications.

--- Mouse clicks
----------------
As already mentioned in the Abstract, I use Matlab which is a Java 
application. The situation is a little fuzzy in detail, but the general 
picture is, that if there are more than two Matlab windows open, e.g. the 
editor and two windows for plots, the clicks fall through the window which is 
clicked. This only happens, if the non-standard keyboard layout variant &quot;neo&quot; 
is active. To this end, it is not important if it is the primary or the non-
primary variant. If I configure &quot;neo&quot; as the only variant on X11 level, 
keyboard and clicks are broken. If I configure &quot;de&quot; as the only variant in X11 
and &quot;de&quot; as primary and &quot;neo&quot; as secondary variant in the Plasma5 System 
Setting, clicks are broken as soon as &quot;neo&quot; is active, and work all right is 
&quot;de&quot; is active.


Information I can provide
-------------------------
I would be glad to help the situation by providing further information. I 
would categorize myself as an advanced user. So you can ask me for all 
information I can gather on the command line, system logs, java console, etc. 
I fear, however, that I can not offer to compile e.g. kwin in order to test 
patches; therefore, I am simply lacking the time.

I run Arch Linux, and as far is I know, they strip their binaries. Debugging 
information is therefore of limited use. If there is really the need, 
irrespective of what I just say, you can ask me to compile, and I see what I 
can do.

References
----------
[1] https://bugs.kde.org/show_bug.cgi?id=320423
[2] https://bugreports.qt.io/browse/QTBUG-32908
[3] https://en.wikipedia.org/wiki/Abstract_Window_Toolkit
[4] http://www.neo-layout.org/
[5] http://en.wikipedia.org/wiki/Keyboard_layout#Neo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1531060</commentid>
    <comment_count>81</comment_count>
    <who name="Denis Savenko">seosova</who>
    <bug_when>2015-07-10 01:13:37 +0000</bug_when>
    <thetext>(In reply to Knube2015 from comment #79)
&gt; Problem solves when you move Russian Keyboard Layout near the others.
&gt; Проблема решается, если переместить Русскую раскладку ниже Английской, в
&gt; окне Клавиатура - Модуль настройки KDE.

Thank you. It&apos;s  solved problem with Ctrl+C  on plasma 5 Fedora 22 too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1531231</commentid>
    <comment_count>82</comment_count>
    <who name="Ilya V. Portnov">portnov</who>
    <bug_when>2015-07-10 15:20:38 +0000</bug_when>
    <thetext>I beleive this issue should be reopened, since it is not actually resolved. I don&apos;t know, maybe it&apos;s resolved in Qt, but for some reason the fix did not land in actual kde versions. There are still reports like https://bugs.kde.org/show_bug.cgi?id=350095.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1531260</commentid>
    <comment_count>83</comment_count>
    <who name="Wolfgang Mader">Wolfgang_Mader</who>
    <bug_when>2015-07-10 19:24:57 +0000</bug_when>
    <thetext>(In reply to Ilya V. Portnov from comment #82)
&gt; I beleive this issue should be reopened, since it is not actually resolved.
&gt; I don&apos;t know, maybe it&apos;s resolved in Qt, but for some reason the fix did not
&gt; land in actual kde versions. There are still reports like
&gt; https://bugs.kde.org/show_bug.cgi?id=350095.

+1 for reopening. There is also a longer bug report [1] discussing 
the same issue also touching on an issue with mouse clicks which seems, at least to me, related.


[1] https://bugs.kde.org/show_bug.cgi?id=347964</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1531573</commentid>
    <comment_count>84</comment_count>
    <who name="Stanislav">svbutsenko</who>
    <bug_when>2015-07-13 11:41:12 +0000</bug_when>
    <thetext>+1 for reopening - the problem is not solved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536450</commentid>
    <comment_count>85</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2015-08-12 13:24:17 +0000</bug_when>
    <thetext>*** Bug 350095 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>