<?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>310562</bug_id>
          
          <creation_ts>2012-11-23 16:49:26 +0000</creation_ts>
          <short_desc>Alt+Shift+Tab can&apos;t be used to &quot;Walk Through Windows (Reverse)&quot;</short_desc>
          <delta_ts>2012-12-15 19:09:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>kwin</product>
          <component>tabbox</component>
          <version>4.9.3</version>
          <rep_platform>Arch Linux</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>4.10 Beta 2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin">martin.minka</reporter>
          <assigned_to name="KWin default assignee">kwin-bugs-null</assigned_to>
          <cc>mcorteel</cc>
          
          <cf_commitlink>http://commits.kde.org/kde-workspace/7cd45390e8f11ec2be6b1733db2a0edf0b592367</cf_commitlink>
          <cf_versionfixedin>4.10</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      <flag name="ReviewRequest"
          id="437"
          type_id="14"
          status="+"
          setter="thomas.luebking"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1317844</commentid>
    <comment_count>0</comment_count>
    <who name="Martin">martin.minka</who>
    <bug_when>2012-11-23 16:49:26 +0000</bug_when>
    <thetext>When I press Alt+Shift+Tab it starts the windows switcher, but it does not step in reverse order.

I had the problem after clean install and I have it also when I was using &quot;windows behavior / tasks switcher&quot; to change to other combination and back to Alt+Shift+Tab.

My findings are:
* at least one more user experiences the same problem
* Alt+Shift+Tab combination works if I assign it to some other action for example &quot;Run Command&quot;)
* other combination assigned to &quot;Walk Through Windows (Reverse)&quot; works for me, for example Ctrl+Alt+Tab
* Ctrl+Alt+Shift+Tab doesn&apos;t work either
* in opinion there is weird record in kglobalshortcutsrc (search for Alt+Shift+Backtab):
      Walk Through Windows (Reverse)=Alt+Shift+Tab,Alt+Shift+Backtab,Walk Through Windows (Reverse)


Reproducible: Always

Steps to Reproduce:
1. open multiple applications
2. press Alt+Shift+Tab
3. press Alt+Shift+Tab

Actual Results:  
windows switcher will be shown and it will not move in the list

Expected Results:  
it should move in the list of application in reverse order</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317845</commentid>
    <comment_count>1</comment_count>
    <who name="Maxime Corteel">mcorteel</who>
    <bug_when>2012-11-23 16:53:19 +0000</bug_when>
    <thetext>I experience the same behavior with 4.9.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317846</commentid>
    <comment_count>2</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2012-11-23 17:01:13 +0000</bug_when>
    <thetext>This is bug #153211,  274006, 174142 and several dupes.

Actually only the (default configured) Alt+Shift+Backtab works here, so get rid of Alt+Shift+Tab
What keyboard layout do you use?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317849</commentid>
    <comment_count>3</comment_count>
    <who name="Maxime Corteel">mcorteel</who>
    <bug_when>2012-11-23 17:12:15 +0000</bug_when>
    <thetext>My keyboard layout is fr, but I get the same behavior with us...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317862</commentid>
    <comment_count>4</comment_count>
    <who name="Martin">martin.minka</who>
    <bug_when>2012-11-23 17:59:06 +0000</bug_when>
    <thetext>I manually edited file ~/.kde4/share/config/kglobalshortcutsrc:

Walk Through Windows (Reverse)=Alt+Shift+Backtab,Alt+Shift+Backtab,Walk Through Windows (Reverse)

After reboot Alt+Shift+Tab works.

My layout is &quot;us&quot; and it is Logitech K520.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317887</commentid>
    <comment_count>5</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2012-11-23 20:39:46 +0000</bug_when>
    <thetext>It&apos;s because of the modal state of the tabbox.
KWin grabs input and handles shortcuts itself after the shortcut is initially invoked.
Since the original bug was not resolved by ensuring to read the right shortcut, but kglobalaccel to fire the shortcut for the wrong event you&apos;re still not triggering the &quot;correct&quot; (configured) shortcut (since you wanted to configure alt+shift+backtab in the first place) and kwin does not react on that one.

-&gt; Therefore the tabbox implementation will have to copy the globalaccel (and by comment also Qt) hack on this (while i can not say i&apos;m particularily happy with such solution)

@Martin: objections?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317888</commentid>
    <comment_count>6</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2012-11-23 20:40:22 +0000</bug_when>
    <thetext>mehhh - fixing component, since this is really a (compatibility) bug in the tabbox implementation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317891</commentid>
    <comment_count>7</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2012-11-23 21:09:16 +0000</bug_when>
    <thetext>https://git.reviewboard.kde.org/r/107441/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1317909</commentid>
    <comment_count>8</comment_count>
    <who name="Martin Flöser">mgraesslin</who>
    <bug_when>2012-11-23 22:15:45 +0000</bug_when>
    <thetext>&gt; @Martin: objections?
it sucks, but no objections.

Looking forward to the day where we (at least partially) handle global 
shortcut ourselves thanks to Wayland.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1323837</commentid>
    <comment_count>9</comment_count>
    <who name="Thomas Lübking">thomas.luebking</who>
    <bug_when>2012-12-14 22:17:29 +0000</bug_when>
    <thetext>Git commit 7cd45390e8f11ec2be6b1733db2a0edf0b592367 by Thomas Lübking.
Committed on 23/11/2012 at 22:05.
Pushed by luebking into branch &apos;master&apos;.

special tab/backtab handling to align kglobalaccel
FIXED-IN: 4.10
REVIEW: 107441

M  +46   -1    kwin/tabbox/tabbox.cpp

http://commits.kde.org/kde-workspace/7cd45390e8f11ec2be6b1733db2a0edf0b592367</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>