Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When chromium creates a notification window it gets raised #3701

Open
AlanGriffiths opened this issue Dec 16, 2024 · 0 comments
Open

When chromium creates a notification window it gets raised #3701

AlanGriffiths opened this issue Dec 16, 2024 · 0 comments

Comments

@AlanGriffiths
Copy link
Collaborator

This is when using Miriway 24.11, and there are several parts:

  1. Chromium creates a notification window (why doesn't it use swayync?);
  2. this window gets raised (how? xdg-activation?); and,
  3. Miriway responds to the raise by (potentially) switching workspaces.

I am not sure if this is Mir, or Miriway at fault as I've not traced how the raise request is validated. But Chromium shouldn't be able to use xdg-activation when it doesn't have focus.

To reproduce (in Miriway):

When chromium is about to pop up a notification, switch to any other workspace.

Expect: focus to remain on the active window in the current workspace
Actual: focus moves to Chromium in its workspace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant