https://bugs.kde.org/show_bug.cgi?id=516558
Bug ID: 516558
Summary: Focus chain altered unexpectedly if any window rule
matches title
Classification: Plasma
Product: kwin
Version First 6.6.0
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: tabbox
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
If there exists a window rule that matches a window's title and the window's
title changes, it wrongfully gets promoted to the first of the focus chain,
causing Alt+Tab unexpectedly switched to a third window.
PREREQUISITES
- You have at least 3 windows open (A, B, C).
- There is a window rule configured that matches Window B’s class/type/role
(unimportant match is considered a match as well), AND this rule includes a
non-trivial Title property match (e.g., Exact Match, Substring Match, etc.).
- Note: The rule doesn’t need to have certain settings; the key is that KWin
is monitoring the title for rule evaluation.
STEPS TO REPRODUCE
1. Focus Window A, then Focus Window B.
2. Switch back to Window A (B is now the “previous” window).
3. While Window B is in the background, its title changes. (Example: Window B
is a terminal. You run sleep 2 and switch to Window A. When the command
finishes, the terminal updates its title).
4. Press Alt+Tab.
OBSERVED RESULT
KWin switches to Window C (the 3rd window).
EXPECTED RESULT
KWin switched to Window B.
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
ADDITIONAL INFORMATION
This was posted before at
https://discuss.kde.org/t/unexpected-alt-tab-behavior/44566 . Since that thread
is a bit quiet, I thought I’d re-share it here for some fresh perspectives.
--
You are receiving this mail because:
You are watching all bug changes.