yabai icon indicating copy to clipboard operation
yabai copied to clipboard

Outlook/teams notification windows appears on multiple spaces in Yabai queries

Open Holer90 opened this issue 2 years ago • 1 comments

The Microsoft Outlook and Teams notifications window keeps appearing in the Yabai queries despite not being visible. Further it appears in the windows list on multiple spaces.

The window information from yabai -m query --windows

{
	"id":6718,
	"pid":1200,
	"app":"Microsoft Teams",
	"title":"Microsoft Teams Notification",
	"frame":{
		"x":4812.0000,
		"y":25.0000,
		"w":300.0000,
		"h":0.0000
	},
	"role":"AXWindow",
	"subrole":"AXStandardWindow",
	"display":1,
	"space":1,
	"level":3,
	"opacity":1.0000,
	"split-type":"none",
	"stack-index":0,
	"can-move":true,
	"can-resize":false,
	"has-focus":false,
	"has-shadow":true,
	"has-border":false,
	"has-parent-zoom":false,
	"has-fullscreen-zoom":false,
	"is-native-fullscreen":false,
	"is-visible":true,
	"is-minimized":false,
	"is-hidden":false,
	"is-floating":true,
	"is-sticky":true,
	"is-topmost":true,
	"is-grabbed":false
},
{
	"id":179,
	"pid":899,
	"app":"Microsoft Outlook",
	"title":"1 Reminder",
	"frame":{
		"x":1074.0000,
		"y":2018.0000,
		"w":360.0000,
		"h":136.0000
	},
	"role":"AXWindow",
	"subrole":"AXStandardWindow",
	"display":1,
	"space":4,
	"level":3,
	"opacity":1.0000,
	"split-type":"none",
	"stack-index":0,
	"can-move":true,
	"can-resize":true,
	"has-focus":false,
	"has-shadow":true,
	"has-border":false,
	"has-parent-zoom":false,
	"has-fullscreen-zoom":false,
	"is-native-fullscreen":false,
	"is-visible":true,
	"is-minimized":false,
	"is-hidden":false,
	"is-floating":true,
	"is-sticky":true,
	"is-topmost":true,
	"is-grabbed":false
}

The yabai -m query --spaces has the ids 178 and 6718 in multiple spaces (but not in all):

[{
	"id":3,
	"uuid":"861CF027-7A39-494A-A40D-CBA0F330B395",
	"index":1,
	"label":"",
	"type":"bsp",
	"display":1,
	"windows":[179, 6718, 9626, 400, 162],
	"first-window":162,
	"last-window":9626,
	"has-focus":false,
	"is-visible":false,
	"is-native-fullscreen":false
},{
	"id":4,
	"uuid":"18B741B3-5127-4E6D-899A-115DD3B83863",
	"index":2,
	"label":"",
	"type":"bsp",
	"display":1,
	"windows":[179, 6718, 178, 177, 2227],
	"first-window":2227,
	"last-window":177,
	"has-focus":false,
	"is-visible":false,
	"is-native-fullscreen":false
},{
	"id":5,
	"uuid":"C27CB272-AD7F-4D87-ABE2-3BA0E65AFD1F",
	"index":3,
	"label":"",
	"type":"bsp",
	"display":1,
	"windows":[179, 6718, 9844, 9757, 1306],
	"first-window":9757,
	"last-window":1306,
	"has-focus":true,
	"is-visible":true,
	"is-native-fullscreen":false
},{
	"id":6,
	"uuid":"EC3B60DD-B33F-4114-BD1D-27AF6EF35179",
	"index":4,
	"label":"",
	"type":"bsp",
	"display":1,
	"windows":[179, 6718, 7106, 8819, 991],
	"first-window":8819,
	"last-window":991,
	"has-focus":false,
	"is-visible":false,
	"is-native-fullscreen":false
},{
	"id":48,
	"uuid":"781DDA08-8833-4F78-84F5-2E1070AC4A82",
	"index":5,
	"label":"",
	"type":"bsp",
	"display":2,
	"windows":[],
	"first-window":0,
	"last-window":0,
	"has-focus":false,
	"is-visible":true,
	"is-native-fullscreen":false
}]

Neither of these windows still appear visually on screen.

I am using yabai-v4.0.0 on macOS 12.0.1 21A559 arm64.

Holer90 avatar Feb 25 '22 08:02 Holer90

That is an issue with Outlook, nothing yabai can do about it.

koekeishiya avatar Apr 21 '22 14:04 koekeishiya