mate-desktop / marco

MATE default window manager
https://mate-desktop.org
GNU General Public License v2.0
199 stars 87 forks source link

Respect activation requests from other desktops #686

Open AdamantGarth opened 3 years ago

AdamantGarth commented 3 years ago

Expected behaviour

When a window requests activation from another desktop, I'd like marco to switch to that desktop (or at least bring the window to the current one). An example of such request is clicking on the Telegram's icon in the system tray. There even was a bug report opened for Telegram to fix this (can't find it right now), and they tried to by making Telegram itself handle repositioning to currently active desktop. However, the commit it got reverted because it broke the behavior of all other window managers, that handle this correctly (Mutter, KWin, Xfwm, i3, at least). They all either switch to the desktop of an application by default (Mutter, KWin) or can be configured to do so (Xfwm, i3). Xfwm, additionaly, can be configured to bring the window to the current desktop, instead of switching to the desktop. I think marco should do something similar to one of those.

Actual behaviour

Nothing happens.

Steps to reproduce the behaviour

  1. Move Telegram to another desktop.
  2. Click on the tray icon (or its notification).

There should be reproducible with any other application that can request activation when on another desktop, but I can't remember any off the top of my head.

MATE general version

1.24.1

Package version

1.24.2

Linux Distribution

Arch Linux.

Link to bugreport of your Distribution (requirement)

Not relevant here.