Update: This question may have been driven by some bad assumptions. I've closed the loop with an answer. I'll leave the question in place in case anyone else jumps to similar conclusions (or can add any insight).
Most Linux desktop environments include the feature of multiple workspaces. My recollection is that until recently, all or most would "auto-focus". This is what I mean:
Say you have your email client open in workspace 1 and your web browser open in workspace 2. You are in your email client, and a message there contains a web link. The behavior used to be that clicking on the link took you to a view of it. That is, the link was opened in the browser and workspace 1 was automatically switched to workspace 2 to make the web page visible with just the original click on the link.
This behavior recently changed. With most desktop environments, the auto-focus stopped working. Clicking the link would open it in the browser, but the workspace action would be one of these:
- No indication that anything happened, but if you switch to the browser's workspace, the link will be open there.
- The system tray icon for the browser's workspace indicates a change there, like via changing color, but you must manually switch to that workspace to see it.
- The browser gets sucked from its own workspace to the email client's workspace in front of the email client ready to view (then must be manually moved back to its own workspace).
This happened in KDE (my preferred DE), and I thought it was just a distro bug. I tried all of the major KDE distros (including Neon, which is KDE's own distro), and they were all the same. So maybe it was a KDE bug.
I started looking at other DEs to use until KDE got its act together. I don't know about Gnome (I find that impossible to use), but at least Mate, Xfce, LXDE, and LXQT all now also fail at auto-focus (across distros).
Cinnamon is the only major DE I found that still does it "correctly". Budgie works, although that project appears to be all but dead (and Ubuntu Budgie is buggy). Moksha works, but it's only available on Bodhi, and that distro is badly broken.
I'm not a big fan of Cinnamon, so I'm trying to dig deeper to figure out the common denominator. There is a relatively small collection of toolkits that all of these DE features are built from. Since this behavior change is so widespread and happened everywhere at the same time, I'm assuming the issue is with one of those underlying components. If I can identify it, it will make figuring out what will and won't work easier than trial and error, and provide a way to track progress. It also might contribute to getting the issue identified and resolved.
Does anyone know what subsystem is responsible for this workspace auto-focus action?