alttab icon indicating copy to clipboard operation
alttab copied to clipboard

filter window ?

Open wade-fs opened this issue 2 years ago • 3 comments

I found some app, such as firefox, will create multi-window in alt-tab list, but cannot switch to it. I guess those windows without available window id. Could weed out that?

wade-fs avatar Jul 20 '21 03:07 wade-fs

Try to guess what's special with that non-focusable windows. You can run alttab -v from terminal, try to switch to problem window and look for correspondent changing focus to <id> line in alttab output. Then examine that window: xprop -id <id>

Also, what WM are you using and how alttab recognizes it? alttab -v 2>&1 | grep WM

sagb avatar Jul 23 '21 16:07 sagb

for those who searched and are still having this issue, messing around with the -w option fixed it for me, whether this is intended or not I am not sure.

sw882882 avatar May 20 '22 13:05 sw882882

To say something meaninfull, I asked for diagnostics from those who can reproduce this bug. Here is even more detailed step-by-step procedure:

  1. Kill alttab if it's running (killall alttab)
  2. Start alttab from within terminal emulator with -v option. It will print diagnostics to standard output during run.
  3. Try to switch to "non-selectable" window with alttab (let it fail).
  4. Switch to terminal where alttab is printing (without using alttab! Probably using mouse).
  5. Look for the following lines in diagnostic output: changing focus to .... Window id will be mentioned here (0x12345...)
  6. Either kill alttab (ctrl-c) or start another terminal session, and run: xprop -id 0x12345, where 0x12345 is obtained in previous step. Show the output in this github issue.
  7. Also, show the output of alttab -v 2>&1 | grep WM and what WM are you actually running.

sagb avatar May 28 '22 16:05 sagb