Is it possible to add arrows navigation once alt-tab is hit once and alt is still down?
Alt-Tab : task switcher appears, keep Alt down
while Alt is down use arrows to move around the tasks
release Alt : the selected task is choosed
I think we can change the target milestone :(
Created attachment 4137
Allow arrow keys while cycling
Created attachment 4138
Allow arrow keys while cycling - with wm tweak
I've added two patches that work for me on Ubuntu 11.10 xfwm4-4.8.2:
- one with arrow keys always on while cycling
- one with a wm tweak setting
(In reply to comment #3)
> Created attachment 4138
> Allow arrow keys while cycling - with wm tweak
Interesting, can you make that patch against git master instead? (xfce-4.8 is table and no feature are added to stable, ever)
Not sure this is what the original poster had in mind but that sounds simple enough. I don't think we need to make that optional so the the simplest patch would suffice.
Created attachment 4139
cycle with arrow keys against git master
roughly the same as 4137
Now thinking about it we could go a bit further with that.
Using arrow keys in place of Alt-tab/Alt-Shift-Tab (or whatever combination one may choose) does not make the operations any faster when one has a lot of windows, as [s]he's got to get thru all of the windows to get to the one [s]he wants.
What would be a real improvement would be to use up and down as well to navigate multi-rows entries when there are a lot of windows.
Not too hard either, a couple of additional entries in the window selection widget to select next/previous row (the selection widgets knows how many entry per row which is what is required to navigate between rows) and a trival patch in the selection routine to add up/down to move between rows.
Do you think you could do that?
I'll give it a shot, it may be a couple of days before I have time.
I actually never have (had) that many windows on the screen (per workspace), but I tried to fill it up, and noticed that the taskswitcher uses the screen width to determine the length of a 'row'.
I normally at work have an extra big screen, and the task switcher displays differently on each screen, which is great I think, no changes needed. But one the big screen there are less rows than on the small screen.
When I implement the up/down, I guess the left/right would wrap around a 'row' instead of the complete list (which it does now). I mean, when you're on the first task, and hit left, it switches to the 'last' entry'. I would like it to go to the last one of the current row. Same for pressing right at the end of a row.
(In reply to comment #8)
> Agree ?
Yeap. absolutely, oterhwise left/right would be just like Alt-Tab/Alt-Shift-Tab which would be redundant.
Created attachment 4147
cycle with arrow keys up/down
The up/down/left/right arrows looked really odd with multiple monitors displaying different rows of icons, so I now look for the smallest width monitor and use that width for all monitors.
Here's another thought: on my screen one is composed of 16 icons, and so is the next one. So to get to the 8th icon I would have to either hit the left arrow key or right arrow key at least 6 or times.
Wouldn't it be better to construct rows/columns that would minimize the (average?) number of steps from one place to another, like 4 icons as 2x2, 6 icons as 3x2, 8 as 4x2 or rather 9 as 3x3, etc.
What do you think ?
I use only the task switcher to switch tasks and having an easier way to do that would greatly increase my productiveness with XFCE.
Would it be possible to implement simple mouse click interaction? It's what works fastest for me.
- Hit ALT-Tab
- Select the task you want
If mouse interaction would be implemented, I'd at last fully replaced my Mac.
This is all implemented (both keyboard and mouse navigation is now possible in alt-tab).