Bug 403315 - Cannot navigate through windows via Alt+Tab
Summary: Cannot navigate through windows via Alt+Tab
Status: RESOLVED DUPLICATE of bug 400658
Alias: None
Product: kwin
Classification: Plasma
Component: effects-window-management (show other bugs)
Version: 5.14.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-17 16:28 UTC by tromzy
Modified: 2019-03-18 08:11 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tromzy 2019-01-17 16:28:16 UTC
SUMMARY
I just started testing the new Plasma 5.15 beta and already found a bug : I cannot navigate through windows in Task switcher by clicking Alt + Tab. It works the first time (the effect starts), but then navigating is impossible if I keep one finger on the Alt Key and tap the Tab key with my other finger. I can navigate with the arrow keys, though, it works that way. I'm on Wayland but I don't think that's relevant. This bug is specific to Plasma 5.14.90.

STEPS TO REPRODUCE
1. Press Alt + Tab to activate task switcher
2. keep a finger pressed on the "Alt" key and tap the "Tab" key multiple times
3. Nothing happens

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.14.90
KDE Frameworks Version: 5.54
Qt Version: 5.12

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2019-01-17 16:32:48 UTC
Please include your ~/.config/kwinrc
Comment 2 tromzy 2019-01-17 16:34:05 UTC
[$Version]
update_info=kwin.upd:port-minimizeanimation-effect-to-js,kwin.upd:port-scale-effect-to-js,kwin.upd:port-dimscreen-effect-to-js

[Compositing]
AnimationSpeed=3
Backend=OpenGL
GLCore=true
GLPreferBufferSwap=a
GLTextureFilter=0
HiddenPreviews=5
OpenGLIsUnsafe=false
XRenderSmoothScale=false

[Desktops]
Id_1={ba3a2424-edf8-4e94-97e4-08f9cefc05e3}
Number=1
Rows=1

[Effect-CoverSwitch]
TabBox=true
TabBoxAlternative=false

[Effect-Cube]
BorderActivate=9
BorderActivateCylinder=9
BorderActivateSphere=9

[Effect-DesktopGrid]
BorderActivate=9

[Effect-FlipSwitch]
TabBox=false
TabBoxAlternative=false

[Effect-PresentWindows]
BorderActivate=9
BorderActivateAll=3
BorderActivateClass=9

[ElectricBorders]
Bottom=None
BottomLeft=None
BottomRight=None
Left=None
Right=None
Top=None
TopLeft=None
TopRight=None

[NightColor]
Active=true
LatitudeAuto=48.8667
LongitudeAuto=2.4167

[No Group]
MinimizeScale=0.8
UnminimizeScale=0.8

[Plugins]
activatelattelaunchermenuEnabled=false
coverswitchEnabled=true
enforcedecoEnabled=true
flipswitchEnabled=true
glideEnabled=true
highlightwindowEnabled=true
kwin4_effect_dimscreenEnabled=true
kwin4_effect_fadeEnabled=false
kwin4_effect_maximizeEnabled=false
kwin4_effect_minimizescaleEnabled=true
kwin4_effect_shapecornersEnabled=false
kwin4_effect_squashEnabled=false
kwin4_effect_translucencyEnabled=false
minimizeallEnabled=false
slidebackEnabled=true
synchronizeskipswitcherEnabled=false
videowallEnabled=false
zoomEnabled=false

[TabBox]
ActivitiesMode=1
ApplicationsMode=0
BorderActivate=9
BorderAlternativeActivate=9
DesktopMode=1
HighlightWindows=true
LayoutName=org.kde.breeze.desktop
MinimizedMode=0
MultiScreenMode=0
ShowDesktopMode=0
ShowTabBox=true
SwitchingMode=0

[TabBoxAlternative]
ActivitiesMode=1
ApplicationsMode=0
DesktopMode=1
HighlightWindows=true
LayoutName=org.kde.breeze.desktop
MinimizedMode=0
MultiScreenMode=0
ShowDesktopMode=0
ShowTabBox=true
SwitchingMode=0

[Windows]
ElectricBorderCooldown=350
ElectricBorderCornerRatio=0.25
ElectricBorderDelay=100
ElectricBorderMaximize=true
ElectricBorderTiling=true
ElectricBorders=0

[org.kde.kdecoration2]
BorderSize=None
ButtonsOnLeft=XAIH
ButtonsOnRight=
CloseOnDoubleClickOnMenu=false
library=org.kde.sierrabreezeenhanced
Comment 3 Bug Janitor Service 2019-02-01 04:33:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 tromzy 2019-02-01 08:51:27 UTC
I provided the needed information.
Comment 5 tromzy 2019-02-01 08:52:15 UTC
I provided the needed information.
Comment 6 Nate Graham 2019-02-05 22:07:40 UTC
Works for me FWIW.
Comment 7 Oskar 2019-02-18 20:21:00 UTC
Have the same problem on latest kde neon, if you want same info please ask
Comment 8 Patrick Silva 2019-02-20 19:57:50 UTC
same problem here - bug 400658

shotcuts of task switcher frequently stop working, it's a very annoying problem.
Comment 9 Markus Rathgeb 2019-03-16 12:45:21 UTC
Same problem here.
I am using Wayland.

KDE Plasma: 5.15.3
KDE Frameworks: 5.56.0
KDE Applications: 18.12.3

Qt: 5.12.1
Comment 10 Markus Rathgeb 2019-03-16 13:27:00 UTC
I have created a new user and realized that the new user is not affected by this problem.

After I removed and recreated the user again, I copied all .config/k* files from my normal user to this test user (chmod, ...).
The problem exists for the new user, too.

I tried a binary search (not exactly but similar) to detect the configuration file(s) that causes the problem.

ATM I can reproduce the problem if I use that configuration files of the other user:

===
kcmdisplayrc
kcmfonts
kcminputrc
kcmshell5rc
kconf_updaterc
kdebugrc
kdeconnectdrc
kded5rc
kded_device_automounterrc
kdeglobals
kdeveloprc
kglobalshortcutsrc
khotkeysrc
===

Need to check now every one step by step...
Comment 11 Markus Rathgeb 2019-03-16 13:45:28 UTC
My .config/kcminputrc contains that keyboard section:

===
[Keyboard]
KeyboardRepeating=0
NumLock=0
RepeatDelay=600
RepeatRate=25
===

I don't know what's wrong here, but if I remove that keyboard section the Alt + Tab behaves as normal.
Comment 12 Patrick Silva 2019-03-16 13:56:50 UTC
(In reply to Markus Rathgeb from comment #11)
> My .config/kcminputrc contains that keyboard section:
> 
> ===
> [Keyboard]
> KeyboardRepeating=0
> NumLock=0
> RepeatDelay=600
> RepeatRate=25
> ===
> 
> I don't know what's wrong here, but if I remove that keyboard section the
> Alt + Tab behaves as normal.

Same here.
The problem is numlock setting in system settings > input devices > keyboard.
When I set numlock to "Off" or "Unchanged", both alt+tab and alt+' shortcuts work as expected. When I set it to "On", the same shortcuts fail.

Operating System: Arch Linux 
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Comment 13 Nate Graham 2019-03-16 21:17:32 UTC

*** This bug has been marked as a duplicate of bug 400658 ***
Comment 14 tromzy 2019-03-18 08:11:56 UTC
(In reply to Patrick Silva from comment #12)
> (In reply to Markus Rathgeb from comment #11)
> > My .config/kcminputrc contains that keyboard section:
> > 
> > ===
> > [Keyboard]
> > KeyboardRepeating=0
> > NumLock=0
> > RepeatDelay=600
> > RepeatRate=25
> > ===
> > 
> > I don't know what's wrong here, but if I remove that keyboard section the
> > Alt + Tab behaves as normal.
> 
> Same here.
> The problem is numlock setting in system settings > input devices > keyboard.
> When I set numlock to "Off" or "Unchanged", both alt+tab and alt+' shortcuts
> work as expected. When I set it to "On", the same shortcuts fail.
> 
> Operating System: Arch Linux 
> KDE Plasma Version: 5.15.3
> KDE Frameworks Version: 5.56.0
> Qt Version: 5.12.2

Also, thanks to your comment I doscovered that switching Num Lock OFF on the keyboard solves the problem ; switching it back to ON makes the problem appear again.