Bug 384440 - Switching between windows from the same application only works once
Summary: Switching between windows from the same application only works once
Status: RESOLVED DUPLICATE of bug 371502
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 5.10.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-06 16:07 UTC by grouchomarx.fr
Modified: 2017-09-14 15:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
mgraesslin: Wayland+
mgraesslin: X11+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description grouchomarx.fr 2017-09-06 16:07:30 UTC
How to reproduce:
- open several windows of the same application (e.g. 3 instances of Konsole)
- hold alt and hit the ` key several times

Expected results:
- show the window switcher and select the next window every time the ` key is hit

Actual results:
- the window switcher is shown and the next window is selected, but hitting ` or ~ does nothing. I can't navigate through the other windows.


I have no problem with the alt-tab global switcher.

Distribution: openSUSE Tumbleweed
KDE Plasma: 5.10.5
Frameworks: 5.37.0
QT: 5.9.1
Comment 1 Martin Flöser 2017-09-06 16:47:54 UTC
I just tried and this works fine on Wayland, though I assume it's an X11 only issue.
Comment 2 grouchomarx.fr 2017-09-06 18:31:50 UTC
I haven't tried Wayland.

It seems the bug is related to the keyboard layouts.
I have set 3 layouts : us international with dead keys, us and french.

If I put us international with dead keys, or french in the top slot, the bug appears.
If I put us first, it works.

Changing the layout doesn't seem to do anything.
Comment 3 Martin Flöser 2017-09-06 18:37:49 UTC
That's of course relevant. The key combo is Alt+` and not alt+(key above tab). The layout matters. This means also Wayland is affected as there shortcuts are also taking the layout into account.

If that's the actual problem then it's unfortunately by design of the global shortcut system.
Comment 4 grouchomarx.fr 2017-09-06 19:03:32 UTC
Thanks for your answer. The thing is, it acts as if it was alt+(key above tab) the first time I hit the combo and then it stops working (does it switch to another layout ?).

I can't reassign the shortcut either.
I have tried for example super+v.
The first hit brings the app switcher, and then it stops.

It doesn't seem to respect the current layout (it is set to global in the keyboard settings).
Comment 5 Martin Flöser 2017-09-06 19:12:45 UTC
I'm slightly confused. Especially I don't get when it breaks. Does break mean you cannot open the application mode again or does it mean you cannot step through the list like with tab?
Comment 6 grouchomarx.fr 2017-09-06 19:46:29 UTC
Sorry, I should have been more specific : it breaks when I want to go through the list, it is stuck to the second window.

Also I want to correct my previous statement : I can actually reassign it to super+v. It turns out I had to restart the session (otherwise, super+v launches the app switcher, then I have to hit alt+` to go through the app list).

I am still a bit confused about how it works.
I guess I am expecting the entire desktop to use the layout that I selected, but it seems to switch between layouts (launching the app switcher is using one layout, going through the list is using another ?).
Comment 7 grouchomarx.fr 2017-09-14 14:06:01 UTC
I guess it is now very similar to this bug:
https://bugs.kde.org/show_bug.cgi?id=371502

Sorry about the dupe.
Comment 8 Martin Flöser 2017-09-14 15:22:38 UTC
*** This bug has been marked as a duplicate of bug 371502 ***