I'm using Ubuntu 24.04 LTS with Wayland on one of my work machines with the shell extensions (gnome.shell.extensions.FocusedWindow) installed. That used to work great. But is now broken in version v0.3.2.
The cosmic watcher gets selected but fails and Gnome window is never tried:
[2025-08-18 11:46:54.250472 INFO watchers::watchers] Selected watcher: Cosmic Wayland window (cosmic-toplevel-info-unstable-v1)
[2025-08-18 11:46:54.250495 INFO watchers::watchers] Starting active window watcher
[2025-08-18 11:46:54.250776 ERROR watchers::watchers::wl_cosmic_toplevel_management] Wayland thread failed: Required COSMIC toplevel protocols not found
As an hot-fix switching the order of cosmic and gnome works:
#[cfg(feature = "gnome")]
watch!(create_watcher::<gnome_window::WindowWatcher>(
client,
"Gnome window (extension)"
));
watch!(
create_watcher::<wl_cosmic_toplevel_management::WindowWatcher>(
client,
"Cosmic Wayland window (cosmic-toplevel-info-unstable-v1)"
)
);
I'm using Ubuntu 24.04 LTS with Wayland on one of my work machines with the shell extensions (gnome.shell.extensions.FocusedWindow) installed. That used to work great. But is now broken in version v0.3.2.
The cosmic watcher gets selected but fails and Gnome window is never tried:
As an hot-fix switching the order of cosmic and gnome works: