Bug 321324 - Triggering Alt-tab effect using screen edge make it stay on screen no matter what
Summary: Triggering Alt-tab effect using screen edge make it stay on screen no matter ...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-tabbox (show other bugs)
Version: 4.10.80
Platform: Chakra Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-18 16:04 UTC by Antonis G.
Modified: 2021-12-23 17:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.24


Attachments
Video showing that, not very meaningfull (933.62 KB, video/ogg)
2013-06-18 16:08 UTC, Antonis G.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonis G. 2013-06-18 16:04:52 UTC
This is not a bug, but a wish, see below.

Reproducible: Always

Steps to Reproduce:
1. Go to screen edge associated with action toggle window switching
2. Browse between windows using mouse clicks
3. Try to click on the one in front in order to switch to that window
Actual Results:  
The effects stays on screen, unless hitting again the screen edge or pressing Esc.

Expected Results:  
Although browsing between displayed windows works by selecting a window with mouse. You can't switch to the window in front of the others by clicking on it. Witch I find inconvenient.

This wish doesn't make sense when using plain Alt-tab since all you have to do is release Alt, but when using this effect in combination with screen edges.
Same applies for all other effects associated with alt-tab such as coverswitch and flipswitch.
Comment 1 Antonis G. 2013-06-18 16:08:10 UTC
Created attachment 80617 [details]
Video showing that, not very meaningfull
Comment 2 Thomas Lübking 2013-06-18 17:37:22 UTC
The current behavior is due to interaction with mousewheel or keyboard selection (ie. we can not simply accept() on select)

The situation becomes more complex when accounting cover/flip switch.
The switcher implementations would need to signal "if i'm not modal, now it's time to select and close" in return of a click.
Comment 3 Martin Flöser 2013-06-18 18:32:59 UTC
ftr: enter and space also end the selection
Comment 4 Antonis G. 2013-06-18 19:26:45 UTC
> ftr: enter and space also end the selection

No they don't. Should they be configured at any module, which one?
Comment 5 Thomas Lübking 2013-06-18 19:52:29 UTC
(In reply to comment #4)
> > ftr: enter and space also end the selection
> No they don't. Should they be configured at any module, which one?
Yes they do :-P

It's hardcoded - what tabbox switcher do you use? ("kcmshell4 kwintabbox")

It's however an input device change (mouse -> keyboard)
Comment 6 Antonis G. 2013-06-18 21:07:20 UTC
Both cover and flip switch dodnt work with enter or space, however all the other in the list do work.
Comment 7 Alexander Mentyu 2018-09-20 10:31:26 UTC
Reproducible on Wayland
Enter and Space keys are not selecting tasks
Cannot switch to other tasks by mouse click if currently selected task window is in fullscreen
Reactivation of same screen edge and Esc key dismiss task switcher

Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.14.80
Qt Version: 5.11.1
KDE Frameworks Version: 5.51.0
Kernel Version: 4.15.0-34-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7,7 GiB of RAM
Comment 8 Ismael Asensio 2021-12-23 17:39:10 UTC
Git commit cc885d63fcbade47db682ae783c4c77091e8939e by Ismael Asensio.
Committed on 23/12/2021 at 17:27.
Pushed by iasensio into branch 'master'.

[windowswitchers] QML replacement for flipswitch and coverswitch

Rewrite of the flipswitch and coverswitch window switchers in QMl,
using the KWin Tabbox API and PathView to layout the thumbnails.

The use of common Plasma components, following the user's theme,
and lack of reflections gives the effects a more modern (breezy) look,
consistent with the user's desktop and the other tabswitchers.
Related: bug 443757, bug 184874, bug 404802, bug 330529
FIXED-IN: 5.24

M  +4    -0    windowswitchers/CMakeLists.txt
A  +249  -0    windowswitchers/coverswitch/contents/ui/main.qml     [License: GPL(v2.0+)]
A  +16   -0    windowswitchers/coverswitch/metadata.desktop
A  +218  -0    windowswitchers/flipswitch/contents/ui/main.qml     [License: GPL(v2.0+)]
A  +16   -0    windowswitchers/flipswitch/metadata.desktop

https://invent.kde.org/plasma/kdeplasma-addons/commit/cc885d63fcbade47db682ae783c4c77091e8939e