Do you mean this case? https://searchfox.org/mozilla-central/rev/381c3f18a1896792e23a Do I read it right that this is when the window gets active again? We could introduce an offset there too. I would argue we would increase friction here even more: If a user sees a notification in an inactive window and then directly wants to handle it. I'll attach a video to show what I mean.
Bug 1863863 Comment 6 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Do you mean this case? https://searchfox.org/mozilla-central/rev/381c3f18a1896792e23a9503c1904aedac19aa06/toolkit/modules/PopupNotifications.sys.mjs#801 Do I read it right that this is when the window gets active again? We could introduce an offset there too. I would argue we would increase friction here even more: If a user sees a notification in an inactive window and then directly wants to handle it. I'll attach a video to show what I mean.