ianyh / Amethyst

Automatic tiling window manager for macOS à la xmonad.
https://ianyh.com/amethyst/
MIT License
14.76k stars 488 forks source link

Microsoft Teams' Call Box - Can't Float #1210

Open ux-con opened 2 years ago

ux-con commented 2 years ago

Describe the bug Microsoft Teams' Call notification acts like a window after I click and then jumps into the window rotation like a window. Can't find the call box window name to float the incoming call box so that it doesn't disrupt my other windows and participate in the layout until clicked a second time to finally answer the call. Applications: Microsoft Teams and Amethyst To Reproduce Steps to reproduce the behavior: 1) Receive a call in Teams 2) Click the application notification location to answer the call 3) The call box now acts as a window instead of a notification and jumps in the queue with all the other non-floating windows being managed by Amethyst.. 4) Locate the callbox among the windows and answer the call Expected behavior A clear and concise description of what you expected to happen. Ultimately, Microsoft doesn't know how to do notifications on Mac... but this could all be remedied if I knew the window name. I wish I was a Dev and could source this out, but I default to this brilliant community anytime I need assistance!! Ultimately, I need help either finding the name of the window so I can float it properly or Microsoft should fix the apple notifications (the later is never going to happen). Screenshots If applicable, add screenshots to help explain your problem. XX I can get one if needed - but since it requires someone to help me, I don't have one now. Versions:

Debug Info


$ /Applications/Amethyst.app/Contents/MacOS/Amethyst --debug-info
```XX

**Additional context**
Add any other context about the problem here.
ux-con commented 2 years ago

I found a potential work around which I haven't fully tested with the Microsoft Teams Call Box by swapping the floating to automatically float all expect from the listed applications. Hoping that overrides the clarifier for the notifications box.

Also noticed that maybe the Call Box just needs to be added to the "Float small windows" list.

2022-03-02_14-03-03 k

ux-con commented 2 years ago

The above action didn't resolve my issue.

I think the Microsoft callbox just needs to be added to the list of small windows.

Same is to be said for the Microsoft Outlooks reminders window.

Just need to beef up the small windows list for the toggle box.

jakenvac commented 2 years ago

Floating the entire Teams app works fine for me, however like yourself I only really want the notifications and the picture in picture call view to float.

I used the window title restriction of Microsoft Teams Notification and that fixed some of the notifications but not all of them. Some of these "windows" including the picture in picture window have titles that are specific to the call or event. It would be great if we could provide a glob/regex pattern instead of a fixed string.

All of the teams windows that have contextual titles are along the lines of: Microsoft Teams Call in Progress Dev Scrum where Dev Scrum is the meeting name.

EDIT: I've just discovered regex in the window title does actually work. Setting Microsoft Teams Call in progress.* fixed it for the call pop up, too.

Kahn-UX commented 1 year ago

can you share a screenshot of what this looks like on Amethysts end?

jakenvac commented 1 year ago

Sorry I no longer use Amethyst so I can't take any screenshots.

Kahn-UX commented 1 year ago

@jakehl I got it figured out - no worries. Took me a second. Thank you very much for your previous comment <3