gala icon indicating copy to clipboard operation
gala copied to clipboard

Remove WindowAttentionTracker

Open danirabbit opened this issue 6 months ago • 0 comments

Fixes #2263

We need to make sure this doesn't unfix #2450 before merging See https://github.com/elementary/gala/pull/2448 for additional context

Without the AttentionTracker we need some other mechanism to make sure windows come to the front when requested. See prior art in GNOME Shell here and here

There's a lot of ways folks can request an app to be focused, but at the least we need to check for:

  • [ ] UriLauncher
  • [ ] AppInfo.launch

One possible solution is having apps use DBus Activation, but there's some additional discussion here

We have https://github.com/elementary/switchboard/pull/349 which fixes the issue for Switchboard. I also filed:

  • [ ] https://github.com/elementary/code/issues/1610
  • [x] https://github.com/elementary/appcenter/issues/2300

We need to file issues/make branches for:

  • [ ] Web
  • [ ] File Roller
  • [ ] Fonts
  • [ ] Calendar
  • [ ] Files
  • [ ] Terminal

Also need to check behavior of

  • [ ] Document Viewer
  • [ ] Videos
  • [ ] Notifications

Focusing works already afaict for:

  • [x] Mail mailto links, compose window action, etc

danirabbit avatar Jun 26 '25 19:06 danirabbit