PaperWM.spoon icon indicating copy to clipboard operation
PaperWM.spoon copied to clipboard

Terminal and Finder tabs are detected as unique windows and tiled with gaps

Open mogenson opened this issue 1 year ago • 8 comments

Open a new tab in a Terminal or Finder window (may also occur in other applications). That window will be moved right the width of the window. This is because we are detecting the new tab as a unique window with a width of the original window.

Figure out how to detect when a window is a tab and ignore it. Maybe compare window ID with the window list?

mogenson avatar Mar 15 '24 16:03 mogenson

Being worked on in #41

mogenson avatar Mar 21 '24 00:03 mogenson

Blocked by issues: https://github.com/Hammerspoon/hammerspoon/issues/3625 and https://github.com/Hammerspoon/hammerspoon/issues/3626

mogenson avatar Apr 19 '24 18:04 mogenson

The MS-Office suite of programs seems to be caught by the tab warning. That's surprising given that I don't see any tabs in these programs.

I had to disable the tab check for this spoon to be usable at all. I don't use tabs in Finder much, so this is an easy solution for me.

tshort avatar Aug 26 '24 18:08 tshort

@tshort That's a shame to hear. There's no good way for PaperWM.spoon to determine whether a tab is a "real" tab or part of a larger window, like it seems MS Office is doing.

How about either a global config to enable/disable the unsupported tab warning or a window filter override to disable the warning per application?

mogenson avatar Aug 27 '24 00:08 mogenson