Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't act like "Alt-Tab switcher" as suggested on help page #28

Open
boamaod opened this issue Dec 23, 2016 · 3 comments
Open

Doesn't act like "Alt-Tab switcher" as suggested on help page #28

boamaod opened this issue Dec 23, 2016 · 3 comments
Assignees

Comments

@boamaod
Copy link

boamaod commented Dec 23, 2016

Currently help page says that with command line option -R or --persistent you can make xwinmosaic act as an Alt-Tab switcher:

Make XWinMosaic acts like Alt-Tab switcher

However if you try to bind it to Alt-Tab in practise (tried Openbox keybindings and xbindkeys), there are multiple problems and in the end I find the description of this option rather confusing:

  • If you press Alt-Tab, you cannot continue moving between windows back and forth without releasing Alt key like with Alt-Tab switchers, but have to release Alt and Tab to actually start navigation.
  • It might be almost acceptable, if without releasing Alt I were able to use arrow keys to navigate, but even that doesn't work.
  • Releasing Tab, keeping Alt down and then pressing Tab again closes xwinmosaic if used in combination with keybinding tools referred above.

I suggest rephrasing the description of the Alt-Tab option and say it just daemonizes the application and nothing more, or much better, implement the true Alt-Tab switcher behaviour and add it as a separate option (or default behaviour in case of daemonizing).

My Openbox configuration experiment:

    <!-- Keybindings for window switching -->
    <keybind key="A-Tab">
      <action name="If">
        <query>
          <name>xwinmosaic</name>
        </query>
        <else>
          <action name="execute">
            <command>xwinmosaic</command>
            <action name="Focus"/>
            <action name="Raise"/>
            <action name="Unshade"/>
          </action>
        </else>
      </action>
    </keybind>

Or maybe you can share some example keybinding options for generic GNU/Linux desktop environments to make it work as an Alt-Tab switcher? Am I missing something here?

@soulthreads
Copy link
Owner

Honestly, this feature was only fully implemented and tested for Windows by the interested party, so I'm not really surprised that it doesn't work in X11.
But your point is valid, and I'll see if there is a way to make it work properly.

@soulthreads soulthreads self-assigned this Dec 23, 2016
@TSultanov
Copy link
Collaborator

TSultanov commented Dec 23, 2016 via email

@boamaod
Copy link
Author

boamaod commented Dec 23, 2016

If somebody comes up with changes that may fix it for X11, I'd be happy to test them. At the moment I don't have time to dig into it myself, but I was also thinking of implementing some UX features like lousy arrows (if you press up and there is no box directly above currently highlighted one, it still moves diagonally up etc). Making the locations/areas of different applications persistent with some fuzzy grouping would be interesting feature too, but this can be implemented in script level as far as I understand the logic of the application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants