nikitabobko / AeroSpace

AeroSpace is an i3-like tiling window manager for macOS
https://nikitabobko.github.io/AeroSpace/guide
MIT License
5.73k stars 90 forks source link

Finder window shrinks to half width when creating another Finder tab #489

Closed zamf closed 1 week ago

zamf commented 2 weeks ago

Issue with Finder size when opening a Finder window tab.

To reproduce: Open Finder, open a 2nd tab, the Finder window switches to using half the size, as if it thinks there is another window to its left side.

thub.wez.wezterm.window.1151 windowId: 1151 com.github.wez.wezterm.window.1151 workspace: t com.github.wez.wezterm.window.1151 treeNodeParent: AppBundle.TilingContainer com.github.wez.wezterm.window.1151 recognizedAsDialog: false com.github.wez.wezterm.window.1151 AXTitle: Optional([2/2] zsh) com.github.wez.wezterm.window.1151 AXRole: Optional(AXWindow) com.github.wez.wezterm.window.1151 AXSubrole: Optional(AXStandardWindow) com.github.wez.wezterm.window.1151 AXFocused: Optional(1) com.github.wez.wezterm.window.1151 AXFullScreen: Optional(0) com.github.wez.wezterm.window.1151 AXFrame: Optional(<AXValue 0x60000392b640> {value = x:1280.000000 y:25.000000 w:1280.000000 h:997.000000 type = kAXValueCGRectType}) com.github.wez.wezterm.window.1151 AXPosition: Optional(<AXValue 0x600002292280> {value = x:1280.000000 y:25.000000 type = kAXValueCGPointType}) com.github.wez.wezterm.window.1151 AXGrowArea: nil com.github.wez.wezterm.window.1151 AXMinimizeButton: AXUIElement { com.github.wez.wezterm.window.1151 AXRole: Optional(AXButton) com.github.wez.wezterm.window.1151 AXTitle: nil com.github.wez.wezterm.window.1151 AXSubrole: Optional(AXMinimizeButton) com.github.wez.wezterm.window.1151 AXEnabled: Optional(1) com.github.wez.wezterm.window.1151 AXParent: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm.window.1151 AXTopLevelUIElement: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm.window.1151 AXWindow: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm.window.1151 Ignored: AXFrame, AXSize, AXFocused, AXHelp, AXPosition, AXRoleDescription com.github.wez.wezterm.window.1151 } com.github.wez.wezterm.window.1151 AXDocument: nil com.github.wez.wezterm.window.1151 AXSections: [ com.github.wez.wezterm.window.1151 Optional({ com.github.wez.wezterm.window.1151 SectionDescription = Content; com.github.wez.wezterm.window.1151 SectionObject = "<AXUIElement 0x600002298b10> {pid=7343}"; com.github.wez.wezterm.window.1151 SectionUniqueID = AXContent; com.github.wez.wezterm.window.1151 }) com.github.wez.wezterm.window.1151 ] com.github.wez.wezterm.window.1151 AXCloseButton: AXUIElement { com.github.wez.wezterm.window.1151 AXRole: Optional(AXButton) com.github.wez.wezterm.window.1151 AXTitle: nil com.github.wez.wezterm.window.1151 AXSubrole: Optional(AXCloseButton) com.github.wez.wezterm.window.1151 AXEnabled: Optional(1) com.github.wez.wezterm.window.1151 AXParent: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm.window.1151 AXTopLevelUIElement: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm.window.1151 AXWindow: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm.window.1151 Ignored: AXFrame, AXSize, AXFocused, AXHelp, AXPosition, AXRoleDescription, AXEdited com.github.wez.wezterm.window.1151 } com.github.wez.wezterm.window.1151 AXMain: Optional(1) com.github.wez.wezterm.window.1151 AXActivationPoint: Optional(<AXValue 0x60000229b480> {value = x:1350.000000 y:39.000000 type = kAXValueCGPointType}) com.github.wez.wezterm.window.1151 AXFullScreenButton: AXUIElement { com.github.wez.wezterm.window.1151 AXRole: Optional(AXButton) com.github.wez.wezterm.window.1151 AXTitle: nil com.github.wez.wezterm.window.1151 AXSubrole: Optional(AXFullScreenButton) com.github.wez.wezterm.window.1151 AXEnabled: Optional(1) com.github.wez.wezterm.window.1151 AXParent: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm.window.1151 AXTopLevelUIElement: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm.window.1151 AXWindow: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm.window.1151 Ignored: AXFrame, AXSize, AXFocused, AXChildren, AXHelp, AXPosition, AXRoleDescription com.github.wez.wezterm.window.1151 } com.github.wez.wezterm.window.1151 AXProxy: nil com.github.wez.wezterm.window.1151 AXDefaultButton: nil com.github.wez.wezterm.window.1151 AXMinimized: Optional(0) com.github.wez.wezterm.window.1151 AXParent: Optional(<AXUIElement Application 0x60000229b480> {pid=7343}) com.github.wez.wezterm.window.1151 AXTitleUIElement: AXUIElement(windowId=1151, title=nil, role="AXStaticText", subrole=nil) com.github.wez.wezterm.window.1151 AXCancelButton: nil com.github.wez.wezterm.window.1151 AXModal: Optional(0) com.github.wez.wezterm.window.1151 AXZoomButton: AXUIElement { com.github.wez.wezterm.window.1151 AXRole: Optional(AXButton) com.github.wez.wezterm.window.1151 AXTitle: nil com.github.wez.wezterm.window.1151 AXSubrole: Optional(AXFullScreenButton) com.github.wez.wezterm.window.1151 AXEnabled: Optional(1) com.github.wez.wezterm.window.1151 AXParent: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm.window.1151 AXTopLevelUIElement: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm.window.1151 AXWindow: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm.window.1151 Ignored: AXFrame, AXSize, AXFocused, AXChildren, AXHelp, AXPosition, AXRoleDescription com.github.wez.wezterm.window.1151 } com.github.wez.wezterm.window.1151 AXSize: Optional(<AXValue 0x600002292280> {value = w:1280.000000 h:997.000000 type = kAXValueCGSizeType}) com.github.wez.wezterm.window.1151 AXToolbarButton: nil com.github.wez.wezterm.window.1151 Ignored: AXChildrenInNavigationOrder, AXChildren, AXRoleDescription com.github.wez.wezterm AXRole: Optional(AXApplication) com.github.wez.wezterm AXTitle: Optional(WezTerm) com.github.wez.wezterm AXFunctionRowTopLevelElements: [ com.github.wez.wezterm ] com.github.wez.wezterm AXFrame: nil com.github.wez.wezterm AXFocusedUIElement: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm AXFrontmost: Optional(1) com.github.wez.wezterm AXExtrasMenuBar: nil com.github.wez.wezterm AXMainWindow: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm AXFocusedWindow: AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm AXMenuBar: Optional(<AXUIElement 0x600002299f80> {pid=7343}) com.github.wez.wezterm AXWindows: [ com.github.wez.wezterm AXUIElement(windowId=1151, title="[2/2] zsh", role="AXWindow", subrole="AXStandardWindow") com.github.wez.wezterm ] com.github.wez.wezterm AXSize: nil com.github.wez.wezterm AXPosition: nil com.github.wez.wezterm Ignored: AXChildren, AXChildrenInNavigationOrder, AXEnhancedUserInterface, AXPreferredLanguage, AXRoleDescription, AXHidden

com.apple.finder.window.2864 windowId: 2864 com.apple.finder.window.2864 workspace: b com.apple.finder.window.2864 treeNodeParent: AppBundle.TilingContainer com.apple.finder.window.2864 recognizedAsDialog: false com.apple.finder.window.2864 AXTitle: Optional(zamf) com.apple.finder.window.2864 AXRole: Optional(AXWindow) com.apple.finder.window.2864 AXSubrole: Optional(AXStandardWindow) com.apple.finder.window.2864 AXIdentifier: Optional(FinderWindow) com.apple.finder.window.2864 AXFocused: Optional(0) com.apple.finder.window.2864 AXFullScreen: Optional(0) com.apple.finder.window.2864 AXFrame: Optional(<AXValue 0x60000393a500> {value = x:-1279.000000 y:971.000000 w:1280.000000 h:997.000000 type = kAXValueCGRectType}) com.apple.finder.window.2864 AXPosition: Optional(<AXValue 0x60000229ae50> {value = x:-1279.000000 y:971.000000 type = kAXValueCGPointType}) com.apple.finder.window.2864 AXGrowArea: nil com.apple.finder.window.2864 AXMinimizeButton: AXUIElement { com.apple.finder.window.2864 AXRole: Optional(AXButton) com.apple.finder.window.2864 AXTitle: nil com.apple.finder.window.2864 AXSubrole: Optional(AXMinimizeButton) com.apple.finder.window.2864 AXEnabled: Optional(1) com.apple.finder.window.2864 AXParent: AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2864 AXTopLevelUIElement: AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2864 AXWindow: AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2864 Ignored: AXFrame, AXSize, AXFocused, AXHelp, AXPosition, AXRoleDescription com.apple.finder.window.2864 } com.apple.finder.window.2864 AXDocument: nil com.apple.finder.window.2864 AXSections: [ com.apple.finder.window.2864 Optional({ com.apple.finder.window.2864 SectionDescription = Content; com.apple.finder.window.2864 SectionObject = "<AXUIElement 0x6000022982d0> {pid=85861}"; com.apple.finder.window.2864 SectionUniqueID = AXContent; com.apple.finder.window.2864 }), com.apple.finder.window.2864 Optional({ com.apple.finder.window.2864 SectionDescription = Toolbar; com.apple.finder.window.2864 SectionObject = "<AXUIElement 0x60000229b630> {pid=85861}"; com.apple.finder.window.2864 SectionUniqueID = AXToolbar; com.apple.finder.window.2864 }), com.apple.finder.window.2864 Optional({ com.apple.finder.window.2864 SectionDescription = "Top Level Navigator"; com.apple.finder.window.2864 SectionObject = "<AXUIElement 0x600002298180> {pid=85861}"; com.apple.finder.window.2864 SectionUniqueID = AXTopLevelNavigator; com.apple.finder.window.2864 }), com.apple.finder.window.2864 Optional({ com.apple.finder.window.2864 SectionDescription = Search; com.apple.finder.window.2864 SectionObject = "<AXUIElement 0x600002299560> {pid=85861}"; com.apple.finder.window.2864 SectionUniqueID = AXSearch; com.apple.finder.window.2864 }) com.apple.finder.window.2864 ] com.apple.finder.window.2864 AXCloseButton: AXUIElement { com.apple.finder.window.2864 AXRole: Optional(AXButton) com.apple.finder.window.2864 AXTitle: nil com.apple.finder.window.2864 AXSubrole: Optional(AXCloseButton) com.apple.finder.window.2864 AXEnabled: Optional(1) com.apple.finder.window.2864 AXParent: AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2864 AXTopLevelUIElement: AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2864 AXWindow: AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2864 Ignored: AXFrame, AXSize, AXFocused, AXHelp, AXPosition, AXRoleDescription, AXEdited com.apple.finder.window.2864 } com.apple.finder.window.2864 AXMain: Optional(1) com.apple.finder.window.2864 AXActivationPoint: Optional(<AXValue 0x60000229ae50> {value = x:-1269.000000 y:985.000000 type = kAXValueCGPointType}) com.apple.finder.window.2864 AXFullScreenButton: AXUIElement { com.apple.finder.window.2864 AXRole: Optional(AXButton) com.apple.finder.window.2864 AXTitle: nil com.apple.finder.window.2864 AXSubrole: Optional(AXFullScreenButton) com.apple.finder.window.2864 AXEnabled: Optional(1) com.apple.finder.window.2864 AXParent: AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2864 AXTopLevelUIElement: AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2864 AXWindow: AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2864 Ignored: AXFrame, AXSize, AXFocused, AXChildren, AXHelp, AXPosition, AXRoleDescription com.apple.finder.window.2864 } com.apple.finder.window.2864 AXProxy: AXUIElement(windowId=2864, title="Macintosh HD", role="AXImage", subrole=nil) com.apple.finder.window.2864 AXDefaultButton: nil com.apple.finder.window.2864 AXMinimized: Optional(0) com.apple.finder.window.2864 AXParent: Optional(<AXUIElement Application 0x60000229ae50> {pid=85861}) com.apple.finder.window.2864 AXTitleUIElement: AXUIElement(windowId=2864, title=nil, role="AXStaticText", subrole=nil) com.apple.finder.window.2864 AXCancelButton: nil com.apple.finder.window.2864 AXModal: Optional(0) com.apple.finder.window.2864 AXValue: nil com.apple.finder.window.2864 AXZoomButton: AXUIElement { com.apple.finder.window.2864 AXRole: Optional(AXButton) com.apple.finder.window.2864 AXTitle: nil com.apple.finder.window.2864 AXSubrole: Optional(AXFullScreenButton) com.apple.finder.window.2864 AXEnabled: Optional(1) com.apple.finder.window.2864 AXParent: AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2864 AXTopLevelUIElement: AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2864 AXWindow: AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2864 Ignored: AXFrame, AXSize, AXFocused, AXChildren, AXHelp, AXPosition, AXRoleDescription com.apple.finder.window.2864 } com.apple.finder.window.2864 AXSize: Optional(<AXValue 0x60000229ae50> {value = w:1280.000000 h:997.000000 type = kAXValueCGSizeType}) com.apple.finder.window.2864 AXToolbarButton: nil com.apple.finder.window.2864 Ignored: AXChildrenInNavigationOrder, AXChildren, AXRoleDescription com.apple.finder AXRole: Optional(AXApplication) com.apple.finder AXTitle: Optional(Finder) com.apple.finder AXFunctionRowTopLevelElements: [ com.apple.finder ] com.apple.finder AXValue: nil com.apple.finder AXFrame: Optional(<AXValue 0x60000393b0c0> {value = x:0.000000 y:1080.000000 w:0.000000 h:0.000000 type = kAXValueCGRectType}) com.apple.finder AXFocusedUIElement: AXUIElement(windowId=2864, title=nil, role="AXList", subrole=nil) com.apple.finder AXFrontmost: Optional(1) com.apple.finder AXExtrasMenuBar: nil com.apple.finder AXMainWindow: AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder AXFocusedWindow: AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder AXMenuBar: Optional(<AXUIElement 0x600002293660> {pid=85861}) com.apple.finder AXWindows: [ com.apple.finder AXUIElement(windowId=2864, title="zamf", role="AXWindow", subrole="AXStandardWindow"), com.apple.finder Optional(<AXUIElement 0x60000229b630> {pid=85861}) com.apple.finder ] com.apple.finder AXSize: Optional(<AXValue 0x60000229ad00> {value = w:0.000000 h:0.000000 type = kAXValueCGSizeType}) com.apple.finder AXPosition: Optional(<AXValue 0x60000229ad00> {value = x:0.000000 y:1080.000000 type = kAXValueCGPointType}) com.apple.finder Ignored: AXChildren, AXChildrenInNavigationOrder, AXEnhancedUserInterface, AXPreferredLanguage, AXRoleDescription, AXHidden

com.google.Chrome.window.1030 windowId: 1030 com.google.Chrome.window.1030 workspace: b com.google.Chrome.window.1030 treeNodeParent: AppBundle.TilingContainer com.google.Chrome.window.1030 recognizedAsDialog: false com.google.Chrome.window.1030 AXTitle: Optional(New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)) com.google.Chrome.window.1030 AXRole: Optional(AXWindow) com.google.Chrome.window.1030 AXSubrole: Optional(AXStandardWindow) com.google.Chrome.window.1030 AXFocused: Optional(0) com.google.Chrome.window.1030 AXFullScreen: Optional(0) com.google.Chrome.window.1030 AXFrame: Optional(<AXValue 0x600003924500> {value = x:-0.000000 y:25.000000 w:2560.000000 h:997.000000 type = kAXValueCGRectType}) com.google.Chrome.window.1030 AXPosition: Optional(<AXValue 0x6000022149f0> {value = x:-0.000000 y:25.000000 type = kAXValueCGPointType}) com.google.Chrome.window.1030 AXGrowArea: nil com.google.Chrome.window.1030 AXMinimizeButton: AXUIElement { com.google.Chrome.window.1030 AXRole: Optional(AXButton) com.google.Chrome.window.1030 AXTitle: nil com.google.Chrome.window.1030 AXSubrole: Optional(AXMinimizeButton) com.google.Chrome.window.1030 AXEnabled: Optional(1) com.google.Chrome.window.1030 AXParent: AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome.window.1030 AXTopLevelUIElement: AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome.window.1030 AXWindow: AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome.window.1030 Ignored: AXFrame, AXSize, AXFocused, AXHelp, AXPosition, AXRoleDescription com.google.Chrome.window.1030 } com.google.Chrome.window.1030 AXDocument: nil com.google.Chrome.window.1030 AXSections: [ com.google.Chrome.window.1030 Optional({ com.google.Chrome.window.1030 SectionDescription = Content; com.google.Chrome.window.1030 SectionObject = "<AXUIElement 0x60000229b540> {pid=6466}"; com.google.Chrome.window.1030 SectionUniqueID = AXContent; com.google.Chrome.window.1030 }), com.google.Chrome.window.1030 Optional({ com.google.Chrome.window.1030 SectionObject = "<AXUIElement 0x60000229a190> {pid=6466}"; com.google.Chrome.window.1030 SectionUniqueID = AXContainer; com.google.Chrome.window.1030 }) com.google.Chrome.window.1030 ] com.google.Chrome.window.1030 AXCloseButton: AXUIElement { com.google.Chrome.window.1030 AXRole: Optional(AXButton) com.google.Chrome.window.1030 AXTitle: nil com.google.Chrome.window.1030 AXSubrole: Optional(AXCloseButton) com.google.Chrome.window.1030 AXEnabled: Optional(1) com.google.Chrome.window.1030 AXParent: AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome.window.1030 AXTopLevelUIElement: AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome.window.1030 AXWindow: AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome.window.1030 Ignored: AXFrame, AXSize, AXFocused, AXHelp, AXPosition, AXRoleDescription, AXEdited com.google.Chrome.window.1030 } com.google.Chrome.window.1030 AXMain: Optional(1) com.google.Chrome.window.1030 AXActivationPoint: Optional(<AXValue 0x600002292d00> {value = x:-1.000000 y:1081.000000 type = kAXValueCGPointType}) com.google.Chrome.window.1030 AXFullScreenButton: AXUIElement { com.google.Chrome.window.1030 AXRole: Optional(AXButton) com.google.Chrome.window.1030 AXTitle: nil com.google.Chrome.window.1030 AXSubrole: Optional(AXFullScreenButton) com.google.Chrome.window.1030 AXEnabled: Optional(1) com.google.Chrome.window.1030 AXParent: AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome.window.1030 AXTopLevelUIElement: AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome.window.1030 AXWindow: AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome.window.1030 Ignored: AXFrame, AXSize, AXFocused, AXChildren, AXHelp, AXPosition, AXRoleDescription com.google.Chrome.window.1030 } com.google.Chrome.window.1030 AXProxy: nil com.google.Chrome.window.1030 AXDefaultButton: nil com.google.Chrome.window.1030 AXMinimized: Optional(0) com.google.Chrome.window.1030 AXParent: Optional(<AXUIElement Application 0x600002292d00> {pid=6466}) com.google.Chrome.window.1030 AXTitleUIElement: nil com.google.Chrome.window.1030 AXCancelButton: nil com.google.Chrome.window.1030 AXModal: Optional(0) com.google.Chrome.window.1030 AXZoomButton: AXUIElement { com.google.Chrome.window.1030 AXRole: Optional(AXButton) com.google.Chrome.window.1030 AXTitle: nil com.google.Chrome.window.1030 AXSubrole: Optional(AXFullScreenButton) com.google.Chrome.window.1030 AXEnabled: Optional(1) com.google.Chrome.window.1030 AXParent: AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome.window.1030 AXTopLevelUIElement: AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome.window.1030 AXWindow: AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome.window.1030 Ignored: AXFrame, AXSize, AXFocused, AXChildren, AXHelp, AXPosition, AXRoleDescription com.google.Chrome.window.1030 } com.google.Chrome.window.1030 AXSize: Optional(<AXValue 0x600002292d00> {value = w:2560.000000 h:997.000000 type = kAXValueCGSizeType}) com.google.Chrome.window.1030 AXToolbarButton: nil com.google.Chrome.window.1030 Ignored: AXChildrenInNavigationOrder, AXChildren, AXRoleDescription com.google.Chrome AXRole: Optional(AXApplication) com.google.Chrome AXTitle: Optional(Chrome) com.google.Chrome AXFunctionRowTopLevelElements: [ com.google.Chrome ] com.google.Chrome AXFrame: nil com.google.Chrome AXFocusedUIElement: nil com.google.Chrome AXFrontmost: Optional(1) com.google.Chrome AXExtrasMenuBar: nil com.google.Chrome AXMainWindow: AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome AXFocusedWindow: AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome AXMenuBar: Optional(<AXUIElement 0x600002292d00> {pid=6466}) com.google.Chrome AXWindows: [ com.google.Chrome AXUIElement(windowId=1030, title="New Issue · nikitabobko/AeroSpace - Google Chrome - Cristian (Cyberhaven)", role="AXWindow", subrole="AXStandardWindow") com.google.Chrome ] com.google.Chrome AXSize: nil com.google.Chrome AXPosition: nil com.google.Chrome Ignored: AXChildren, AXChildrenInNavigationOrder, AXEnhancedUserInterface, AXPreferredLanguage, AXRoleDescription, AXHidden

com.apple.finder.window.2932 windowId: 2932 com.apple.finder.window.2932 workspace: b com.apple.finder.window.2932 treeNodeParent: AppBundle.TilingContainer com.apple.finder.window.2932 recognizedAsDialog: false com.apple.finder.window.2932 AXTitle: Optional(zamf) com.apple.finder.window.2932 AXRole: Optional(AXWindow) com.apple.finder.window.2932 AXSubrole: Optional(AXStandardWindow) com.apple.finder.window.2932 AXIdentifier: Optional(FinderWindow) com.apple.finder.window.2932 AXFocused: Optional(0) com.apple.finder.window.2932 AXFullScreen: Optional(0) com.apple.finder.window.2932 AXFrame: Optional(<AXValue 0x60000391b3c0> {value = x:1280.000000 y:25.000000 w:1280.000000 h:997.000000 type = kAXValueCGRectType}) com.apple.finder.window.2932 AXPosition: Optional(<AXValue 0x6000022981e0> {value = x:1280.000000 y:25.000000 type = kAXValueCGPointType}) com.apple.finder.window.2932 AXGrowArea: nil com.apple.finder.window.2932 AXMinimizeButton: AXUIElement { com.apple.finder.window.2932 AXRole: Optional(AXButton) com.apple.finder.window.2932 AXTitle: nil com.apple.finder.window.2932 AXSubrole: Optional(AXMinimizeButton) com.apple.finder.window.2932 AXEnabled: Optional(1) com.apple.finder.window.2932 AXParent: AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2932 AXTopLevelUIElement: AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2932 AXWindow: AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2932 Ignored: AXFrame, AXSize, AXFocused, AXHelp, AXPosition, AXRoleDescription com.apple.finder.window.2932 } com.apple.finder.window.2932 AXDocument: nil com.apple.finder.window.2932 AXSections: [ com.apple.finder.window.2932 Optional({ com.apple.finder.window.2932 SectionDescription = Content; com.apple.finder.window.2932 SectionObject = "<AXUIElement 0x600002293a50> {pid=85861}"; com.apple.finder.window.2932 SectionUniqueID = AXContent; com.apple.finder.window.2932 }), com.apple.finder.window.2932 Optional({ com.apple.finder.window.2932 SectionDescription = Toolbar; com.apple.finder.window.2932 SectionObject = "<AXUIElement 0x600002292940> {pid=85861}"; com.apple.finder.window.2932 SectionUniqueID = AXToolbar; com.apple.finder.window.2932 }), com.apple.finder.window.2932 Optional({ com.apple.finder.window.2932 SectionDescription = "Content Navigator"; com.apple.finder.window.2932 SectionObject = "<AXUIElement 0x6000022939c0> {pid=85861}"; com.apple.finder.window.2932 SectionUniqueID = AXContentNavigator; com.apple.finder.window.2932 }), com.apple.finder.window.2932 Optional({ com.apple.finder.window.2932 SectionDescription = Search; com.apple.finder.window.2932 SectionObject = "<AXUIElement 0x6000022912f0> {pid=85861}"; com.apple.finder.window.2932 SectionUniqueID = AXSearch; com.apple.finder.window.2932 }) com.apple.finder.window.2932 ] com.apple.finder.window.2932 AXCloseButton: AXUIElement { com.apple.finder.window.2932 AXRole: Optional(AXButton) com.apple.finder.window.2932 AXTitle: nil com.apple.finder.window.2932 AXSubrole: Optional(AXCloseButton) com.apple.finder.window.2932 AXEnabled: Optional(1) com.apple.finder.window.2932 AXParent: AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2932 AXTopLevelUIElement: AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2932 AXWindow: AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2932 Ignored: AXFrame, AXSize, AXFocused, AXHelp, AXPosition, AXRoleDescription, AXEdited com.apple.finder.window.2932 } com.apple.finder.window.2932 AXMain: Optional(1) com.apple.finder.window.2932 AXActivationPoint: Optional(<AXValue 0x600002293420> {value = x:1290.000000 y:39.000000 type = kAXValueCGPointType}) com.apple.finder.window.2932 AXFullScreenButton: AXUIElement { com.apple.finder.window.2932 AXRole: Optional(AXButton) com.apple.finder.window.2932 AXTitle: nil com.apple.finder.window.2932 AXSubrole: Optional(AXFullScreenButton) com.apple.finder.window.2932 AXEnabled: Optional(1) com.apple.finder.window.2932 AXParent: AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2932 AXTopLevelUIElement: AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2932 AXWindow: AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2932 Ignored: AXFrame, AXSize, AXFocused, AXChildren, AXHelp, AXPosition, AXRoleDescription com.apple.finder.window.2932 } com.apple.finder.window.2932 AXProxy: AXUIElement(windowId=2932, title="Macintosh HD", role="AXImage", subrole=nil) com.apple.finder.window.2932 AXDefaultButton: nil com.apple.finder.window.2932 AXMinimized: Optional(0) com.apple.finder.window.2932 AXParent: Optional(<AXUIElement Application 0x60000229b3f0> {pid=85861}) com.apple.finder.window.2932 AXTitleUIElement: AXUIElement(windowId=2932, title=nil, role="AXStaticText", subrole=nil) com.apple.finder.window.2932 AXCancelButton: nil com.apple.finder.window.2932 AXModal: Optional(0) com.apple.finder.window.2932 AXValue: nil com.apple.finder.window.2932 AXZoomButton: AXUIElement { com.apple.finder.window.2932 AXRole: Optional(AXButton) com.apple.finder.window.2932 AXTitle: nil com.apple.finder.window.2932 AXSubrole: Optional(AXFullScreenButton) com.apple.finder.window.2932 AXEnabled: Optional(1) com.apple.finder.window.2932 AXParent: AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2932 AXTopLevelUIElement: AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2932 AXWindow: AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2932 Ignored: AXFrame, AXSize, AXFocused, AXChildren, AXHelp, AXPosition, AXRoleDescription com.apple.finder.window.2932 } com.apple.finder.window.2932 AXSize: Optional(<AXValue 0x600002293420> {value = w:1280.000000 h:997.000000 type = kAXValueCGSizeType}) com.apple.finder.window.2932 AXToolbarButton: nil com.apple.finder.window.2932 Ignored: AXChildrenInNavigationOrder, AXChildren, AXRoleDescription com.apple.finder AXRole: Optional(AXApplication) com.apple.finder AXTitle: Optional(Finder) com.apple.finder AXFunctionRowTopLevelElements: [ com.apple.finder ] com.apple.finder AXValue: nil com.apple.finder AXFrame: Optional(<AXValue 0x600003928880> {value = x:0.000000 y:1080.000000 w:0.000000 h:0.000000 type = kAXValueCGRectType}) com.apple.finder AXFocusedUIElement: AXUIElement(windowId=2932, title=nil, role="AXList", subrole=nil) com.apple.finder AXFrontmost: Optional(1) com.apple.finder AXExtrasMenuBar: nil com.apple.finder AXMainWindow: AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder AXFocusedWindow: AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder AXMenuBar: Optional(<AXUIElement 0x600002293300> {pid=85861}) com.apple.finder AXWindows: [ com.apple.finder AXUIElement(windowId=2932, title="zamf", role="AXWindow", subrole="AXStandardWindow"), com.apple.finder Optional(<AXUIElement 0x600002290780> {pid=85861}) com.apple.finder ] com.apple.finder AXSize: Optional(<AXValue 0x600002298840> {value = w:0.000000 h:0.000000 type = kAXValueCGSizeType}) com.apple.finder AXPosition: Optional(<AXValue 0x600002298840> {value = x:0.000000 y:1080.000000 type = kAXValueCGPointType}) com.apple.finder Ignored: AXChildren, AXChildrenInNavigationOrder, AXEnhancedUserInterface, AXPreferredLanguage, AXRoleDescription, AXHidden

com.apple.finder.window.2936 windowId: 2936 com.apple.finder.window.2936 workspace: b com.apple.finder.window.2936 treeNodeParent: AppBundle.TilingContainer com.apple.finder.window.2936 recognizedAsDialog: false com.apple.finder.window.2936 AXTitle: Optional(zamf) com.apple.finder.window.2936 AXRole: Optional(AXWindow) com.apple.finder.window.2936 AXSubrole: Optional(AXStandardWindow) com.apple.finder.window.2936 AXIdentifier: Optional(FinderWindow) com.apple.finder.window.2936 AXFocused: Optional(0) com.apple.finder.window.2936 AXFullScreen: Optional(0) com.apple.finder.window.2936 AXFrame: Optional(<AXValue 0x600003938700> {value = x:1280.000000 y:25.000000 w:1280.000000 h:997.000000 type = kAXValueCGRectType}) com.apple.finder.window.2936 AXPosition: Optional(<AXValue 0x600002298d50> {value = x:1280.000000 y:25.000000 type = kAXValueCGPointType}) com.apple.finder.window.2936 AXGrowArea: nil com.apple.finder.window.2936 AXMinimizeButton: AXUIElement { com.apple.finder.window.2936 AXRole: Optional(AXButton) com.apple.finder.window.2936 AXTitle: nil com.apple.finder.window.2936 AXSubrole: Optional(AXMinimizeButton) com.apple.finder.window.2936 AXEnabled: Optional(1) com.apple.finder.window.2936 AXParent: AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2936 AXTopLevelUIElement: AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2936 AXWindow: AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2936 Ignored: AXFrame, AXSize, AXFocused, AXHelp, AXPosition, AXRoleDescription com.apple.finder.window.2936 } com.apple.finder.window.2936 AXDocument: nil com.apple.finder.window.2936 AXSections: [ com.apple.finder.window.2936 Optional({ com.apple.finder.window.2936 SectionDescription = Content; com.apple.finder.window.2936 SectionObject = "<AXUIElement 0x60000229bf60> {pid=85861}"; com.apple.finder.window.2936 SectionUniqueID = AXContent; com.apple.finder.window.2936 }), com.apple.finder.window.2936 Optional({ com.apple.finder.window.2936 SectionDescription = Toolbar; com.apple.finder.window.2936 SectionObject = "<AXUIElement 0x60000229a2b0> {pid=85861}"; com.apple.finder.window.2936 SectionUniqueID = AXToolbar; com.apple.finder.window.2936 }), com.apple.finder.window.2936 Optional({ com.apple.finder.window.2936 SectionDescription = Search; com.apple.finder.window.2936 SectionObject = "<AXUIElement 0x60000229b480> {pid=85861}"; com.apple.finder.window.2936 SectionUniqueID = AXSearch; com.apple.finder.window.2936 }), com.apple.finder.window.2936 Optional({ com.apple.finder.window.2936 SectionDescription = "Content Navigator"; com.apple.finder.window.2936 SectionObject = "<AXUIElement 0x60000229bde0> {pid=85861}"; com.apple.finder.window.2936 SectionUniqueID = AXContentNavigator; com.apple.finder.window.2936 }) com.apple.finder.window.2936 ] com.apple.finder.window.2936 AXCloseButton: AXUIElement { com.apple.finder.window.2936 AXRole: Optional(AXButton) com.apple.finder.window.2936 AXTitle: nil com.apple.finder.window.2936 AXSubrole: Optional(AXCloseButton) com.apple.finder.window.2936 AXEnabled: Optional(1) com.apple.finder.window.2936 AXParent: AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2936 AXTopLevelUIElement: AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2936 AXWindow: AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2936 Ignored: AXFrame, AXSize, AXFocused, AXHelp, AXPosition, AXRoleDescription, AXEdited com.apple.finder.window.2936 } com.apple.finder.window.2936 AXMain: Optional(1) com.apple.finder.window.2936 AXActivationPoint: Optional(<AXValue 0x600002292520> {value = x:1290.000000 y:39.000000 type = kAXValueCGPointType}) com.apple.finder.window.2936 AXFullScreenButton: AXUIElement { com.apple.finder.window.2936 AXRole: Optional(AXButton) com.apple.finder.window.2936 AXTitle: nil com.apple.finder.window.2936 AXSubrole: Optional(AXFullScreenButton) com.apple.finder.window.2936 AXEnabled: Optional(1) com.apple.finder.window.2936 AXParent: AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2936 AXTopLevelUIElement: AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2936 AXWindow: AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2936 Ignored: AXFrame, AXSize, AXFocused, AXChildren, AXHelp, AXPosition, AXRoleDescription com.apple.finder.window.2936 } com.apple.finder.window.2936 AXProxy: AXUIElement(windowId=2936, title="Macintosh HD", role="AXImage", subrole=nil) com.apple.finder.window.2936 AXDefaultButton: nil com.apple.finder.window.2936 AXMinimized: Optional(0) com.apple.finder.window.2936 AXParent: Optional(<AXUIElement Application 0x60000229bde0> {pid=85861}) com.apple.finder.window.2936 AXTitleUIElement: AXUIElement(windowId=2936, title=nil, role="AXStaticText", subrole=nil) com.apple.finder.window.2936 AXCancelButton: nil com.apple.finder.window.2936 AXModal: Optional(0) com.apple.finder.window.2936 AXValue: nil com.apple.finder.window.2936 AXZoomButton: AXUIElement { com.apple.finder.window.2936 AXRole: Optional(AXButton) com.apple.finder.window.2936 AXTitle: nil com.apple.finder.window.2936 AXSubrole: Optional(AXFullScreenButton) com.apple.finder.window.2936 AXEnabled: Optional(1) com.apple.finder.window.2936 AXParent: AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2936 AXTopLevelUIElement: AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2936 AXWindow: AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder.window.2936 Ignored: AXFrame, AXSize, AXFocused, AXChildren, AXHelp, AXPosition, AXRoleDescription com.apple.finder.window.2936 } com.apple.finder.window.2936 AXSize: Optional(<AXValue 0x600002290270> {value = w:1280.000000 h:997.000000 type = kAXValueCGSizeType}) com.apple.finder.window.2936 AXToolbarButton: nil com.apple.finder.window.2936 Ignored: AXChildrenInNavigationOrder, AXChildren, AXRoleDescription com.apple.finder AXRole: Optional(AXApplication) com.apple.finder AXTitle: Optional(Finder) com.apple.finder AXFunctionRowTopLevelElements: [ com.apple.finder ] com.apple.finder AXValue: nil com.apple.finder AXFrame: Optional(<AXValue 0x60000393bcc0> {value = x:0.000000 y:1080.000000 w:0.000000 h:0.000000 type = kAXValueCGRectType}) com.apple.finder AXFocusedUIElement: AXUIElement(windowId=2936, title=nil, role="AXList", subrole=nil) com.apple.finder AXFrontmost: Optional(1) com.apple.finder AXExtrasMenuBar: nil com.apple.finder AXMainWindow: AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder AXFocusedWindow: AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow") com.apple.finder AXMenuBar: Optional(<AXUIElement 0x6000022991a0> {pid=85861}) com.apple.finder AXWindows: [ com.apple.finder AXUIElement(windowId=2936, title="zamf", role="AXWindow", subrole="AXStandardWindow"), com.apple.finder Optional(<AXUIElement 0x60000229bc00> {pid=85861}) com.apple.finder ] com.apple.finder AXSize: Optional(<AXValue 0x6000022991a0> {value = w:0.000000 h:0.000000 type = kAXValueCGSizeType}) com.apple.finder AXPosition: Optional(<AXValue 0x6000022991a0> {value = x:0.000000 y:1080.000000 type = kAXValueCGPointType}) com.apple.finder Ignored: AXChildren, AXChildrenInNavigationOrder, AXEnhancedUserInterface, AXPreferredLanguage, AXRoleDescription, AXHidden

!!! DISCLAIMER !!! !!! 'debug-windows' command is not stable API. Please don't rely on the command existence and output format !!! !!! The only intended use case is to report bugs about incorrect windows handling !!!

Debug session finished

Checklist


aerospace CLI client version: 0.14.2-Beta 0cb8dbdfc5ee73b8cbc200f175f467ebead55201
AeroSpace.app server version: 0.14.2-Beta 0cb8dbdfc5ee73b8cbc200f175f467ebead55201```
jakenvac commented 2 weeks ago

I don't have a fix, but I believe this is because native window tabs in mac os register as separate windows to the accessibility API. It's not ideal, but as an analogue for tabs, you could consider disabling tabs and using an accordion layout within aerospace.

marcofuentes05 commented 1 week ago

I was about to open an issue for this lol I'm experiencing the same issue

Love the product btw :)

zamf commented 1 week ago

Love the product as well. I ended up converting finder to a floating application however, it happens with other apps, such as preview.

SamEdwardes commented 1 week ago

I was just coming to add this issue to GitHub as well. Love using AeroSpace. Somehow not treating native tabs as multiple windows would be a nice fix. Here is a short video showing the current behaviour. Applications that I notice this happens to:

https://github.com/user-attachments/assets/dd845a99-7329-4897-88c2-e4b312e6c866

nikitabobko commented 1 week ago

Duplicate of #68