advanced-alttab-window-switcher icon indicating copy to clipboard operation
advanced-alttab-window-switcher copied to clipboard

[FEATURE] Move the mouse pointer after switching windows

Open juarezr opened this issue 2 years ago • 1 comments

Is your feature request related to a problem?

First thanks for this wonderful extension. I use it heavily in my daily work.

I'm always frustrated when switching to windows on different monitors because, besides the focus and the keyboard, I'm also going to use the mouse in that window.

However, the mouse pointer stays placed in the previous window and I need to execute a second action to move it to the new window. This is costly and it causes distractions and disturbs concentration and mental focus.

Describe the solution you'd like

It would be interesting to have control over the mouse pointer position built-in on this extension.

As a suggestion, for having fine control of the functionality, its possible to add some new settings in the mouse tab of the extension settings like:

  • Move the mouse pointer after:
    • Switching windows
    • Switching workspaces (if the previous has the focused windows)
    • Switching windows or workspaces
  • Move the mouse position in the target window to the:
    • Fixed position in the window (fallback)
    • Last position in the window (default)
    • Position of the focused widget in the window
  • Mouse fixed position:
    • Vertical position:
      • Title bar (default)
      • Top
      • Center
      • Bottom
    • Vertical Threshold: 16px
    • Horizontal position:
      • Left (default)
      • Center
      • Right
    • Horizontal Threshold: 24px

Describe alternatives you've considered

  • The extension Mouse Follow focus makes something similar, but not as good as it would be integrated.

juarezr avatar Feb 09 '23 14:02 juarezr

Thanks, I think adding an option to move the pointer to the target window might be enough.

G-dH avatar Feb 09 '23 23:02 G-dH